Go to file
shockrah 64ef933267 + Adding simple navbar menu at the top
In theory breadcrumbs would look/feel better to use but for now
this will do to massively improve the UX
2021-10-26 09:57:08 -07:00
api + Adding simple navbar menu at the top 2021-10-26 09:57:08 -07:00
aws * Fixing remaining paths in ansible deploy script 2021-10-22 23:52:18 -07:00
gitpage * Documentation now reflects project's current state 2021-10-23 00:14:41 -07:00
scripts * This patch is just an excuse to mention that the docker registry has been updated 2021-10-23 00:15:20 -07:00
ts + Adding simple navbar menu at the top 2021-10-26 09:57:08 -07:00
.dockerignore * This patch is just an excuse to mention that the docker registry has been updated 2021-10-23 00:15:20 -07:00
.gitattributes * LFS installed for image tracking 2021-10-05 15:54:50 -07:00
.gitignore + Adding build stage for the docker image 2021-10-22 20:41:38 -07:00
.gitlab-ci.yml - Removign fluff job 2021-10-22 22:42:38 -07:00
.gitmodules + Gitpage with hugo 2021-10-16 21:11:09 -07:00
Cargo.lock + Lazy static because we need to start caching 2021-10-22 23:11:24 -07:00
Cargo.toml + Lazy static because we need to start caching 2021-10-22 23:11:24 -07:00
Dockerfile + DOcker image in registry wew lad 2021-10-18 02:18:00 -07:00
readme.md + DOcker image in registry wew lad 2021-10-18 02:18:00 -07:00

Clippable

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

Testing

A docker container is provided:

  • docker pull registry.gitlab.com/shockrah/clippable:latest

Below is the suggested way test things out

  • docker run --rm -p 8482:8482 -it -v /path/to/clips:/media/clips -v /path/to/thumbnails:/media/thumbnails

NOTE: Without proper thumbnails you get the "404" gif everywhere but the videos will still be there.

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.