Skip to content
プロジェクト

概要

😺 My personal website

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

関連プロジェクトを探す

読み込み中…