https://github.com/seesjays/dittydally-swiftly
https://github.com/seesjays/dittydally-swiftly
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/seesjays/dittydally-swiftly
- Owner: seesjays
- Created: 2025-02-03T11:04:58.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-02-03T17:50:14.000Z (4 months ago)
- Last Synced: 2025-02-03T18:36:06.372Z (4 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎵 💾 Dittydally-Swiftly
API Client for accessing the object storage service for DittyDally.
> powers the poster sharing system
Built using [OpenStack Swift](https://docs.openstack.org/swift/latest/), specifically using the [SwiftService API](https://docs.openstack.org/python-swiftclient/latest/).
Serves as an example for building a very simple, small Web API around the Swift storage system. I'm more of a NodeJS/Deno/Hono guy so this isn't fully optimal Flask code, but it works!
Note that there's some code to download files using the out_file = "-" option, this wasn't explicitly stated in the docs (I think it's preferred that you download the files) but it looked good enough to use when I looked through swift's service.py code
> env vars you may need!
```
MUSIC_ENDPOINT
SWIFT_AUTH_URL
SWIFT_USER
SWIFT_KEY
```