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)
PATCH /api/v1/{fileid}/{filename} Update delete_after (admin only). -1 = never; >= 0 = retention seconds
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.2.tar.gz (102.3 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.2-py3-none-any.whl (122.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ory_upserver-1.1.2.tar.gz
  • Upload date:
  • Size: 102.3 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.2.tar.gz
Algorithm Hash digest
SHA256 7b835390d4032bf1063a10ba3658e6f0a77663cf0eba4d27a72a0230a9d1afbe
MD5 29a89e7e19ce379fc01a7f35ddb14f4a
BLAKE2b-256 9c20b3cb52b004caf0058355b9fbbb6154547ba8e77d01e09938c758f1edc19f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ory_upserver-1.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: ory_upserver-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 122.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7d554ec51b5c35b7a77f306e5176a37e0f87c2f3cd289cf1c6d4b012169ad341
MD5 f52d0b2e5755e9a54f7f5de75c732941
BLAKE2b-256 085cce6d18d4fd0bbc57c8ee2bd0cab34ca6fc0ebfa3f038162b3214dddad335

See more details on using hashes here.

Provenance

The following attestation bundles were made for ory_upserver-1.1.2-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