BartoszJarocki/jarocki.me
Über uns
🚀 Personal website / blog / portfolio built using TypeScript, Next.js, Tailwind CSS and Notion API
Web- und App-EntwicklungGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- +1
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Originaljarocki.me
Personal site of Bartosz Jarocki. MDX notes, monochrome, light and dark following the system, type-driven, set in lowercase. A toy embedding space drifts behind the top of every page, and the ai series notes run their demos in the browser, down to training a tiny GPT.
This site is maintained by AI. Claude Code writes the changes and ships them through pull requests.
Read it without a browser
curl https://jarocki.meprints any page as an 80-column text page. curl, HTTPie, and xh get it at every page's URL.- An agent that sends
Accept: text/markdowngets each page as markdown. Adding.mdto a path, as inhttps://jarocki.me/notes/time.md, or/index.mdfor the home page, gets the same markdown with any headers. https://jarocki.me/llms.txtlists every note and page with its markdown link.
DESIGN.md describes both formats, under Text mode and Markdown mode.
Stack
Next.js (Pages Router) · Tailwind · MDX · three.js · Geist Sans/Mono/Pixel · Vercel.
Develop
Requires Node 22.18 or newer, which runs the TypeScript tests and scripts directly, and pnpm.
# create .env.local with NEXT_PUBLIC_URL
# optional: GITHUB_TOKEN, a classic personal access token with repo scope,
# adds the merged PR and lines added stats to the GitHub skyline
pnpm install
pnpm dev
pnpm test, pnpm typecheck, and pnpm lint check the code. pnpm build builds the site and checks that the font subsets hold every character it uses.
Write a note
Add
src/notes/<slug>.mdx. The file name becomes the URL,/notes/<slug>.Start the file with frontmatter. These four fields are required, and
publishedAtis aYYYY-MM-DDdate.--- title: "How to write code?" description: "Different stages of company require different thinking" publishedAt: 2024-02-16 tags: ["leadership", "dev"] ---Two optional fields exist.
draft: truekeeps the note out of production, while previews still show it.series: aiwith apartfrom 1 to 4 adds the note to the ai series. Any other field fails the build.Write the body in Markdown. A note can also use the demos in
src/components/demos/and theGlossaryandTermcomponents. A demo needs alabeland a description, as in<TaxiFares label="…">description</TaxiFares>, or the build fails.DESIGN.mdcovers demos under Demos.To add a photo, put it in
public/images/notes/<slug>/and reference it as. The build reads its width and height from the file.Run
pnpm build. A missing frontmatter field or a missing image fails the build and names the note. So does a character that the font subsets lack, such as€. The error says how to add it.
Layout
src/pages/ Routes (Pages Router), and API routes for the text, markdown, llms.txt, RSS, and
share images
src/middleware.ts Sends curl and markdown requests to the text and markdown routes
src/components/ PageShell, Index (rows), Cased, Clock, CodeBlock, ContributionSkyline,
ContributionBars, EmbeddingsBackdrop, Glossary, NoteContent, JsonLd
src/components/demos/ The demos a note can use, one shell each
src/data/ bio, work, projects, books, links
src/lib/ notes (reads and compiles the MDX notes), githubActivity (GitHub contributions
and merged PRs), activityStats (skyline stats), skylineScene and embeddingsScene
(three.js scenes), textPage, textPages, and textNote (the pages as text blocks),
markdownPage (the blocks as markdown)
src/lib/demos/ The scenes and data behind each demo
src/lib/ml/ The small models behind the demos, from bigram counts and an MLP to a tiny GPT
src/notes/ The notes, one MDX file each
src/fonts/ Subsets of the Geist fonts, written by pnpm subset-fonts
src/images/travel Photos for /about
src/styles/ Color tokens, row and prose styles
public/images/notes Photos for the notes, one folder per note
public/data The names and Shakespeare texts the demos learn from
public/models The saved tiny GPT, written by pnpm train
scripts/fonts.mjs Writes the font subsets, and checks after each build that they hold every
character the site uses
scripts/icons.mjs Draws the favicon and the home screen icon from the Geist Pixel Square glyphs
scripts/train.mjs Trains the tiny GPT offline and writes its checkpoint to public/models
scripts/ measure-note-data checks each built note's page data size. verify-snippets and
verify-snippet-demos click through the runnable examples and demos in a browser
License
MIT.
Ähnliche Projekte entdecken
Wird geladen…