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
- Host: GitHub
- URL: https://github.com/varppi/amnesiabox
- Owner: varppi
- License: gpl-3.0
- Created: 2025-02-27T09:03:42.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-09T07:25:52.000Z (5 months ago)
- Last Synced: 2025-08-09T08:51:20.629Z (5 months ago)
- Topics: file-hosting, gin-gonic, golang, ramdisk
- Language: CSS
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```