Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 3.04 KB

README.md

File metadata and controls

72 lines (50 loc) · 3.04 KB

Hackastro

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

Warning

This repo is under developing, please don't use this before the first release.

Why build this?

I was laid off on January 7th 2025.

I felt bad at first for a while, then I realized it was an opportunity for me to build something for myself.

I finally got the time to build a personal website😻.

That's why I create this, I want a website that can contain my blogs and also can be presented as my resume.

Considering this as a gift to someone who may experienced the same and a guide or demo repo for Astro.

Besides that, I want it also support Google adsense, and maybe good affiliate supports.

⭐ Features

  • Powered by Astro 5.0
  • Integrated a featured comment system with Waline
  • Implement following Gitmoji Commit Workflow
  • Use Just for cross-platform command runner.
  • Git hooks managed by Husky
  • Well lint and format by Eslint, stylelint, prettier.

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
│   └── favicon.svg
├── src/
│   ├── layouts/
│   │   └── Layout.astro
│   └── pages/
│       └── index.astro
└── package.json

To learn more about the folder structure of an Astro project, refer to our guide on project structure.

🧞 Commands

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:4321
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

Special Thanks & Reference

I take these two sites as templates and code foundation.

  1. Frosti
  2. Astro Resume 01

Especially thanks to Frosti for its open source and well implemented.