+16
LICENSE
+16
LICENSE
···
1
+
MIT No Attribution
2
+
3
+
Copyright 2025 timtinkers.online
4
+
5
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this
6
+
software and associated documentation files (the "Software"), to deal in the Software
7
+
without restriction, including without limitation the rights to use, copy, modify,
8
+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
9
+
permit persons to whom the Software is furnished to do so.
10
+
11
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
12
+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
13
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
14
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
15
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
16
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+35
README.md
+35
README.md
···
1
+
# Source code for my Neocities page
2
+
3
+
I decided to make my Neocities page with a static site generator and since I feel most at home in the [Deno](https://deno.com/) ecosystem, I decided to use [Lume](https://lume.land/).
4
+
5
+
## Installation
6
+
7
+
Install Deno, then install the dependencies by running:
8
+
9
+
deno install
10
+
11
+
## Usage
12
+
13
+
A few tasks are defined in `deno.json`:
14
+
15
+
To build the static files, use:
16
+
17
+
deno task lume
18
+
19
+
To serve your static files to a live server, use:
20
+
21
+
deno task lune -s
22
+
23
+
To deploy to Neocities, use:
24
+
25
+
deno task deploy
26
+
27
+
Don't forget to create a `.env` file with the environment variabbles `NEOCITIES_SITE_NAME` and `NEOCITIES_PASSWORD`!
28
+
29
+
## Tangled CI workflow
30
+
31
+
I use a Tangled workflow to deploy my site to Neocities every time I push to Tangled. Read more about CI runners [here](https://blog.tangled.sh/ci.html).
32
+
33
+
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.
34
+
35
+
If your project doesn't necessitate a build step, simply remove the step in the workflow.