hoardy-web-sas


Namehoardy-web-sas JSON
Version 1.8.0 PyPI version JSON
download
home_pageNone
SummarySimple archiving server for the `Hoardy-Web` Web Extension browser add-on.
upload_time2024-12-16 11:09:23
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseGPL-3.0-or-later
keywords http https www web browser site website download archive mirror wayback wayback machine
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # What is `hoardy-web-sas`?

`hoardy-web-sas` is a very simple archiving server for the [`Hoardy-Web` Web Extension browser add-on](https://github.com/Own-Data-Privateer/hoardy-web/tree/master/extension/) (also [there](https://oxij.org/software/hoardy-web/tree/master/extension/)).

I.e. this is the thing you run and then paste the URL of into the `Server URL` setting of the `Hoardy-Web` add-on.

This is not the most feature-rich thing for doing that, [`hoardy-web serve`](https://github.com/Own-Data-Privateer/hoardy-web/tree/master/tool/) (also [there](https://oxij.org/software/hoardy-web/tree/master/tool/)) is much more powerful.
But, `hoardy-web serve` is not at all simple and it depends on quite a lot of things.
Meanwhile, this `hoardy-web-sas` thing is less than 250 lines of pure Python that only uses the Python\'s standard library and nothing else.
You could be running it already.

# Why does `hoardy-web-sas` exists?

This was made for easy [Quickstart](https://github.com/Own-Data-Privateer/hoardy-web/tree/master/README.md#quickstart) (also [there](https://oxij.org/software/hoardy-web/tree/master/README.md#quickstart)) that also [does reliable archiving](https://oxij.org/software/hoardy-web/tree/master/extension/page/help.org#faq-unsafe).

# Quickstart

## Pre-installation

- Install `Python 3`:

  - On Windows: [Download and install Python from the official website](https://www.python.org/downloads/windows/).
  - On a conventional POSIX system like most GNU/Linux distros and MacOS X: Install `python3` via your package manager. Realistically, it probably is installed already.

## Installation

- On a Windows system with unconfigured `PATH`, install with:

  ``` bash
  pip install hoardy-web-sas
  ```
  and run as
  ``` bash
  python3 -m hoardy_web_sas --help
  ```

- On a conventional POSIX system or on a Windows system with configured `PATH` environment variable, install it with:

  ``` bash
  pip install hoardy-web-sas
  ```
  and run as
  ``` bash
  hoardy-web-sas --help
  ```

- Alternatively, run without installing:

  ``` {.bash}
  ./hoardy-web-sas.py --help
  ```

- Alternatively, on a system with [Nix package manager](https://nixos.org/nix/)

  ``` {.bash}
  nix-env -i -f ./default.nix
  hoardy-web-sas --help
  ```

  Though, in this case, you'll probably want to do the first command from the parent directory, to install everything all at once.

# Usage

```
usage: hoardy_web_sas.py [-h] [--version] [--host HOST] [--port PORT] [-t ROOT] [--compress | --no-compress] [--default-bucket NAME] [--ignore-buckets] [--no-print]

Simple archiving server for Hoardy-Web. Dumps each request to `<ROOT>/<bucket>/<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`
  -t ROOT, --to ROOT, --archive-to ROOT, --root ROOT
                        path to dump data into; default: `pwebarc-dump`
  --compress            compress new archivals before dumping them to disk; default
  --no-compress, --uncompressed
                        dump new archivals to disk without compression
  --default-bucket NAME, --default-profile NAME
                        default bucket to use when no `profile` query parameter is supplied by the extension; default: `default`
  --ignore-buckets, --ignore-profiles
                        ignore `profile` query parameter supplied by the extension and use the value of `--default-bucket` instead
  --no-print, --no-print-cbors
                        don't print parsed representations of newly archived CBORs to stdout even if `cbor2` module is available

```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "hoardy-web-sas",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "HTTP, HTTPS, WWW, web, browser, site, website, download, archive, mirror, wayback, wayback machine",
    "author": null,
    "author_email": "Jan Malakhovski <oxij@oxij.org>",
    "download_url": "https://files.pythonhosted.org/packages/39/07/35d460686653d86cf7fb4031b5b2962b6a48d7ada119400bc5e23a03b7f1/hoardy_web_sas-1.8.0.tar.gz",
    "platform": null,
    "description": "# What is `hoardy-web-sas`?\n\n`hoardy-web-sas` is a very simple archiving server for the [`Hoardy-Web` Web Extension browser add-on](https://github.com/Own-Data-Privateer/hoardy-web/tree/master/extension/) (also [there](https://oxij.org/software/hoardy-web/tree/master/extension/)).\n\nI.e. this is the thing you run and then paste the URL of into the `Server URL` setting of the `Hoardy-Web` add-on.\n\nThis is not the most feature-rich thing for doing that, [`hoardy-web serve`](https://github.com/Own-Data-Privateer/hoardy-web/tree/master/tool/) (also [there](https://oxij.org/software/hoardy-web/tree/master/tool/)) is much more powerful.\nBut, `hoardy-web serve` is not at all simple and it depends on quite a lot of things.\nMeanwhile, this `hoardy-web-sas` thing is less than 250 lines of pure Python that only uses the Python\\'s standard library and nothing else.\nYou could be running it already.\n\n# Why does `hoardy-web-sas` exists?\n\nThis was made for easy [Quickstart](https://github.com/Own-Data-Privateer/hoardy-web/tree/master/README.md#quickstart) (also [there](https://oxij.org/software/hoardy-web/tree/master/README.md#quickstart)) that also [does reliable archiving](https://oxij.org/software/hoardy-web/tree/master/extension/page/help.org#faq-unsafe).\n\n# Quickstart\n\n## Pre-installation\n\n- Install `Python 3`:\n\n  - On Windows: [Download and install Python from the official website](https://www.python.org/downloads/windows/).\n  - On a conventional POSIX system like most GNU/Linux distros and MacOS X: Install `python3` via your package manager. Realistically, it probably is installed already.\n\n## Installation\n\n- On a Windows system with unconfigured `PATH`, install with:\n\n  ``` bash\n  pip install hoardy-web-sas\n  ```\n  and run as\n  ``` bash\n  python3 -m hoardy_web_sas --help\n  ```\n\n- On a conventional POSIX system or on a Windows system with configured `PATH` environment variable, install it with:\n\n  ``` bash\n  pip install hoardy-web-sas\n  ```\n  and run as\n  ``` bash\n  hoardy-web-sas --help\n  ```\n\n- Alternatively, run without installing:\n\n  ``` {.bash}\n  ./hoardy-web-sas.py --help\n  ```\n\n- Alternatively, on a system with [Nix package manager](https://nixos.org/nix/)\n\n  ``` {.bash}\n  nix-env -i -f ./default.nix\n  hoardy-web-sas --help\n  ```\n\n  Though, in this case, you'll probably want to do the first command from the parent directory, to install everything all at once.\n\n# Usage\n\n```\nusage: hoardy_web_sas.py [-h] [--version] [--host HOST] [--port PORT] [-t ROOT] [--compress | --no-compress] [--default-bucket NAME] [--ignore-buckets] [--no-print]\n\nSimple archiving server for Hoardy-Web. Dumps each request to `<ROOT>/<bucket>/<year>/<month>/<day>/<epoch>_<number>.wrr`.\n\noptions:\n  -h, --help            show this help message and exit\n  --version             show program's version number and exit\n  --host HOST           listen on what host/IP; default: `127.0.0.1`\n  --port PORT           listen on what port; default: `3210`\n  -t ROOT, --to ROOT, --archive-to ROOT, --root ROOT\n                        path to dump data into; default: `pwebarc-dump`\n  --compress            compress new archivals before dumping them to disk; default\n  --no-compress, --uncompressed\n                        dump new archivals to disk without compression\n  --default-bucket NAME, --default-profile NAME\n                        default bucket to use when no `profile` query parameter is supplied by the extension; default: `default`\n  --ignore-buckets, --ignore-profiles\n                        ignore `profile` query parameter supplied by the extension and use the value of `--default-bucket` instead\n  --no-print, --no-print-cbors\n                        don't print parsed representations of newly archived CBORs to stdout even if `cbor2` module is available\n\n```\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-or-later",
    "summary": "Simple archiving server for the `Hoardy-Web` Web Extension browser add-on.",
    "version": "1.8.0",
    "project_urls": {
        "GitHub": "https://github.com/Own-Data-Privateer/hoardy-web",
        "Homepage": "https://oxij.org/software/hoardy-web/",
        "Support Development": "https://oxij.org/#support"
    },
    "split_keywords": [
        "http",
        " https",
        " www",
        " web",
        " browser",
        " site",
        " website",
        " download",
        " archive",
        " mirror",
        " wayback",
        " wayback machine"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2e4b2659bf0d165a3e752dc7150f73c541e326e1e80eacfddb3880acf549f36b",
                "md5": "2a56e81d2ebd0aa775c88e0790756159",
                "sha256": "3ba49bde75c32997558fbe61aa595f27d50f2419ada56fe06e7488d1edd152b0"
            },
            "downloads": -1,
            "filename": "hoardy_web_sas-1.8.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2a56e81d2ebd0aa775c88e0790756159",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6443,
            "upload_time": "2024-12-16T11:09:21",
            "upload_time_iso_8601": "2024-12-16T11:09:21.896681Z",
            "url": "https://files.pythonhosted.org/packages/2e/4b/2659bf0d165a3e752dc7150f73c541e326e1e80eacfddb3880acf549f36b/hoardy_web_sas-1.8.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "390735d460686653d86cf7fb4031b5b2962b6a48d7ada119400bc5e23a03b7f1",
                "md5": "784a6435f8933a0279e394136ca6bfdc",
                "sha256": "baa5c853fa3af700f8f1c1b0fc58a83323abedb7ca891aaf7ab85ebcdc6f4e22"
            },
            "downloads": -1,
            "filename": "hoardy_web_sas-1.8.0.tar.gz",
            "has_sig": false,
            "md5_digest": "784a6435f8933a0279e394136ca6bfdc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 6057,
            "upload_time": "2024-12-16T11:09:23",
            "upload_time_iso_8601": "2024-12-16T11:09:23.445223Z",
            "url": "https://files.pythonhosted.org/packages/39/07/35d460686653d86cf7fb4031b5b2962b6a48d7ada119400bc5e23a03b7f1/hoardy_web_sas-1.8.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-16 11:09:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Own-Data-Privateer",
    "github_project": "hoardy-web",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "hoardy-web-sas"
}
        
Elapsed time: 7.50361s