👨💻 V4 of my portfolio, built with Astro, Tailwind CSS, written in Markdown and deployed on Yunohost
https://alexandremouriec.com/
- Astro 52.1%
- JavaScript 24.3%
- TypeScript 9%
- Shell 7.9%
- CSS 5%
- Other 1.7%
Alexandre Mouriec's Personal Website
🧞 Commands
All commands are run from the root of the project, from a terminal:
NPM Scripts
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm start |
Starts local dev server (same as dev) |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
npm run newsletter:sync |
Capture RSS links + books + articles → src/content/posts/drafts/newsletter-{year}-{month}.json (default: current month, or -- -m=3) |
npm run newsletter:export |
Generate newsletter Markdown from draft → src/content/posts/drafts/{year}-{month}.md (default: current month, or -- -m=3) |
npm run optimize:fonts |
Subset fonts with glyphhanger (requires TTFs in src/assets/fonts/sources/) |
npm run optimize:images |
Optimize images using ImageOptim CLI |
npm run lint |
Lint and auto-fix project using ESLint |
npm run bookshelf:read |
Fetch read books from StoryGraph |
npm run bookshelf:current |
Fetch currently reading books from StoryGraph |
npm run bookshelf |
Fetch all books (read + currently reading) |
npm run robots |
Update AI bots blocklist in src/data/ai-robots.txt |
npm run podroll |
Update my podroll |
npm run blogroll |
Update my blogroll |
Deployment Scripts
| Command | Action |
|---|---|
./deploy.sh |
Build and deploy site to Codeberg Pages |
./update-and-deploy.sh |
Update bookshelf data, commit changes, and deploy |