What it is
DevSharpe.io is my corner of the internet: a portfolio, a place to write, and a home for my photography. It started in 2021 as a way to show my work, help other developers, and experiment with new designs and packages, and it's still all three.
What's on the site
- Musings: posts on whatever's on my mind, tagged by topic, with an RSS feed.
- Projects: the things I'm building, each with an optional write-up like this one.
- Photography: collections of photos with short write-ups, and a page for every photo.
- Gear: the hardware, software, and cameras I use every day. Each camera links to the photos taken with it.
- Employment: my work and volunteer history, with my résumé as a PDF or as Markdown generated from that same history.
- Links: a link-in-bio page.
- Contact: a way to reach me, protected by Cloudflare Turnstile.
Pages have breadcrumbs back to their section, and each one has its own preview when it's shared: a photo where it has one, or else a card drawn from its breadcrumbs.
Behind the scenes
Instead of a CMS, everything here is written and managed from an admin dashboard I built alongside the site.
- Writing: a rich-text editor for posts, project pages, collection write-ups, and my biography. Drafts are saved separately from what's published, so changes stay private until I publish them. The biography keeps every version, so an older one can be restored.
- Media: images upload straight from the browser to storage, get alt text, captions, locations, tags, and cameras, and are resized and cropped on the fly. Before an image is deleted, the library shows everywhere it's used.
- Ordering: work history, projects, gear, and links are drag-to-reorder lists.
- Inbox: contact requests land on the dashboard to read and follow up on.
- Numbers: photo collections and photos count their views, and the links page counts clicks. Both skip my own visits.
How it's built
- TanStack Start (opens in a new tab), React, and TypeScript, styled with Tailwind CSS.
- Postgres with Drizzle ORM, and Zod validation shared by the forms and the server.
- S3-compatible storage (Cloudflare R2 in production), with images served through imgproxy.
- Share cards and the favicon drawn on the server with satori and resvg, in the site's own font.
- Sign-in through Better Auth, leaning on DQC's sign-in service.
- Analytics through the collective's self-hosted Plausible instance.
- Locally, everything runs in Docker Compose. The code lives within DQC's Gitea instance, where Gitea Actions builds the production image for Dokploy to deploy.
What's next
Comments on posts, and a home for zines next to the photo collections.
Published