Repository navigation
Website overhaul, phase 1: Astro site with the dwm desktop - #15
Merged
Merged
Conversation
Htaccess fix and merge changes
SUPER IMPORTANT CHANGE (not)
changed projects styling and added cicero tokenizer
Merge pull request #5 from NN0X/htaccess-fix
important cicero fix
Records the agreed stack, hosting and design decisions for the v2 site and checks in the clickable prototype plus the script that pulled its repo data. Both are replaced by the real Astro build in phase 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nq9YrSAj91fqZFLCbH3CUM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nq9YrSAj91fqZFLCbH3CUM
The PHP/HTML site lives on in master's history (and on the legacy branch once created). The new project builds static files for Apache on the Pi: Astro 7 with TypeScript, ESLint enforcing the house style (Allman braces, 8-space indents), Vitest, the logo assets and an .htaccess that redirects the old /html/... URLs and keeps the easter-egg routes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nq9YrSAj91fqZFLCbH3CUM
scripts/fetch-repos.mjs lists public repos via the GitHub API (or a given list), reads each with a blob-less bare clone and records monthly activity, recent commits, the top-level tree and a code excerpt per featured project. The featured projects are configured in src/data/projects.json and described in Markdown, one file per language. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nq9YrSAj91fqZFLCbH3CUM
Home, all repositories, a page per repository and a 404 page, with hreflang alternates. They are complete without JavaScript and are what search engines index; the desktop loads over them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nq9YrSAj91fqZFLCbH3CUM
Window manager with per-tag layouts, bar (Kraków time and Open-Meteo weather, [us]/[pl] language switch), dmenu, dunst notifications, and the zsh, htop, nvim and Firefox windows from the approved mockup. Project URLs open the project in nvim and the address bar follows what is open. If the desktop fails to start the plain page stays visible, and visitors can switch between the two. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nq9YrSAj91fqZFLCbH3CUM
Unit tests for the shared helpers and the shell's filesystem, a CI workflow running lint, type check, tests and build, a README for the new project and the phase plan in the decision record. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nq9YrSAj91fqZFLCbH3CUM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 1 of the overhaul agreed in
docs/overhaul/DECISIONS.md. It replaces the PHP/HTML site with an Astro project that builds static files for Apache on the Pi.What's in it
/…and/pl/…): home, all repositories, one page per public repo (34), and a 404 page. They work without JavaScript and carry hreflang links for search engines.[us]/[pl]language switch, and Kraków time and weather.npm run data): activity, recent commits, file trees and code excerpts come straight from the repos. The only hand-written content is the project write-ups (src/content/projects/{en,pl}/*.md)./html/projects,/html/proj/brutus,/html/proj/cicero, and/html/proj/f1ratingsfrom the F1Ratings README). The old easter-egg routes are kept.Not in this phase
f1ratingsopens the write-up; the tables arrive in phase 3.npm run datawith API access (for example in CI) fills in the real values.Checks
npm run verify: lint,astro check(0 errors), 12 unit tests and a 73-page build all pass.Before merging
devintomasterThe old site is only preserved in
master's history. Please create thelegacybranch first (git push origin master:legacy); this session can't create branches.🤖 Generated with Claude Code
https://claude.ai/code/session_01Nq9YrSAj91fqZFLCbH3CUM
Generated by Claude Code