collecting at-risk data in torrent rss feeds https://sciop.net
  • Python 82.4%
  • HTML 10.3%
  • CSS 5.6%
  • JavaScript 1.4%
  • Jinja 0.2%
Repository files (latest commit first)
Filename Latest commit message Latest commit date
sneakers-the-rat 692ebd1a42
All checks were successful
lint / lint (push) Successful in 32s
tests / tests-slow (push) Successful in 1m53s
tests / tests-python3.11 (push) Successful in 2m56s
tests / tests-python3.13 (push) Successful in 3m3s
tests / tests-python3.12 (push) Successful in 3m8s
tests / tests-playwright-python3.11 (push) Successful in 3m16s
tests / tests-playwright-python3.13 (push) Successful in 3m18s
tests / tests-playwright-python3.12 (push) Successful in 3m23s
Merge pull request 'update lockfile' (#503) from update-lockfile into main
Reviewed-on: #503
2026-11-03 03:52:53 +01:00
.forgejo fix ragged page pages and size after fastapi-pagination 0.16, and only install firefox deps 2026-11-02 18:18:56 -08:00
docs document moderation, move enums to types 2025-10-23 18:21:23 -07:00
scripts fix datetime handling when last seen at is present, make utcdatetime type 2025-03-19 02:46:59 -07:00
src/sciop lint 2026-11-02 18:49:10 -08:00
tests print errors from the startup 2026-11-02 18:37:33 -08:00
.env.sample config cli 2025-04-30 19:09:00 -07:00
.gitignore worlds crappiest frontend modal implementation, prior to any styling or ux 2025-09-13 00:51:18 -07:00
changelog.md refactor config into sub-models 2025-05-21 22:15:05 -07:00
LICENSE Initial commit 2025-02-02 01:27:17 +00:00
mkdocs.yml document moderation, move enums to types 2025-10-23 18:21:23 -07:00
pdm.lock update lockfile 2026-11-02 17:34:22 -08:00
pyproject.toml fix up deprecation warnings 2026-11-02 18:09:18 -08:00
README.md two column layout for homepage, frontend for blog feeds 2025-09-03 21:48:37 -07:00
sciop.sample.yaml complete sentence 2025-04-30 19:09:04 -07:00

SciOp

[ docs ] [ source ]

As a website and group of people: A distributed archive curated by distributed archivists preserving public information to plug the memoryhole.

As software: An experimental (soon to be) federated bittorrent tracker.

Running a SciOp Instance

Please see full instructions in the contributing docs

Installing

First, make sure that you have Python installed. Sciop requires Python version >= 3.11.

Then, clone the repository. If you plan to work on sciop, please consider creating a fork and cloning your fork:

git clone https://codeberg.org/Safeguarding/sciop
cd sciop

With pip

Make a Python virtual environment and activate it:

python -m venv ~/.envs/sciop
. ~/.envs/sciop/bin/activate

The example above created a venv in your home directory.

Install sciop in editable mode and it's dependencies into your virtual environment:

pip install -e .

Install the optional dependencies for other workflows:

  • Documentation rendering: pip install -e '.[docs]'
  • Testing sciop package: pip install -e '.[test]'
  • Development server running: pip install -e '.[dev]'
  • All three workflows: pip install -e '.[docs, test, dev]'

Note: sciop is available on PyPI. However, while we are in beta development, we do not regularly deploy versions there. Installing from this repository is strongly recommended.

python -m pip install sciop

With PDM

Install dependencies, automatically creating a virtual environment by default

pdm install

Configuration

All of the following commands can be run either with a venv or pdm install, though only the venv version is shown. For PDM installs, just prepend pdm run like pdm run sciop start

Create a default configuration:

# to see all config commands,
# sciop config --help

sciop config copy

Two fields must be set:

  • SCIOP_ENV/env: one of dev, test or prod. One should only make a sciop instance publicly available in prod mode. dev mode is for local development purposes, as is test. You must ensure that you do not re-use the same db between a dev/test and prod instance, e.g. if the SCIOP_DB location is explicitly set to something other than the defaults.
  • SCIOP_SECRET_KEY/secret_key: must be a securely-generated random hex value. A key can be generated with openssl rand -hex 32.

When generated from the cli, env is set to dev, and secret_key is automatically generated.

Run the dev sever

# see available CLI commands
# sciop --help

sciop start

License

EUPL v1.2

Vendored Software

This project includes the following vendored software:

And includes modified but still substantial quotes from the following software: