dariubs / radian

simple image server in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Radian

Apache License

Simple image server in golang.

Docker quick start

One of the quickest ways to get Radian up and running on your machine is by using Docker.

  1. Edit user info in config.toml file:
[user]
accesskey = "admin"
privatekey = "123456"
  1. Build dockerfile and run your container :
docker build -t radian .
docker run -d -p 2112:2112 --volume /path/to/your/storage:/data --name radian-server radian

admin routes

(authentication needed)

/upload/sendfile: Upload from postfile /upload/byurl: Upload from url /upload: Simple gui for manual upload

Public routes

/show/:filename: Show file /resize/thumbnail/:width/:height/:filename: Show thumbnail

and more ...

License

Published under Apache License 2.0

About

simple image server in golang

License:Apache License 2.0


Languages

Language:Go 89.5%Language:HTML 5.6%Language:Shell 2.4%Language:Dockerfile 2.2%Language:Makefile 0.3%