This is my personal website built with Astro framework.
Blog posts were migrated from my previous blog hosted on wordpress.com. Exported files in the XML format were then converted into markdown using wordpress-export-to-markdown tool
- Custom styling
- Blog
- Github Actions - Deploy your Astro Site to GitHub Pages
- Static files compression astro-compress
- Partytown integration - @astrojs/partytown
- Google Analytics 4
- Google AdSense
- Sitemap - @astrojs/sitemap
- Robots.txt - alextim/astro-lib
- Cookie banner - Cookie Script
- View Transitions - View Transitions
- Prefetch - Prefetch
- SEO - astro-seo
- TODO: Social share
- TODO: Image optimization
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:3000 |
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 create astro@latest -- --template portfolio
Feel free to check astro documentation or jump into Discord server.