Skip to content

446564/446564.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0xded.dev

Terminal / cyberpunk personal portfolio, built with Eleventy. Neon purple primary, electric-blue accent. Dark / medium / light themes (persisted), typed hero tagline, hover-reveal project cards, and an interactive shell with a mail command that composes an email to you.

Quick start

npm install
npm run dev      # local dev server with live reload → http://localhost:8080
npm run build    # production build → ./_site

Editing content — everything lives in src/_data/

No template surgery needed for routine changes:

File What it controls
site.json handle, name, email (used by the mail command), location, hex signature, GitHub id, default theme, taglines, bio, and the support / buy-me-a-coffee block
social.json the social link cards (service, url, handle, icon). icon is one of github, mastodon, forge, pin
projects.json the project cards (name, lang, hex codes, description, tags, meta, url)
stack.json the stack chips (plain array of strings)
neofetch.json the neofetch ASCII art (art: array of lines — swap in your own skull) and the net: line

Common edits

  • Change the contact email: site.jsonemail. It feeds both the shell mail command and the mailto: link, and is injected into the page as JSON for the client script.
  • Change the coffee link / hide the section: site.jsonsupport.url, or set support.enabled to false.
  • Default theme: site.jsondefaultTheme (dark | medium | light). Visitors' choices override this via localStorage.
  • Add a project: append an object to projects.json. Pick two hex codes — hexShort shows in the card's title bar, hexFull is revealed on hover.
  • Swap the neofetch skull: edit neofetch.jsonart (one string per line). The info column (host / net / stack / id) re-aligns automatically to whatever art you paste in.
  • Add a social icon: add a <svg> branch to the icon() macro in src/_includes/icons.njk, then reference its name in social.json.

Structure

eleventy.config.js          Eleventy config (input: src, output: _site)
src/
  index.njk                 the page (loops over _data)
  _data/                    site.json, social.json, projects.json, stack.json, neofetch.json
  _includes/
    base.njk                <head>, fonts, no-flash theme restore, script include
    icons.njk               inline SVG icon macro
  assets/
    style.css               themes + components + responsive (all here, no build step)
    app.js                  theme cycle, hero typing, tagline switcher, shell + mail
    skull.png               hero mascot

Deploy

The build output is plain static HTML/CSS/JS in _site/ — host it anywhere.

  • Netlify: connect the repo; netlify.toml is already set (npm run build → publish _site).
  • Cloudflare Pages / Vercel: build command npm run build, output directory _site.
  • GitHub Pages: run npm run build and publish _site/ (e.g. via an action).

Point your 0xded.dev DNS at the host and you're live.

Notes

  • Fonts load from Google Fonts (JetBrains Mono). To self-host, drop the woff2 files in src/assets/ and swap the <link> in base.njk for an @font-face block in style.css.
  • No client framework, no CSS build step — just Eleventy turning data + templates into static files.

About

0xded portfolio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors