Go to file
shockrah 254da1ae90 * vid_file_entries now uses common::get_clips_dir
- get_video_preview
This is because of the old base64 requirement
* /api/category/<cat> handler now returns Option<Json<Vec<VideoPreview>>>
While more verbose we can more easily convey intentions
to any consumers of this endpoint.
Those intentions being that None values just mean nothing was found
2021-10-12 22:17:50 -07:00
api * vid_file_entries now uses common::get_clips_dir 2021-10-12 22:17:50 -07:00
clippable-cli * Updating deps for project 2021-10-04 19:27:54 -07:00
scripts - Removing all of the remaining frontend leftover from hugo 2021-10-10 13:47:05 -07:00
ts * Frontend now accounts for new /static prefix 2021-10-12 11:20:09 -07:00
.gitattributes * LFS installed for image tracking 2021-10-05 15:54:50 -07:00
.gitignore + dev thumbnails dir 2021-10-12 11:16:59 -07:00
Cargo.lock - removing rocket_contrib from deps 2021-10-11 14:33:51 -07:00
Cargo.toml - removing rocket_contrib from deps 2021-10-11 14:33:51 -07:00
readme.md + Modernized readme to not succ 2021-10-12 17:37:03 -07:00

Clippable

A small self hostable alternative to streamable. Built with Rocket.rs

Status

Right now the public API is being built so that as long as there videos to serve the application should serve

Admin Setup/Configuration

There are a few environment variables that can be configured:

  • CLIPS_DIR : default = /media/clips

  • THUMBS_DIR: default = /media/thumbnails

Building the backend

Currently the project relies on Rust Nightly to build due to a requirement in Rocket however as that framework moves to Rust Stable so to will this project.

Building frontend javascript

Currently the website's javascript is written in typescript then compiled to Javascript. The output directory is /api/static/js/ which means mkdir -p api/static/js must be ran in order to ensure that output directory is present and compilation succeeds. There are no dependencies and is only written in typescript to enforce some level of consistency among contributor code.