Skip to main content

What is pwebarc-dumb-dump-server?

pwebarc_dumb_dump_server.py: a very dumb simple archiving server for Personal Private Passive Web Archive (pwebarc) (also there) pWebArc browser extension (also there). This thing is less than 200 lines of pure Python that only uses the Python's standard library and nothing else. You could be running it already.

Why does pwebarc-dumb-dump-server exists?

This was made for easy Quickstart (also there).

Normally, you would use something smarter than this (when I publish it), but this will work fine as a starting point.

Also, even with the better thing, this is still useful in case you are feeling paranoid and only want to run the minimal viable thing as a daemon.

Quickstart

Installation

  • You can run this without installing:
    ./pwebarc_dumb_dump_server.py --help
    
  • Alternatively, install with:
    pip install pwebarc-dumb-dump-server
    
    and run as
    pwebarc-dumb-dump-server --help
    
  • Alternatively, install it via Nix
    nix-env -i -f ./default.nix
    pwebarc-dumb-dump-server --help
    

Usage

usage: pwebarc_dumb_dump_server.py [-h] [--version] [--host HOST] [--port PORT] [--root ROOT] [--uncompressed] [--default-profile NAME] [--ignore-profiles] [--no-print-cbors]

Simple archiving server for pWebArc. Dumps each request to `<ROOT>/<profile>/<year>/<month>/<day>/<epoch>_<number>.wrr`.

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --host HOST           listen on what host/IP (default: 127.0.0.1)
  --port PORT           listen on what port (default: 3210)
  --root ROOT           path to dump data into (default: pwebarc-dump)
  --uncompressed        dump new archivals to disk without compression; the default is to try to compress each new archive first
  --default-profile NAME
                        default profile to use when no `profile` query parameter is supplied by the extension (default: `default`)
  --ignore-profiles     ignore `profile` query parameter supplied by the extension and use the value of `--default-profile` instead
  --no-print-cbors      don't print parsed representations of newly archived CBORs to stdout even if `cbor2` module is available

Metadata

Release files for pwebarc-dumb-dump-server 1.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pwebarc-dumb-dump-server 1.6.0
File Size Uploaded
pwebarc-dumb-dump-server-1.6.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pwebarc-dumb-dump-server 1.6.0
File Interpreter ABI Platform
pwebarc_dumb_dump_server-1.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / pwebarc-dumb-dump-server-1.6.0.tar.gz

Download URL pwebarc-dumb-dump-server-1.6.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c073f0b67fd5b35e1e1ae0a08b5a75c2b7fb8c9a0cc088d39b660bde849dfb25
BLAKE2b-256 checksum
How to use checksums
3607be8017c5691f0f02a35d1a643e7a754889d9141faf9d67fc9304a770607a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / pwebarc_dumb_dump_server-1.6.0-py3-none-any.whl

Download URL pwebarc_dumb_dump_server-1.6.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e4965d78966bf7d0443645fd3a456ec0c689384d1fe051a3202f9f5ecc7164d
BLAKE2b-256 checksum
How to use checksums
b290145568fdac0223aec087837c9f7c7ff3847877aa7d1a82399a90767811f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

1.6.1

2 release files

This release

1.6.0 This release

2 release files

1.5.5

2 release files

1.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page