{"id":18382664,"url":"https://github.com/virtualbrainlab/vbl-dock","last_synced_at":"2025-04-11T21:26:25.589Z","repository":{"id":196270597,"uuid":"695643204","full_name":"VirtualBrainLab/vbl-dock","owner":"VirtualBrainLab","description":"Storage server for VBL JSON files","archived":false,"fork":false,"pushed_at":"2024-04-07T02:14:29.000Z","size":18,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-15T23:42:37.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VirtualBrainLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-23T19:31:29.000Z","updated_at":"2023-09-24T02:50:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad864f50-b20f-4a1a-a09c-5bbc5e1d8dd9","html_url":"https://github.com/VirtualBrainLab/vbl-dock","commit_stats":null,"previous_names":["virtualbrainlab/vbl-dock"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtualBrainLab%2Fvbl-dock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtualBrainLab%2Fvbl-dock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtualBrainLab%2Fvbl-dock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtualBrainLab%2Fvbl-dock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VirtualBrainLab","download_url":"https://codeload.github.com/VirtualBrainLab/vbl-dock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248481914,"owners_count":21111244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T01:07:18.229Z","updated_at":"2025-04-11T21:26:25.567Z","avatar_url":"https://github.com/VirtualBrainLab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vbl-dock\n\nStorage server for VBL JSON files\n\nThis is a Flask application that implements a REST API allowing for PUT/POST/GET access to JSON files stored on the server. The JSON files are not encrypted, but are protected by a password. This isn't really a secure setup, but whatever.\n\n## Development\n\nRun in dev mode by using `python server.py`, which loads the Flask server on `localhost:5000`\n\n## Flask app\n\nUsers create a new bucket using the POST `/create/\u003cbucket\u003e` endpoint, passing a token and password:\n\n```\ndata = {\n    \"token\": \"\u003ctoken\u003e\",\n    \"password\": hash256(\"\u003cpassword\u003e\")\n}\n```\n\nUsers add new data to a bucket using the POST or PUT `/upload/\u003cbucket\u003e/\u003ctype\u003e/\u003cname\u003e?auth=\u003chashed password\u003e` endpoint, passing the data:\n\n```\ndata = {\n    \"data\": {\n        \"position\": [1,2,3]\n    }\n}\n```\n\nUsers access data in a bucket using GET `/\u003cbucket\u003e/\u003ctype\u003e/\u003cname\u003e?auth=\u003chashed password\u003e` which will return the raw JSON. \n\n## Folder structure\n\n`/data/` is the top level folder.\n\nBuckets are stored in `/data/bucket/`. Users then organize their data files by type (e.g. neurons, probes, etc) and with a unique name. P\n\n## Hosting\n\ntodo...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtualbrainlab%2Fvbl-dock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirtualbrainlab%2Fvbl-dock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtualbrainlab%2Fvbl-dock/lists"}