travisshears / Gemini Ink Demo Server (Javascript)
0 gustos
0 bifurcaciones
4 archivos
Última actividad
Code from https://mosfetarium.com/blog/gemini-ink-server/
GEMINI INK DEMO SERVER
This little node js server is a demonstration of playing text-only narrative games created with Ink (https://github.com/inkle/ink) over the gemini protocol (https://gemini.circumlunar.space/). It uses basically a bunch of standard nodejs functionality and inkjs (https://github.com/y-lohse/inkjs). The demo game is The Intercept, also made by Inkle, not me! So don't give me credit for the game (https://github.com/inkle/the-intercept).
To run this. You will need to install node and npm. You will also need a gemini server cert!
travisshears / jjcommit.sh
0 gustos
0 bifurcaciones
1 archivos
Última actividad
Little script to describe jj changes including the diff so it is easier to write message
| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | # Run jj diff and prefix each line with "JJ: " |
| 6 | diff_output="$(jj diff | sed 's/^/JJ: /')" |
| 7 | |
| 8 | # Add two newlines at the top (without the prefix) |
| 9 | final_output="\n\n$diff_output" |
travisshears / Anubis Config
0 gustos
0 bifurcaciones
3 archivos
Última actividad
See full blog post https://travisshears.com/tech/blog/blocking-ai-scraping
| 1 | bots: |
| 2 | - name: php |
| 3 | path_regex: php$ |
| 4 | action: DENY |
| 5 | - name: api-calls |
| 6 | expression: |
| 7 | any: |
| 8 | - 'method == "POST"' |
| 9 | - 'method == "PATCH"' |
| 10 | - 'method == "DELETE"' |
travisshears / nostr-rs-relay json logging
0 gustos
0 bifurcaciones
1 archivos
Última actividad
Patch to add JSON logging to nostr-rs-relay so logs can be parsed by loki
| 1 | bf6abd3 (HEAD -> master, homelab/master) feat: json logging |
| 2 | diff --git a/Cargo.lock b/Cargo.lock |
| 3 | index c8354d2..3ca8556 100644 |
| 4 | --- a/Cargo.lock |
| 5 | +++ b/Cargo.lock |
| 6 | @@ -3671,6 +3671,16 @@ dependencies = [ |
| 7 | "tracing-core", |
| 8 | ] |
| 9 | |
| 10 | +[[package]] |
Siguiente
Anterior