Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/activatedgeek/copernicus

Website
https://github.com/activatedgeek/copernicus

astro blog cloudflare-pages markdown mdx-js picocss website

Last synced: 4 months ago
JSON representation

Website

Awesome Lists containing this project

README

        

# Copernicus

[![Deploy](https://github.com/activatedgeek/copernicus/actions/workflows/pages.yml/badge.svg)](https://github.com/activatedgeek/copernicus/actions/workflows/pages.yml) [![Upptime Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Factivatedgeek%2Fstatus%2FHEAD%2Fapi%2Fwebsite%2Fresponse-time-week.json)](https://status.sanyamkapoor.com)

Base framework to generate my website based on [Astro](https://astro.build).
Website & knowledge base hosted at [sanyamkapoor.com](https://sanyamkapoor.com).
See details on the stack [here](https://sanyamkapoor.com/kb/the-stack).

## Setup

Install all dependencies.

```shell
npm install
```

### Environment Variables

- `ASTRO_SITE`: Full base domain, e.g. `sanyamkapoor.com`

Optional:

- `STATUS_SITE`: Full base domain for the status page. e.g. `status.sanyamkapoor.com`.
- `STATUS_SITE_ICON`: Icon to link to the status site.

#### Analytics

- `GOATCOUNTER_SITE`: [GoatCounter](https://www.goatcounter.com) domain analytics. e.g. `.goatcounter.com`

#### Comments

- `GISCUS_REPO`: [Giscus](https://giscus.app) public GitHub repository name.
- `GISCUS_REPO_ID`: [Giscus](https://giscus.app) repository ID.
- `GISCUS_CATEGORY`: [Giscus](https://giscus.app) discussion category name.
- `GISCUS_CATEGORY_ID`: [Giscus](https://giscus.app) discussion category ID.

## Build

### Development

```shell
npm run dev
```

### Production

```
npm run build
```

## License

Apache 2.0