{"id":48237515,"url":"https://github.com/fezcode/fezcode.github.io","last_synced_at":"2026-04-04T20:07:57.587Z","repository":{"id":318867825,"uuid":"1076530966","full_name":"fezcode/fezcode.github.io","owner":"fezcode","description":"A brutally interactive developer portfolio and project showcase. Features a 3D knowledge graph, dynamic visual themes, and a suite of built-in mini-apps, serving as a digital garden for my code and creativity.","archived":false,"fork":false,"pushed_at":"2026-03-28T22:01:29.000Z","size":277951,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-29T00:51:29.739Z","etag":null,"topics":["apps","blogpost","canvas","canvas2d","frontend","javascript","piml","portfolio","portfolio-project","portfolio-site","portfolio-website","react","reactjs","website"],"latest_commit_sha":null,"homepage":"https://fezcode.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fezcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-15T01:59:39.000Z","updated_at":"2026-03-28T21:52:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"e646eed5-9a0f-451d-b72e-1042baf5ec95","html_url":"https://github.com/fezcode/fezcode.github.io","commit_stats":null,"previous_names":["fezcode/fezcode.github.io"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fezcode/fezcode.github.io","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fezcode%2Ffezcode.github.io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fezcode%2Ffezcode.github.io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fezcode%2Ffezcode.github.io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fezcode%2Ffezcode.github.io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fezcode","download_url":"https://codeload.github.com/fezcode/fezcode.github.io/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fezcode%2Ffezcode.github.io/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31411908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T19:29:44.979Z","status":"ssl_error","status_checked_at":"2026-04-04T19:29:11.535Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apps","blogpost","canvas","canvas2d","frontend","javascript","piml","portfolio","portfolio-project","portfolio-site","portfolio-website","react","reactjs","website"],"created_at":"2026-04-04T20:07:56.874Z","updated_at":"2026-04-04T20:07:57.580Z","avatar_url":"https://github.com/fezcode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fezcodex\n\n![Fezcodex Card](public/images/fezcodex-card.png)\n\n### What is this?\nImagine you have a giant digital toy box. Inside, you keep the cool things you've built, the stories you've written, and a diary of all the interesting things you've learned. Fezcodex is that toy box. It is a special website that works like a personal museum on the internet. It is not just a boring page; it has moving parts, secret \"Easter eggs,\" and little mini-apps like a sound mixer and a knowledge graph.\n\n---\n\n## Key Features\n- **Digital Garden**: A space where blog posts and \"logs\" (mini-diaries about books, movies, or games) grow.\n- **Knowledge Graph**: A 3D interactive visualization of how all content on the site is interconnected.\n- **Project Archives**: A showcase of all the coding experiments and software I've built.\n- **Mini-Apps**: Built-in tools like an Atmosphere Mixer, Cloud Music Player, Typing Tester, and a digital Rotary Phone.\n- **Visual Magic**: Change how the whole site looks using the \"Visual Matrix\"—make it look like an old computer (CRT), a blueprint, or even a comic book.\n- **Achievements**: Just like a video game, you get little trophies for exploring the site and finding hidden things.\n\n---\n\n## Tech Stack (The Lego Bricks)\n- **Frontend**: React 19, Tailwind CSS, and Framer Motion for smooth animations.\n- **3D \u0026 Graphics**: Three.js and react-force-graph-3d for the knowledge graph.\n- **Content**: Markdown and **PIML** (Plain Old Markup Language) for structured content.\n- **Build Tools**: Craco (CRA Configuration Override) for custom build pipelines.\n- **Persistence**: Local Storage for settings, achievements, and persistent state.\n- **AI Tooling**: **Model Context Protocol (MCP)** server for automated content management.\n\n---\n\n## Model Context Protocol (MCP)\nFezcodex includes a custom MCP server to assist AI agents (like Gemini) in managing content.\n\n### Tools Provided:\n- `create_blog_post`: Automates the creation of blog posts, including file generation, metadata registry updates, and RSS/Sitemap regeneration.\n\n### Integration with Gemini CLI:\nTo use this server with your Gemini CLI, run:\n```bash\ngemini mcp add fezcodex-blog-writer --command \"node scripts/mcp-server/index.mjs\"\n# or\ngemini mcp add --scope project fezcodex npm run mcp\n```\nOnce added, the AI can create blog posts directly through its toolset.\n\n## Project Structure\n- `src/app/`: Domain logic, core features, and views (Achievements, OS, Command Palette, etc.).\n- `src/components/`: Reusable UI components (Buttons, Modals, Cards).\n- `src/context/`: Global state management (Visual Settings, Toast, Animation).\n- `public/`: The \"pantry\" where all actual content (PIML files, text, images, sounds) is stored.\n- `scripts/`: Helper programs for generating RSS, sitemaps, and wallpapers.\n\n---\n\n## Technical Setup\n\n### Prerequisites\nMake sure you have Node.js installed on your computer.\n\n### 1. Get the code\n```bash\ngit clone https://github.com/fezcode/fezcode.github.io.git\ncd fezcode.github.io\n```\n\n### 2. Install the tools\n```bash\nnpm install\n```\n\n### 3. Start the engine\n```bash\nnpm start\n```\nThis will open the site at http://localhost:3000.\n\n---\n\n## Routing and SEO\nThis project uses `BrowserRouter` for clean URLs. To support this on static hosts like GitHub Pages, we use `react-snap` to pre-render routes into static HTML files during the build process.\n\n### Deployment\nThe standard `npm run deploy` command handles the build, pre-rendering, and deployment to GitHub Pages automatically.\n```bash\nnpm run deploy\n```\n\n### Content Syncing\nStories are managed via git subtrees. Because subtree remotes are not tracked by git, you must initialize the remote once after cloning:\n- `npm run init-stories`: Initialize the stories remote URL (only needed once).\n- `npm run pull-stories`: Sync stories from the remote repository.\n- `npm run push-stories`: Push local story changes to the remote repository.\n\n---\n\n## Rules of the House\n- **Contributing:** Please read our [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on commit messages and content updates.\n- **Styling**: We use Tailwind. Keep it **Brutalist** yet polished.\n- **Components**: Always use `CustomDropdown`, `BrutalistDialog`, and `CustomSlider` for UI consistency.\n- **Icons**: We use `@phosphor-icons/react`. Always use the ones ending in `Icon` (e.g., `CpuIcon`).\n- **Logic**: Use Context for global settings like Visual Effects and Achievements.\n\n---\n\n## Developer Guide: How to Update Things\n\nIf you are modifying or expanding the functionality of Fezcodex, follow these specific architectural patterns:\n\n### 1. Adding or Updating Commands\nCommands are used in the **Commands Page** and the **Command Palette**. To update them, you must touch three places:\n- **`src/data/commands.js`**: Update the UI data (title, description, icon color) for the `/commands` page.\n- **`src/hooks/useCommandRegistry.js`**: Implement the actual logic/handler for what the command does.\n- **`src/hooks/useSearchableData.js`**: Update the `customCommands` list so the Command Palette (`Ctrl + K`) can \"find\" the command.\n\n### 2. Updating Search Data\nThe site-wide search (Command Palette and Search bar) is powered by a unified registry:\n- **Automatic:** Blog posts, Projects, and Logs are automatically indexed from their respective `.json` and `.piml` files in the `public/` directory.\n- **Manual:** Static pages and custom commands must be manually added to the `staticRoutes` or `customCommands` lists in `src/hooks/useSearchableData.js`.\n\n### 3. Modifying Visual Themes (Brutalist vs. Luxe)\nEvery core component should be **Theme-Aware**:\n- **Switcher Components:** Components like `CommandPalette.jsx`, `SidePanel.jsx`, and `GenericModal.jsx` act as controllers. They detect `fezcodexTheme` and render either a `BrutalistX` or `LuxeX` variant.\n- **Universal Styles:** Prefer the `variant=\"brutalist\"` or `variant=\"paper\"` props for shared components like `CustomDropdown` to maintain consistency.\n\n### 4. Global State \u0026 Persistence\n- Use `VisualSettingsContext.jsx` for any UI state that needs to survive a page refresh (Invert mode, Theme selection, etc.).\n- Use `usePersistentState` hook to automatically sync your context variables with `localStorage`.\n\n### 5. AI-Assisted Content Creation (MCP)\nIf you are using an AI agent with MCP support:\n- **Blog Posts:** Use the `create_blog_post` tool provided by the local MCP server. It handles file creation, metadata indexing, and build script execution in one step.\n- **Verification:** Always run `npm run lint` after AI-generated changes to ensure style compliance.\n\n---\n\n## Github Pages Configuration\n\n1. Deploy from a branch.\n2. Select the `gh-pages` branch\n3. Add `fezcode.com` as the custom domain.\n\n---\n\nCreated by [Ahmed Samil Bulbul](https://fezcode.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffezcode%2Ffezcode.github.io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffezcode%2Ffezcode.github.io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffezcode%2Ffezcode.github.io/lists"}