mirror of
https://github.com/SoPat712/my-portfolio.git
synced 2026-11-27 13:57:38 -05:00
main
Josh Patra's portfolio
A portfolio run as a Linux desktop with a tiling window manager. It boots, shows a fetch of the machine it is running on (your browser) at the login screen, logs in as guest, and opens on five workspaces: home, projects, experience, education and contact. Each window is a small app that holds one kind of content.
- Mouse first, keyboard if you like. Everything works by clicking, and on phones the windows stack in one column. Ctrl-h/j/k/l move between windows (Alt-h/j/k/l on Windows and Linux). With Vim keys on,
h j k lmove between the links, rows and fields inside a window and Enter opens one,<Space>opens a leader menu,fshows link hints and:opens a command line.?lists every key. - A working terminal.
ls,cat,grep,tree,man,ps,kill,git log,neofetchand more, all reading the same content as the windows. - A launcher.
/or ⌘K (Ctrl-K on Windows and Linux) fuzzy-finds workspaces, projects, links, windows, colorschemes and layouts. With Vim keys on it is modal, like telescope.nvim: Esc stops typing,j kmove anditypes again. - Three layouts and three colorschemes. Tile, monocle and float; oxide, paper and sodium.
- Fast. Every project, job and course is in the prerendered HTML. The boot screen is CSS, so it starts with the first paint while the app loads behind it.
Development
npm install
npm run dev # http://localhost:5173
npm run check # types and Svelte diagnostics
npm run build # static site in build/
npm run preview # serve the build
Where things are
src/lib/content.ts: the content. Profile, projects, experience, skills, courses and achievements all live here, and every window, the terminal and the launcher read from it.src/lib/desktop/: the desktop.Desktop.svelteis the markup andengine.tsthe window manager; see DESIGN.md for the full map.docs/decisions.md: why things are the way they are, and how to undo each choice.
The site is built with SvelteKit and adapter-static and deployed on Netlify. Fragment Mono and Martian Mono are included under the SIL Open Font License (src/lib/fonts).
Languages
TypeScript
67%
CSS
18.1%
Svelte
13.5%
HTML
0.8%
JavaScript
0.6%
