alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
superconfig
/
2configs
/
services
/
flix
5 files
at
b7ed12be1bdf5c021861880ea059bb4f2cbbe8e8
lassulus
ipfs.lassul.us: pin service only calculates hash, never pins
4mo ago
78d806da
container-host.nix
archiver-bot: compute IPFS CID locally with --only-hash --raw-leaves, fix key upload error
6 months ago
default.nix
services.flix: don't fail flix-index when a file vanishes mid-scan /var/download churns constantly (download temp files appearing and vanishing), so `find` exits non-zero when an entry disappears between readdir and stat. Under `set -efu` that aborted the oneshot, which during a nixos switch counted as a failed unit and flipped the whole switch to a non-zero exit. Tolerate find's exit code and only replace the live index if a non-empty listing was produced. Assisted-by: Claude Code (claude-opus-4-8)
4 months ago
ipfs.nix
2configs.services.flix.ipfs: allow ipfs-upload to write into games/ Adjusts /var/download/games to ipfs:users mode 2775 so the upload service (running as ipfs) can write into it while lass keeps write via the users group. systemd-tmpfiles refuses to bootstrap this transition when child and parent have different owners, so the first chown was done out-of-band; this `z` rule keeps the perms from drifting. Also drops the non-existent `download` group from the staging dir tmpfiles entries (download group only exists on the yellow container, not on the host). Assisted-by: Claude Code (claude-opus-4-7)
5 months ago
ipfs_upload.py
ipfs.lassul.us: pin service only calculates hash, never pins
4 months ago
proxy.nix
2configs.services.flix.ipfs: add anonymous resumable upload endpoint Adds an ipfs-upload service (Python http.server on 127.0.0.1:8090) and routes POSTs on ipfs.lassul.us to it (GET/HEAD still go to the kubo gateway, via nginx upstream + map on $request_method). Each chunk is written to a deterministic staging file under /var/download/incoming/uploader/<sha256(rel)>.upload (same fs as the destination, outside the pin-watcher's watch dirs). When the staging size reaches the Content-Range total, it is atomically renamed to /var/lib/ipfs/download/<rel> and pinned with ipfs add --nocopy --pin. Protocol: POST /<path> one-shot upload POST /<path> with Content-Range bytes a-b/T resumable chunk POST /<path> with Content-Length: 0 returns current offset Assisted-by: Claude Code (claude-opus-4-7)
5 months ago