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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ory_upserver-1.1.3.tar.gz.
File metadata
- Download URL: ory_upserver-1.1.3.tar.gz
- Upload date:
- Size: 102.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25dffc6f295ab7a0d5accfd69e201c73b803b20c08c73d1a41eebf0d3a83b0ed
|
|
| MD5 |
c0d8520f26f13834867b9e1f6f8afa68
|
|
| BLAKE2b-256 |
1a0faba5b4829deea46600f79021e223ccd34c859c41cb01cdb031d500082575
|
Provenance
The following attestation bundles were made for ory_upserver-1.1.3.tar.gz:
Publisher:
cd.yaml on DoyunShin/UPServer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ory_upserver-1.1.3.tar.gz -
Subject digest:
25dffc6f295ab7a0d5accfd69e201c73b803b20c08c73d1a41eebf0d3a83b0ed - Sigstore transparency entry: 1435937464
- Sigstore integration time:
-
Permalink:
DoyunShin/UPServer@24466701552a56d34d7dee5634e77e46b613513e -
Branch / Tag:
refs/tags/v1.1.3 - Owner: https://github.com/DoyunShin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yaml@24466701552a56d34d7dee5634e77e46b613513e -
Trigger Event:
push
-
Statement type:
File details
Details for the file ory_upserver-1.1.3-py3-none-any.whl.
File metadata
- Download URL: ory_upserver-1.1.3-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56fc0c793ab15107855860b6a3540c6934d51d7ae813962136f682b0e8fb9d42
|
|
| MD5 |
5c9c90dbccd38120852c8df1831b67d8
|
|
| BLAKE2b-256 |
1d68e3db9ee21b90a6fe3540cfd7f239290a2c3286b59bdd9b832c1dd10e737e
|
Provenance
The following attestation bundles were made for ory_upserver-1.1.3-py3-none-any.whl:
Publisher:
cd.yaml on DoyunShin/UPServer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ory_upserver-1.1.3-py3-none-any.whl -
Subject digest:
56fc0c793ab15107855860b6a3540c6934d51d7ae813962136f682b0e8fb9d42 - Sigstore transparency entry: 1435937468
- Sigstore integration time:
-
Permalink:
DoyunShin/UPServer@24466701552a56d34d7dee5634e77e46b613513e -
Branch / Tag:
refs/tags/v1.1.3 - Owner: https://github.com/DoyunShin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yaml@24466701552a56d34d7dee5634e77e46b613513e -
Trigger Event:
push
-
Statement type: