reoganised project

This commit is contained in:
2026-02-23 20:32:45 +00:00
parent 42bc666c11
commit 71b36dc6b5
96 changed files with 662 additions and 46 deletions
+19
View File
@@ -0,0 +1,19 @@
# Endpoints
let n be the repo name.
## Web view
GET /packages/ # home page listing packages - simple search bar.
GET /packages?q=<query> # search for a package
GET /packages/<name> # main page for a repository, shows status, files, name etc.
GET /packages/<name>/~repo/<path> # path for a file within a repo
GET /packages/<name>/~repo?q=<query> # search within a package's files
GET /packages/<name>/~artifact/ # page listing repo artifacts by date
GET /packages/<name>/~artifact/<id> # page for a specific artifact and status/logs
POST /api/pkg # create repo
GET /api/pkg/<name> # repo status/metadata
POST /api/pkg/<name>/push # upload source tarball
GET /api/pkg/<name>/pull # download source tarball
GET /api/pkg/<name>/artifact # download compiled binary
+15
View File
@@ -0,0 +1,15 @@
# Folder structure
data/
repos/
<repo_name>/
repo/
Dsx.toml
README.md
src/
artifacts/
<repo_name>.dsb
<repo_name-lib>.dsb
docs/
<repo_name-lib>.md
index/