Repo for the pub.solar website https://pub.solar
Find a file
Benjamin Bädorf d6bfc32465
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
chore: update about, remove greenbaum references
2023-11-15 16:45:27 +01:00
.well-known/matrix Add well-known for matrix federation 2022-05-01 00:00:17 +02:00
_data Bust caches 2022-10-03 02:31:10 +02:00
_includes chore: update about, remove greenbaum references 2023-11-15 16:45:27 +01:00
assets deno does not like dots in filenames... 2023-05-19 17:39:57 +02:00
fonts/opensans Update to lume v1.17.3 2023-05-19 15:49:36 +02:00
scripts update hakken dates & times 2023-06-20 13:35:50 +02:00
.dockerignore Add dockerignore, Dockerfile cleanup 2022-10-20 18:19:52 +02:00
.drone.yml ci: publish to nachtigall 2023-10-28 16:20:19 +02:00
.envrc Use tritonshell instead of shell.nix 2022-10-20 16:11:53 +02:00
.gitignore Basic lume setup 2022-10-02 20:46:42 +02:00
_config.ts deno: ignore docker-compose.yml and regenerate 2023-05-19 17:24:56 +02:00
about.yml chore: update about, remove greenbaum references 2023-11-15 16:45:27 +01:00
deno.json Write to explicit lock file location 2023-05-19 15:56:43 +02:00
deno.lock chore: update about, remove greenbaum references 2023-11-15 16:45:27 +01:00
docker-compose.yml Add green hosting hint and Greenbaum Cloud logo+links 2022-05-01 00:43:17 +02:00
Dockerfile Bump flake.lock, deno 1.34.3, lume 1.18.0 2023-07-03 00:34:42 +02:00
filters.ts Randomize names 2022-11-28 19:51:55 +01:00
flake.lock chore: update about, remove greenbaum references 2023-11-15 16:45:27 +01:00
flake.nix style: fix linting error 2023-10-28 16:25:27 +02:00
hakken.yml Fix links git.b12f.io -> git.pub.solar 2023-07-02 21:55:38 +02:00
import_map.json Bump flake.lock, deno 1.34.3, lume 1.18.0 2023-07-03 00:34:42 +02:00
index.yml chore: update about, remove greenbaum references 2023-11-15 16:45:27 +01:00
LICENSE.md Add aGPLv3 2022-01-16 21:44:53 +01:00
maintenance.yml feat: maintenance page 2023-10-27 22:41:34 +02:00
privacy.yml Explicitly mention keycloak 2022-11-26 01:51:38 +01:00
README.md Improve quickstart development docs 2023-07-03 00:33:32 +02:00
styles.scss Refactor the CSS to SCSS 2022-10-03 02:02:47 +02:00

pub.solar homepage

This is the repository containing the code for https://pub.solar.

It is built using lume with JSX. To get started, make sure you have the nix package manager installed. Then you can start developing with:

nix develop

This will use a nix devshell to create an environment that has deno and lume available.

An alternative approach for loading all dependencies is direnv. It basically runs nix develop for you, once you enter a directory which contains a .envrc file and allow it by running direnv allow. Once installed globally, run:

direnv allow

To get a live development server, run

deno task serve

Unfortunately, hot module reloading is currently broken for JSX modules, so you'll need to restart this process regularly during development.

Updating Open Sans

To update the font files and CSS, run google-font-downloader $FONT_CSS_URL. As "documentation" flake.nix shows the internals, and _includes/styles/typography.css has a comment at the top that shows which command was used to generate it.