https://github.com/dariubs/radian
simple image server in golang
https://github.com/dariubs/radian
golang image image-server uploader
Last synced: over 1 year ago
JSON representation
simple image server in golang
- Host: GitHub
- URL: https://github.com/dariubs/radian
- Owner: dariubs
- License: apache-2.0
- Created: 2017-10-27T14:49:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-01T08:00:13.000Z (almost 4 years ago)
- Last Synced: 2024-06-20T11:50:44.881Z (almost 2 years ago)
- Topics: golang, image, image-server, uploader
- Language: Go
- Size: 43.9 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# [](https://github.com/dariubs/radian)
[](https://github.com/dariubs/radian/blob/master/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:
```toml
[user]
accesskey = "admin"
privatekey = "123456"
```
2. Build dockerfile and run your container :
```sh
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](license)