Simple media hosting system written in kotlin.

Related tags

App kotlin media webapp
Overview

media-server

This project is a simple media server implementation that allows you to upload and share files. This project was made in Kotlin and HTML, it is nowhere near complete and is not intended to be used in any production or for any public application, this project was made to learn and share.

Features:

  • Independant (no need for nginx etc...)
  • Out of the box functionallity.
  • Authentication for uploading
  • Username and password hashing (extra security)
  • File persistance on disk

How to run:

  1. Change variables in the code to your specifications, (username, password, hash method, etc...)
  2. Build jar.
  3. Upload jar to server or intended destination.
  4. Run jar.

Usage:

  • /upload - Main page where you can upload files. (Requires login)
  • /uploads/{id} - Pages where uploaded media can be accessed.
  • /list - Page where all uploads can be listed. (Requires login)

Docker

Get from repo:

  1. Run docker pull orf1/media-server
  2. Run docker run -p 80:80 -t orf1/media-server

Build from src:

  1. Download repository.
  2. Run ./gradlew installDist
  3. Build docker image with docker build -t orf1/media-server
  4. Deploy docker image with docker run -p 80:80 orf1/media-server

You can also pass in enviroment variables for the username and password hashes. MEDIA_SERVER_PASSWORD_HASH MEDIA_SERVER_USERNAME_HASH

Images

Upload Screen Shot

View Screen Shot

This project is licensed under the MIT License.

You might also like...
Android app with a simple NFC payment system to manage visitor consumption at short-duration events and festivals. (Research project)
Android app with a simple NFC payment system to manage visitor consumption at short-duration events and festivals. (Research project)

Clevent Também disponível em Português Clevent is an Android application developed for a Undergraduate Research that uses NFC technology to create a p

Phone booking system with kotlin

phone-booking-system Too lazy to introspect openapi? No worries, basic CURLs below; however, one needs to start the docker-compose file located in the

Sae Hoon Scheduling System With Kotlin
Sae Hoon Scheduling System With Kotlin

SaeHoonSchedulingSystem 약속을 편하게 관리할 수 있는 안드로이드 어플리케이션 입니다. Getting Started / 어떻게 시작하나요? SaeHoon's Scheduling System Api Server를 먼저 실행 후 Android Studio

MyTraining - Application project for Android system using Kotlin
MyTraining - Application project for Android system using Kotlin

MyTraining Projeto de aplicação para sistema Android utilizando linguagem Kotlin

A simple android Twitter client written in Kotlin
A simple android Twitter client written in Kotlin

Blum Blum is an unofficial, simple, fast Twitter client written in Kotlin. This project is a complete rewrite of the Java version. Screenshot Build To

Simple blockchain example written in Kotlin

Blockchain in Kotlin This is a plain example how Cryptographic blockchains work by constructing a blockchain containing three blocks. Once constructed

A simple android app written in Kotlin to get defination of word entered from Free Dictionary API.
A simple android app written in Kotlin to get defination of word entered from Free Dictionary API.

FlashCard A simple android app written in Kotlin to get defination of word entered from Free Dictionary API. Problem Statement Many of students don't

A simple login and logout Android application written in Kotlin

A simple login and logout Android application written in Kotlin. It authorizes user using an api and shows profile screen.

Simple Notes app, MVVM with Google Architectural components Room database, LiveData and ViewModel. Written in Kotlin using androidx libraries
Simple Notes app, MVVM with Google Architectural components Room database, LiveData and ViewModel. Written in Kotlin using androidx libraries

Simple Notes app, MVVM with Google Architectural components Room database, LiveData and ViewModel. Written in Kotlin using androidx libraries. Implemented Firebase Auth and Database, and used Room database

Owner
null
HyperUPnP is Android Application that lets you to Stream Media from PC, NAS or any other device running UPnP/DLNA compliant media server to your Android Device.

Hyper UPnP Android UPnP/DLNA client Stream Media from PC, NAS or any other device running UPnP/DLNA compliant media server to your Android Device. Int

Var Bhat 8 Jul 17, 2022
Simple app to Transfer Media and Text from computer to mobile.

TransferByte Simple app to Transfer Media and Text from computer to mobile.Written in kotlin. Recycler view used for listing the media posted and down

AFIL K UMMER 3 Jun 15, 2021
A fully functional social media app built with Kotlin (Android Studio) with multiple features

A social media app built with Kotlin (Android Studio) with multiple features ?? If you like this repo, give it a star ✨ and share ????‍?? it to your f

ThanhPhong 9 Dec 13, 2022
🐦 Loritta's Social media relayer via Discord Webhooks micro-service

?? SocialRelayer ?? SocialRelayer is a social media relayer to Discord via webhooks, pulling Loritta's guild configurations to automatically register

Loritta 6 Jun 2, 2022
A minimalist clone of the popular Social Media Platform "Instagram"

InstaLocal A minimalist clone of the popular Social Media Platform "Instagram" powered by Firebase and written in Kotlin. The app allows users to sign

Raktim Bhuyan 1 Nov 7, 2021
H4SGTAG MANAGER - CRUD that saves hashtags for social media

H4SGTAG_MANAGER CRUD that saves hashtags for social media made using android stu

Aldo Malacara 0 Jan 13, 2022
Picker-kt - Media picker library powered by Jetpack Compose

ANDROID LIBRARY PickerKT A media picker library for Android apps powered by Jetp

Tanawin Wichit 20 Jan 2, 2023
Social media app but with new features like translate messages and posts , support video & images as posts , chat and notifications , etc...

social-media-app Social media app but with new features like translate messages and posts , support video & images as posts , chat and notifications ,

Kareem Aboelatta 15 Dec 13, 2022
Is a new version of code for my (Social media app) with Clean Architecture

Is a new version of code for my Social media app with Clean Architecture. I used most of Clean code tips with android, SOLID principles and design-patterns..

Kareem Aboelatta 20 Dec 13, 2022
An Android app to stream and download your media stored in Google Drive in an Awesome way !!

⚡ Thunder : An Android app to stream and download your media stored in Google Drive in an Awesome way !! (Just Movies for now) ?? Getting Started : Le

null 278 Jan 5, 2023