Skip to content
/ pp Public

Source code of the ProstoPoi site. SSG remake.

Notifications You must be signed in to change notification settings

mitranim/pp

Repository files navigation

Overview

SSG remake of ProstoPoi: https://prostopoi.ru

  • Statically generated.
  • Build and deploy: automatic via GitHub Actions.
  • Served via GitHub Pages.

History

The previous version used Django + Postgres. It was converted to an SSG (static site generator) to eliminate maintenance and reduce risks. The Git repository of the Django version remains private.

Code

  • Site markup: ./scripts/site.mjs
  • CLI commands: ./scripts/cmd_*.mjs
  • Data definitions: ./scripts/dat.mjs
  • Data fixtures: ./scripts/dat_init_*.mjs
  • Articles in markdown: ./templates/articles/*.md

Development

Install dependencies:

make deps

Run in watch mode:

make

Complete build:

make build

TODO

  • Restore auth and profile features (use Firebase).
  • Remove unused styles.
  • Image optimization.

Licensing

Ideally I would like to license just the code under https://unlicense.org without licensing the other content such as texts, articles, images. But I'm unsure how to do it without bloating the repo with legal comments. If someone wants to use parts of this work, please contact me and we'll work it out.

About

Source code of the ProstoPoi site. SSG remake.

Resources

Stars

Watchers

Forks