Skip to content
Projects

About

😺 My personal website

Web & App Development

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

felipefialho.com

license

My personal website and blog, writing about front-end since 2013.

felipefialho.com

Posts are written in Portuguese, with some translated to English under /en/. The site is static, fast and mostly plain HTML and CSS.

Stack

  • Astro 7 with TypeScript and plain CSS
  • Markdown processed by Sätteri, with local plugins in src/plugins (embeds, image attributes, external links, heading anchors, reading time)
  • Pagefind for search
  • Build-time Open Graph cards with satori and sharp
  • Cookieless page view counts with Cloudflare Web Analytics (production builds only), no consent banner needed
  • Netlify for hosting, with the Image CDN serving legacy post images

Getting Started

Requires the Node.js version in .nvmrc and pnpm.

# install dependencies
$ pnpm install

# Run the project
$ pnpm dev

Tasks

  • pnpm dev: start the dev server
  • pnpm build: type-check, build to dist and index the site for search
  • pnpm preview: serve the production build locally
  • pnpm lint: lint scripts and styles
  • pnpm lint:fix: fix lint errors automatically

Search only works after a build, because Pagefind indexes the generated dist. Run pnpm build && pnpm preview to try it.

Writing a post

Create a file at content/posts/YYYY-MM-DD-slug.md, or a folder at content/posts/YYYY-MM-DD-slug/index.md to keep images next to the post. The URL drops the date prefix, so both become /blog/slug/.

---
title: Post title
date: 2026-10-01
description: One sentence used in listings and meta tags.
tags: [css, front-end]
draft: false
---
  • tags and draft are optional, draft defaults to false
  • English translations go in content/posts-en/ with the same frontmatter plus translationOf: <pt-slug>

Fonts

Mona Sans is the only typeface, subset to Latin with its variable axes pinned. To regenerate src/assets/fonts, run scripts/subset-fonts.sh. It needs fonttools and brotli (pip install fonttools brotli).

License

Source code: MIT, see LICENSE.

Posts, pages and their images in content/: © Felipe Fialho, all rights reserved, see content/LICENSE.md.

Explore related projects

Loading…