Skip to main content

Simple UPload Server

Project description

ory-upserver

Simple upload server with a FastAPI backend and a bundled SvelteKit frontend. The wheel ships the prebuilt SPA, so a single pip install is enough to run a working share-link service usable from curl, browsers, or scripts.

Source, design notes, Docker setup, and the full repository live at https://github.com/DoyunShin/UPServer.

Install

pip install ory-upserver

Configure

A starter config is bundled at <site-packages>/oryups/config.example.json. Copy it somewhere writable, edit host.domain, local.root, and (optionally) general.* for branding, then launch:

ups --config /path/to/config.json

--host and --port override the values from the config.

HTTP cheat sheet

Method Path Purpose
GET / SPA upload page
GET /api/info Branding / footer info consumed by the SPA
PUT /{filename} Upload — response: share URL, X-Owner-Key header
GET /{fileid}/{filename} Browser → SPA detail page; curl → direct download
GET /get/{fileid}/{filename} Forced direct download
GET /api/v1/{fileid}/{filename} Public metadata (owner key never included)
DELETE /api/v1/{fileid}/{filename} Permanent removal — accepts X-Owner-Key (owner) or Authorization: Bearer <admin-token> (admin)

License

Apache-2.0. See LICENSE (bundled with the wheel) for the full text.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ory_upserver-1.1.0.tar.gz (98.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ory_upserver-1.1.0-py3-none-any.whl (118.8 kB view details)

Uploaded Python 3

File details

Details for the file ory_upserver-1.1.0.tar.gz.

File metadata

  • Download URL: ory_upserver-1.1.0.tar.gz
  • Upload date:
  • Size: 98.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ory_upserver-1.1.0.tar.gz
Algorithm Hash digest
SHA256 674167817139efc970ecc9e9244845bdcee1fd0a627228f23d1b33591ea524cc
MD5 d1a116b2ec55921f3ed1af65f67da674
BLAKE2b-256 15d639036a7b1846ebe54dd3d359274ee26dbcce1151de56831ac22e59277da6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ory_upserver-1.1.0.tar.gz:

Publisher: cd.yaml on DoyunShin/UPServer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ory_upserver-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ory_upserver-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 118.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ory_upserver-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 473868759cd5a8fcf6e7d9e2dff9ebaa88befc709d71f06a0e9a91491723c57c
MD5 9a779bfcda2ba48cbb6cf40af1807e20
BLAKE2b-256 08b5603aa38986fb2c47e9a0842d25b3fde7b8ee58e2d4026d08fce0ecc28aa7

See more details on using hashes here.

Provenance

The following attestation bundles were made for ory_upserver-1.1.0-py3-none-any.whl:

Publisher: cd.yaml on DoyunShin/UPServer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page