Skip to content

Latest commit

Β 

History

History
51 lines (39 loc) Β· 1.76 KB

File metadata and controls

51 lines (39 loc) Β· 1.76 KB

evilpasture.github.io

My personal portfolio and technical log. Built with a focus on performance, minimal dependencies, and hardware-sympathetic design.

πŸš€ Technical Overview

  • Frontend: Pure HTML5, CSS3 (with CSS Variables for Dark Mode).
  • Typography: JetBrains Mono Nerd Font (Self-hosted).
  • Data:
    • Real-time GitHub statistics and PR tracking via GitHub REST API.
    • Custom JavaScript caching layer (localStorage) with 1-hour TTL to respect rate limits.
  • Logs/Blog:
    • Dynamic client-side Markdown rendering using Marked.js.
    • Technical syntax highlighting for C++, C, and Python via Prism.js.

πŸ“‚ Project Structure

β”œβ”€β”€ index.html          # Main landing page
β”œβ”€β”€ log-viewer.html     # Dynamic Markdown renderer shell
β”œβ”€β”€ style.css           # Global styles & layout
β”œβ”€β”€ script.js           # GitHub API logic & UI interactions
β”œβ”€β”€ data.json           # GitHub API data
β”œβ”€β”€ log_style.css       # Custom CSS for Markdown rendering
β”œβ”€β”€ load_markdown.js    # Markdown rendering logic
β”œβ”€β”€ logs/               # Technical blog posts (.md)
β”œβ”€β”€ fonts/              # Self-hosted JetBrains Mono NF
β”œβ”€β”€ res/                # Image assets
└── LICENSE             # MIT License

πŸ› οΈ Local Development

To run the site locally and test the Markdown fetching/API logic:

  1. Clone the repository:

    git clone https://github.com/Evilpasture/evilpasture.github.io.git
    cd evilpasture.github.io
  2. Start a local server (to avoid CORS issues with local files):

    python -m http.server 8000
  3. Visit http://localhost:8000 in your browser.

βš–οΈ License

Distributed under the MIT License. See LICENSE for more information.