Back to services

mikochi

Browse remote folders, upload files, delete, rename, download and stream files to VLC/mpv.

View alternatives to mikochi
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Mikochi is a minimalist remote file browser for self-hosted server and NAS users. It offers a lightweight web interface for managing files on your server remotely, and it can generate streaming links so that players such as VLC and mpv can play media online, with no need to download the files locally first. The project is open source under the MIT license.

Key Features

  • Browse files and directories on a remote server
  • Fuzzy search to locate files quickly
  • Upload new files and create new folders
  • Rename and delete files
  • Download individual files, or download an entire directory packed as a .tar.gz
  • Generate streaming links to play in VLC/MPV
  • The frontend is a lightweight web interface built with Preact
  • The backend is a high-performance service built with Go/Gin

Target Users and Use Cases

It suits individual users and self-hosting enthusiasts who have a home server, NAS or VPS: people who want to manage remote files simply from a browser without deploying a heavyweight, feature-packed solution like Nextcloud. It is also a good fit for streaming the video and audio files on your server straight to a local player.

Core Strengths

  • Minimal and lightweight: it only handles file management and streaming, with a clean interface and low resource usage
  • Many deployment options: supports Docker, Kubernetes (Helm Chart), deb/rpm packages and prebuilt binaries
  • Multi-architecture images: Docker images are available for amd64, arm64 and armv7, making it suitable for ARM devices such as the Raspberry Pi
  • Simple configuration: all configuration is done through environment variables

Installation and Deployment

Docker

docker run -p 8080:8080 -v $(PWD)/data:/data \
  -e DATA_DIR="/data" -e USERNAME=zer0tonin \
  -e PASSWORD=horsebatterysomething zer0tonin/mikochi:latest

The author has also written a complete tutorial on securely deploying Mikochi with Docker and Traefik.

Kubernetes

helm repo add zer0tonin https://zer0tonin.github.io/helm-charts/
helm install mikochi zer0tonin/mikochi --set mikochi.username=zer0tonin \
  --set mikochi.password=my_super_password --set persistence.enabled=true

Linux Packages or Binaries

The GitHub Releases page provides .deb (Debian/Ubuntu/Mint) and .rpm (Fedora/RHEL/CentOS) packages, as well as prebuilt tar.gz binaries. After installing, create the /data directory and run PASSWORD=xxx mikochi to start it.

Configuration (Environment Variables)

VariableDescriptionDefault
HOSTThe ip:port to listen on0.0.0.0:80
DATA_DIRThe directory managed by Mikochi/data
JWT_SECRETSecret key used to verify JWTsRandomly generated
USERNAMELogin usernameroot
PASSWORDLogin passwordpass
CERT_CA / CERT_KEYPath to the TLS certificate and the path to its private keyEmpty
NO_AUTHWhen set to true, disables all authenticationfalse
GZIPWhen set to true, enables gzip compressionfalse
FRONTEND_FILESLocation of the frontend static files/usr/share/mikochi/static

Noteworthy Points

  • The official recommendation is not to set JWT_SECRET manually. A new random secret is generated on every start, so restarting the process invalidates all login tokens that have been issued.
  • The default credentials are root/pass, so be sure to change them when deploying.
  • You can configure a TLS certificate directly to enable HTTPS, or run it behind a reverse proxy such as Traefik.