Source code for the ByteLand Technology website. The site showcases our open-source work under ByteLandTechnology and hosts the ByteLog blog.
The site shows these projects on the home page, each with its own showcase page at /opensource/<id>:
- Layout Engine: taffy-layout
- Tinky Framework: tinky and its
tinky-*packages - Ink Components: ink-scroll-view, ink-scroll-list, ink-scroll-bar, ink-multiline-input, ink-canvas
- Reverse Engineering: ghidra-bridge, headless-ghidra
To add a project:
- Add an entry to
projectsinsrc/config/projects.ts. - Add its page content (headline, highlights, quick-start code) to
src/config/project-pages.ts. - Add an animated glyph to
PROJECT_GLYPHSinsrc/components/art/glyphs.tsx.
The page, the sitemap entry and the project's video are generated from these.
Posts are Markdown files in public/posts/<YYYY-MM>/. Pushing to main deploys the site.
-
Create a post in
public/posts/<YYYY-MM>/<slug>.md(e.g.public/posts/2026-10/hello-byteland.md), and optionally an asset folder next to it (public/posts/<YYYY-MM>/<slug>/). You can create the file locally or in GitHub's web editor. -
Write the post. Put images in the asset folder and reference them relatively, e.g.
. -
Publish: set
draft: falseand push or merge tomain.
Frontmatter:
| Field | Required | Notes |
|---|---|---|
title |
yes | |
date |
yes | YYYY-MM-DD. A future date schedules the post. |
description |
no | Shown on cards and used as the meta description. |
tags |
no | Used for the blog filter. |
author |
no | Defaults to "The ByteLand Team". |
image |
no | Cover image. Without one, a gradient cover is generated. |
draft |
no | true keeps the post out of the site and the sitemap. |
Scheduling: the deploy workflow also runs every day at 01:17 UTC. A post whose date is in the future stays hidden until the first daily build on or after that date. No extra step is needed.
The looping videos on the site are made with Remotion from the sources in video/: one for the home hero and one per project. They reuse the site's own SVG animations (src/components/art), paused and seeked frame by frame, plus the project name and highlights from src/config. Only the source is committed. CI renders public/videos/*.webm and *.mp4 before building and caches them until video/ or the shared sources change.
npm ci --prefix video
npm run studio --prefix video # preview and edit in Remotion Studio
npm run render --prefix video # render into public/videos/Every SMIL animation in src/components/art uses a duration that divides 8 seconds, so the 8-second videos loop seamlessly. Keep that rule when adding art.
Without rendered files the site shows the SVG animation instead, so local development works without rendering. Remotion is free for individuals and companies of up to 3 people. Larger companies need a company license.
This website is built using:
- Framework: Next.js
- Styling: Tailwind CSS
- Animations: Framer Motion
- Icons: React Icons
- Deployment: GitHub Pages (static export)
useMotionPolicy follows the system preference live and defaults to still,
visible content during server rendering and hydration. Reduced motion uses
immediate state changes, including filters, menus, scrolling, SVG art and video.
Use the shared presets in src/lib/motion.ts for new interactions and Reveal
for once-only viewport entrances; already-visible server content does not replay
an entrance on hydration. Route snapshots own page entrances while active.
Home and blog filters share useStableFilter: results shrink naturally while
the controls retain their viewport position. A trailing spacer supplies only
the height needed when the document would otherwise become too short to retain
the scroll position. Do not animate the result container's height or add an exit
queue before updating the selected results.
In ordinary motion mode, the chip background glides without a dot or bounce.
FilterCardMotion keeps retained cards opaque and animates nearby position
changes for 240ms; large jumps settle immediately. Only newly added cards fade
from 65% opacity over 180ms, without scale, rise, stagger, or an exit queue.
Rapid selections interrupt movement, and reduced motion cancels it immediately.
Run npm run build followed by npm run test:e2e for the browser regression
suite. See the browser test guide for fixtures, performance
measurements and browser installation. Remotion's Seek wrapper opts shared SVG
art into manual animation control so browser visibility policies do not affect
frame exports.
-
Clone the repository
git clone https://github.com/ByteLandTechnology/byteland.app.git cd byteland.app -
Install dependencies
npm install # or yarn install # or pnpm install
-
Run the development server
npm run dev
-
Open in browser Navigate to http://localhost:3000 to see the application running.
This project is licensed under the CC BY-NC-SA 4.0 License.
© ByteLand Technology Limited. All rights reserved.