twilight
Twilight organizes your media so you don't have too.
We use Twilight to auto-magickally organize our new media. Twilight exposes a
HTTP service on :8001
with the following endpoints:
- POST
/v1/media
- create new media - PUT
/v1/media/:id
- add new files to this media
An example flow:
- POST
/v1/media
with body:
{
id: <trello card id>,
files: 10,
name: 'MLP',
type: 'tv'
}
- PUT
/v1/media/<trello card id>
10 times with each filemultipart/form-data
with file asfile
or with all 10 underfiles
- Media is sorted and placed in the correct directoy, and renamed based on rule-sets.
Coming soon...
MIT