An open API service indexing awesome lists of open source software.

https://github.com/varppi/amnesiabox

Ram only static content hosting server written in Go
https://github.com/varppi/amnesiabox

file-hosting gin-gonic golang ramdisk

Last synced: 5 months ago
JSON representation

Ram only static content hosting server written in Go

Awesome Lists containing this project

README

          

# AmnesiaBox
**Minimalistic ram only static content hosting server written in Go.**

# Installation & usage
```
git clone https://github.com/Varppi/amnesiabox
cd amnesiabox
go run ./cmd/server/server.go
```
The rest you can figure out on your own.

# Configuration
**Method 1 (command line parameters):**
```
-cert string
ssl public certificate path
-disable-captcha
disables login and upload captcha
-hidehosted
enable or disable showing sites hosted
-key string
ssl private key path
-l string
listener (127.0.0.1:8080)
-open
make anyone be able to run a site without password
-password string
global password that you need to upload a site
-sizelimit int
size limit for the file uploads (default 10485760)
```

**Method 2 (configuration file):**
```
open=true/false
hidehosted=true/false
disablecaptcha=true/false
listener=127.0.0.1:8080
cert=/path
key=/path
password=pass
sizelimit=1024
```