timconspicuous.neocities.org
TypeScript 38.4%
JavaScript 33.6%
CSS 28.1%
14 1 0

Clone this repository

https://tangled.org/timtinkers.online/neocities
git@tangled.org:timtinkers.online/neocities

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Source code for my Neocities page#

I decided to make my Neocities page with a static site generator and since I feel most at home in the Deno ecosystem, I decided to use Lume.

Installation#

Install Deno, then install the dependencies by running:

deno install

Usage#

A few tasks are defined in deno.json:

To build the static files, use:

deno task lume

To serve your static files to a live server, use:

deno task lume -s

To deploy to Neocities, use:

deno task deploy

Don't forget to create a .env file with the environment variables NEOCITIES_SITE_NAME and NEOCITIES_PASSWORD!

Tangled CI workflow#

I use a Tangled workflow to deploy my site to Neocities every time I push to Tangled. Read more about CI runners here.

If you want to do that as well, go to your repo settings, choose a spindle in Pipelines and set NEOCITIES_SITE_NAME and NEOCITIES_PASSWORD as secrets.

If your project doesn't necessitate a build step, simply remove the step in the workflow.