Forking what is left of ZeroNet and hopefully adding an AT Proto Frontend/Proxy
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

A big flake to start from

+179
+3
.gitignore
··· 33 33 34 34 # ZeroNet log files 35 35 log/* 36 + 37 + # Ignore direnv cache 38 + .direnv/
+100
flake.lock
··· 1 + { 2 + "nodes": { 3 + "fenix": { 4 + "inputs": { 5 + "nixpkgs": [ 6 + "nixpkgs" 7 + ], 8 + "rust-analyzer-src": "rust-analyzer-src" 9 + }, 10 + "locked": { 11 + "lastModified": 1772953398, 12 + "narHash": "sha256-fTTHCaEvPLzWyZFxPud/G9HM3pNYmW/64Kj58hdH4+k=", 13 + "owner": "nix-community", 14 + "repo": "fenix", 15 + "rev": "fc4863887d98fd879cf5f11af1d23d44d9bdd8ae", 16 + "type": "github" 17 + }, 18 + "original": { 19 + "owner": "nix-community", 20 + "repo": "fenix", 21 + "type": "github" 22 + } 23 + }, 24 + "nixpkgs": { 25 + "locked": { 26 + "lastModified": 1772773019, 27 + "narHash": "sha256-E1bxHxNKfDoQUuvriG71+f+s/NT0qWkImXsYZNFFfCs=", 28 + "owner": "NixOS", 29 + "repo": "nixpkgs", 30 + "rev": "aca4d95fce4914b3892661bcb80b8087293536c6", 31 + "type": "github" 32 + }, 33 + "original": { 34 + "owner": "NixOS", 35 + "ref": "nixos-unstable", 36 + "repo": "nixpkgs", 37 + "type": "github" 38 + } 39 + }, 40 + "root": { 41 + "inputs": { 42 + "fenix": "fenix", 43 + "nixpkgs": "nixpkgs", 44 + "utils": "utils" 45 + } 46 + }, 47 + "rust-analyzer-src": { 48 + "flake": false, 49 + "locked": { 50 + "lastModified": 1772877513, 51 + "narHash": "sha256-RcRGv2Bng5I9y75XwFX7oK2l6mLH1dtbTTG9U8qun0c=", 52 + "owner": "rust-lang", 53 + "repo": "rust-analyzer", 54 + "rev": "a1b86d600f88be98643e5dd61d6ed26eda17c09e", 55 + "type": "github" 56 + }, 57 + "original": { 58 + "owner": "rust-lang", 59 + "ref": "nightly", 60 + "repo": "rust-analyzer", 61 + "type": "github" 62 + } 63 + }, 64 + "systems": { 65 + "locked": { 66 + "lastModified": 1681028828, 67 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 68 + "owner": "nix-systems", 69 + "repo": "default", 70 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 71 + "type": "github" 72 + }, 73 + "original": { 74 + "owner": "nix-systems", 75 + "repo": "default", 76 + "type": "github" 77 + } 78 + }, 79 + "utils": { 80 + "inputs": { 81 + "systems": "systems" 82 + }, 83 + "locked": { 84 + "lastModified": 1731533236, 85 + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 86 + "owner": "numtide", 87 + "repo": "flake-utils", 88 + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 89 + "type": "github" 90 + }, 91 + "original": { 92 + "owner": "numtide", 93 + "repo": "flake-utils", 94 + "type": "github" 95 + } 96 + } 97 + }, 98 + "root": "root", 99 + "version": 7 100 + }
+76
flake.nix
··· 1 + { 2 + inputs = { 3 + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 4 + utils.url = "github:numtide/flake-utils"; 5 + fenix = { 6 + url = "github:nix-community/fenix"; 7 + inputs.nixpkgs.follows = "nixpkgs"; 8 + }; 9 + }; 10 + 11 + outputs = 12 + { 13 + nixpkgs, 14 + utils, 15 + fenix, 16 + ... 17 + }: 18 + utils.lib.eachDefaultSystem ( 19 + system: 20 + let 21 + pkgs = import nixpkgs { inherit system; }; 22 + rustToolchain = fenix.packages.${system}.stable.withComponents [ 23 + "cargo" 24 + "rustc" 25 + "rustfmt" 26 + "clippy" 27 + "rust-analyzer" 28 + "rust-src" 29 + ]; 30 + # Define libraries in one place to avoid repetition 31 + libraries = with pkgs; [ 32 + stdenv.cc.cc 33 + glib 34 + dbus 35 + curl 36 + openssl 37 + ]; 38 + 39 + packages = with pkgs; [ 40 + 41 + # Language tool chains: Rust, Gleam, JavaScript/TypeScript, Python 42 + rustToolchain 43 + gleam 44 + bun 45 + python315 46 + 47 + # Pkg config 48 + pkg-config-unwrapped 49 + 50 + # Podman 51 + podman 52 + 53 + # Runners 54 + watchexec 55 + just 56 + ]; 57 + in 58 + { 59 + devShells.default = pkgs.mkShell { 60 + # Tools go here 61 + nativeBuildInputs = [ pkgs.pkg-config ]; 62 + 63 + # Libraries go here 64 + buildInputs = packages ++ libraries; 65 + 66 + shellHook = '' 67 + export LD_LIBRARY_PATH="${pkgs.lib.makeLibraryPath libraries}:$LD_LIBRARY_PATH" 68 + 69 + bun install --cwd=client/ --silent --only-missing 70 + echo "❄️ dev environment loaded, use 'just dev' next, or use either 'just --list' or 'mise tasks' for recipies." 71 + ''; 72 + }; 73 + } 74 + ); 75 + 76 + }