Skip to content

kkrishguptaa/apollo

Repository files navigation

Apollo

Astro Blog built for Speed ⚡️

A screenshot of the Apollo Website

👋 Introduction

Apollo is a tiny blog built with Astro. The goal is to have a small tiny bundle size, near zero javascript, and an elegant design. The blogs are stored as markdown files in the repository itself.

📦 Tech Stack

Astro

This uses Astro content collections API to manage the blog articles. The articles are stored in as markdown in src/content/blog. There is frontmatter, but that is taken care of by Astro.

There are two types of SSG routes created:

Route Description
/[number] Paginated list of articles (12 per page). / is the same as /1.
/[slug] Individual article page.

It uses Astro's RSS integration to generate an RSS feed for the blog.

Experimental API for fonts is used to load fonts from Google Fonts. It has optimizedFallbacks disabled, because it was switching fonts after load which was jarring.

Homepage bundle size on Cloudflare Radar

Vercel

This website is hosted on Vercel. If you want to deploy it yourself, you can use this handy button:

Deploy with Vercel

✌️ Running Locally

  1. Clone the repository:

    git clone https://github.com/kkrishguptaa/apollo.git
  2. Navigate to the project directory:

    cd apollo
  3. Install dependencies:

    pnpm install
  4. Create a .env file in the root directory and add the required environment variables.

  5. Run the development server:

    pnpm dev

📜 License

This source code for this project is licensed under the MIT License. Feel free to use, modify, and distribute it as per the terms of the license. However, the blogs on the website/in the repository are my original work and are protected under copyright law. Please do not use or reproduce them without my permission.

About

Astro Blog built for Speed ⚡️

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors