[go: up one dir, main page]

Skip to content

dariubs/radian

Repository files navigation

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