The landing page at andy23512.github.io — a catalog of Tangent's unofficial CharaChorder web tools, apps, and browser extensions.
Some of the projects are named after stars (Alnitak, Alnilam, Chara, Castor, Sirius). The page renders an interactive 3D celestial sphere: hovering or focusing one of those projects spins the sphere to that star and lights it up.
- Projects live in the
pagesarray insrc/data/projects.ts. Each card has abadgeslist; the filter pills at the top of the card list are driven bybadgeOrderinsrc/pages/index.astro, which also sets the pill order. A search box filters cards by title and description. - Cards are grouped by their primary badge (the earliest one in
badgeOrder, with the kind badgesappandextensiontaking priority), then sorted alphabetically by title at render time. - Badges are of four sorts: topic (
Practice,Statistics,Docs,Specs,Editor,Fun), audience (Beginner,Pre-purchase), input method (Character Entry,Chorded Entry), and kind (app,extension). Audience and input-method badges are placed after the topic badges inbadgeOrderon purpose, so they work as filters without changing which group a card sits in. - A card is either a single link (the whole card is clickable) or a
multi-destination card that renders its
linksas buttons (e.g. an extension on Chrome + Firefox, or an app on Download + GitHub). - To tie a project to a star, give its card a
star: '<key>'that matches a star'skeyinsrc/data/stars.ts. That renders a ✦ marker and makes the sphere focus that star on hover/focus. src/components/CelestialSphere.astrodraws and animates the sphere;src/components/StarfieldBackdrop.astropaints the static starfield behind the cards that each card reveals on hover. Both honorprefers-reduced-motion.
/
├── public/ # static assets served as-is (favicons, robots.txt, sitemap)
├── src
│ ├── components
│ │ ├── CelestialSphere.astro # the rotating, star-lighting sphere
│ │ └── StarfieldBackdrop.astro
│ ├── data
│ │ └── stars.ts # star catalog + constellation lines + starByKey
│ ├── layouts
│ │ └── Layout.astro
│ ├── pages
│ │ └── index.astro # the project catalog and page markup
│ └── styles
│ └── global.css
└── astro.config.mjs
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build the production site to ./dist/ |
npm run preview |
Preview the build locally, before deploying |
Built with Astro and Tailwind CSS.
Requires Node >=22.12.0.
Pushing to main triggers .github/workflows/deploy.yml,
which builds the site and deploys it to GitHub Pages.
MIT © Tangent Chang