Passively capture, archive, and hoard your web browsing history, including the contents of the pages you visit, for later offline viewing, replay, mirroring, data scraping, and/or indexing. Your own personal private Wayback Machine that can also archive HTTP POST requests and responses, as well as most other HTTP-level data.
{
pkgs ? import <nixpkgs> { },
lib ? pkgs.lib,
source ? import ../source.nix { inherit pkgs; },
developer ? false,
}:
with pkgs.python3Packages;
buildPythonApplication (
rec {
pname = "hoardy-web-sas";
version = "1.9.0";
format = "pyproject";
inherit (source) src unpackPhase;
sourceRoot = "${src.name}/simple_server";
propagatedBuildInputs = [
setuptools
cbor2
];
}
// lib.optionalAttrs developer {
nativeBuildInputs = [
build
twine
pip
mypy
pytest
black
pylint
pkgs.pandoc
];
preBuild = "find . ; black --check . && mypy && pylint .";
postFixup = "find $out";
}
)