Mirror of the twinemedia-backend GitHub repository
Find a file
2025-07-19 20:44:48 -04:00
docs unfinished API doc source 2021-03-26 14:41:18 -04:00
gradle/wrapper Version 1.5.0 (WOOOO!) 2021-07-27 20:56:46 -04:00
src/main Use int64 for max upload size config 2025-07-19 20:44:48 -04:00
.gitignore ignore rendered docs 2021-03-26 14:39:49 -04:00
build.gradle.kts Make it compile again, update to JDK 11 2025-07-19 20:43:45 -04:00
CHANGELOG fix small typo 2022-08-05 20:35:13 -04:00
gradlew Version 1.5.0 (WOOOO!) 2021-07-27 20:56:46 -04:00
gradlew.bat Version 1.5.0 (WOOOO!) 2021-07-27 20:56:46 -04:00
LICENSE Initial commit 2019-12-21 21:50:04 -05:00
README.md add mirror link 2023-01-02 17:48:47 -05:00
settings.gradle.kts format gradle files and bump up library versions 2020-07-22 11:29:19 -04:00

twinemedia-backend

Backend for TwineMedia, a fully featured personal media management web application

Prerequisites

You will need the following to run TwineMedia:

  • Java 8 or higher
  • A PostgreSQL instance
  • A machine running Windows, Mac, or Linux (you can use BSD if you compile Argon2-jvm for it, but it's not officially supported and won't work out of the box)
  • A Twine instance running version 2.0 or later
  • FFmpeg

Compiling

To compile, run ./gradlew build (Mac, Linux) or gradlew.bat build (Windows). The compiled module will be in build/libs/.

Installation

To install, download (or compile) the TwineMedia module jar and put it into Twine's modules/ directory.

Before running the installer, make sure to set server.websocket.enable to true in twine.yml to true.

Once you have the module, run Twine with the --twinemedia-install option. You will be guided through the installation process.

Once it is installed, download or compile the frontend and place it into any domain directory in Twine. Make sure that directory's notFound document is index.html, and that it has ignore404 enabled in the domains.yml config.

Once that is all setup, start Twine and visit the frontend in your browser, sign in, and start using TwineMedia.

API Documentation

API documentation is an ongoing effort, but due to lack of time, it is not currently available. If you want to learn how to do something with the API, you can look at what's going on with the frontend's API access using your browser's network tab.

The backend source includes documentation for API routes in every controller as well, so you can look at those for reference until a proper API document is created.

Mirror

This repository's code is mirrored on git.termer.net. It is synced every 8 hours.