very fast at protocol indexer with flexible filtering, xrpc queries, cursor-backed event stream, and more, built on fjall
rust fjall at-protocol atproto indexer
59
fork

Configure Feed

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

[docs] add building and deployment

dawn ed6c83fd 4489948e

+42 -15
+1
.gitignore
··· 7 7 hydrant.log 8 8 .gitnexus 9 9 .claude 10 + /docs-dist
+15 -15
flake.lock
··· 83 83 "treefmt": "treefmt" 84 84 }, 85 85 "locked": { 86 - "lastModified": 1776151175, 87 - "narHash": "sha256-Lqi8cuWdxDdX4QsZPyhvHXGQO0KruImQOe19TYHS1cw=", 86 + "lastModified": 1776671588, 87 + "narHash": "sha256-V/1y21Sq6JGxP0+jkBQBjiPhK9Z2CEMNJxaNN7vwnOY=", 88 88 "owner": "90-008", 89 89 "repo": "nix-cargo-integration", 90 - "rev": "306392d0c49a2deb2a42e731722b569311921691", 90 + "rev": "be52088147df038e65da5a146ebf1acf7f5d9783", 91 91 "type": "github" 92 92 }, 93 93 "original": { ··· 98 98 }, 99 99 "nixpkgs": { 100 100 "locked": { 101 - "lastModified": 1775710090, 102 - "narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=", 101 + "lastModified": 1776169885, 102 + "narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=", 103 103 "owner": "NixOS", 104 104 "repo": "nixpkgs", 105 - "rev": "4c1018dae018162ec878d42fec712642d214fdfa", 105 + "rev": "4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9", 106 106 "type": "github" 107 107 }, 108 108 "original": { ··· 129 129 }, 130 130 "nixpkgs_2": { 131 131 "locked": { 132 - "lastModified": 1775888245, 133 - "narHash": "sha256-nwASzrRDD1JBEu/o8ekKYEXm/oJW6EMCzCRdrwcLe90=", 132 + "lastModified": 1776329215, 133 + "narHash": "sha256-a8BYi3mzoJ/AcJP8UldOx8emoPRLeWqALZWu4ZvjPXw=", 134 134 "owner": "nixos", 135 135 "repo": "nixpkgs", 136 - "rev": "13043924aaa7375ce482ebe2494338e058282925", 136 + "rev": "b86751bc4085f48661017fa226dee99fab6c651b", 137 137 "type": "github" 138 138 }, 139 139 "original": { ··· 260 260 ] 261 261 }, 262 262 "locked": { 263 - "lastModified": 1776136407, 264 - "narHash": "sha256-Cp8XrVLGruSDBTRs8L4LmvaEcd76tHHU9esLk7Ysa4E=", 263 + "lastModified": 1776654897, 264 + "narHash": "sha256-Vqi4AiJVCcBGn/RmBtRCgyH5rCxqm/w0xV9diJWF1Ic=", 265 265 "owner": "oxalica", 266 266 "repo": "rust-overlay", 267 - "rev": "753568957a87312ed599cba5699e67126eded6c0", 267 + "rev": "25d75be8139815a53560745fa060909777495105", 268 268 "type": "github" 269 269 }, 270 270 "original": { ··· 322 322 "nixpkgs": "nixpkgs_3" 323 323 }, 324 324 "locked": { 325 - "lastModified": 1776664743, 326 - "narHash": "sha256-DxLdcK1Ghzx7cNLh77oS5+He9sG3Mq+oHkkPOB45HMQ=", 325 + "lastModified": 1776671665, 326 + "narHash": "sha256-XkA9cZ5n3jYYLZes4zqQ9Y24l04Gspv1pmNmp+1qK/A=", 327 327 "owner": "90-008", 328 328 "repo": "verbiage", 329 - "rev": "9c783854398e908cd22d06f9228c09bdab71ffe1", 329 + "rev": "1f63c30ca7c716332340b21cac29a0a05f13d92b", 330 330 "type": "github" 331 331 }, 332 332 "original": {
+26
flake.nix
··· 16 16 inputs', 17 17 ... 18 18 }: 19 + let 20 + buildDocs = pkgs.writeShellApplication { 21 + name = "build-docs"; 22 + runtimeInputs = [ inputs'.verbiage.packages.build ]; 23 + text = '' 24 + VERBIAGE_DATA="$(realpath "''${1:-$(pwd)/docs}")" 25 + export VERBIAGE_DATA 26 + VERBIAGE_TITLE="hydrant" 27 + export VERBIAGE_TITLE 28 + out="''${2:-$(pwd)/docs-dist}" 29 + verbiage-build docs "$out" 30 + printf '/static/* /static/:splat 200!\n/docs/w/* /:splat 301!\n/ /docs/w/~ 200!\n/* /docs/w/:splat 200!\n' > "$out/_redirects" 31 + ''; 32 + }; 33 + deployDocs = pkgs.writeShellApplication { 34 + name = "deploy-docs"; 35 + runtimeInputs = [ buildDocs pkgs.bun ]; 36 + text = '' 37 + out="$(pwd)/docs-dist" 38 + build-docs "$(pwd)/docs" "$out" 39 + bunx wispctl -y --path "$out" --site hydrant-docs did:plc:dfl62fgb7wtjj3fcbb72naae 40 + ''; 41 + }; 42 + in 19 43 { 20 44 nci.projects."hydrant" = { 21 45 path = ./.; 22 46 export = false; 23 47 }; 24 48 packages.default = pkgs.callPackage ./default.nix {}; 49 + apps.build-docs = { type = "app"; program = "${buildDocs}/bin/build-docs"; }; 50 + apps.deploy-docs = { type = "app"; program = "${deployDocs}/bin/deploy-docs"; }; 25 51 devShells.default = config.nci.outputs."hydrant".devShell.overrideAttrs (old: { 26 52 packages = (old.packages or []) ++ (with pkgs; [ 27 53 rustPlatform.rustLibSrc