Add README, LICENSE

This commit is contained in:
3nprob
2021-10-07 01:19:35 +09:00
parent 01b6581275
commit 5fdf892e1f
4 changed files with 713 additions and 2 deletions

49
README.md Normal file
View File

@@ -0,0 +1,49 @@
# rimgu: image host alternative frontend
## rimgu is an alternative frontend / proxy for imgur
It's read-only and works without browser JavaScript. Images and albums can be viewed without wasting resources and anyonymity from downloading and running tracking scripts. No sign-up nags.
It's lightweight and easy to configure.
Inspired by and (soon) integratable with:
* [searx](https://github.com/searx/searx)
* [teddit](https://codeberg.org/teddit/teddit)
* [Privacy Redirect](https://github.com/SimonBrazell/privacy-redirect)
* [nitter](https://github.com/zedeus/nitter)
* [bibliogram](https://sr.ht/~cadence/bibliogram/)
## Building
### Locally
Dependencies:
* node.js >= v16 (earlier most likely works fine)
```
$ npm install && npm run build
```
### Docker
```
$ docker build -t rimgu:latest .
```
## Running
### Locally
```
$ node dist/index.js
```
### Docker
```
$ docker run -p 8080:8080 -e -it RIMGU_ADDRESS=0.0.0.0 -e RIMGU_PORT=8080 rimgu:latest
```
## Configuration
Rimgu is configured via environment variables. See available variable in [src/config.ts](./src/config.ts).