Go to file
video-prize-ranch 351dc1b863
Add registry URL
2022-08-11 16:24:34 -04:00
.woodpecker Add registry URL 2022-08-11 16:24:34 -04:00
api Fix tag backgrounds 2022-07-22 12:20:51 -04:00
pages Add support for .env configuration and privacy page (closes #44) 2022-08-04 19:41:55 -04:00
static Set font-display to optional (closes #44) 2022-08-08 17:57:33 -04:00
utils Add support for .env configuration and privacy page (closes #44) 2022-08-04 19:41:55 -04:00
views Improve post image size 2022-08-04 20:14:17 -04:00
.dockerignore Add Dockerfile 2021-10-07 01:01:36 +09:00
.env.example Add support for .env configuration and privacy page (closes #44) 2022-08-04 19:41:55 -04:00
.gitignore Add support for .env configuration and privacy page (closes #44) 2022-08-04 19:41:55 -04:00
Dockerfile Add support for .env configuration and privacy page (closes #44) 2022-08-04 19:41:55 -04:00
LICENSE Add README, LICENSE 2021-10-07 01:19:35 +09:00
README.md Add support for .env configuration and privacy page (closes #44) 2022-08-04 19:41:55 -04:00
docker-compose.yml Switch to codeberg.org for registry 2022-08-11 15:57:23 -04:00
go.mod Update modules 2022-08-04 19:57:50 -04:00
go.sum Update modules 2022-08-04 19:57:50 -04:00
instances.json Fixed url 2022-07-26 13:52:33 +01:00
main.go Add support for .env configuration and privacy page (closes #44) 2022-08-04 19:41:55 -04:00

README.md

rimgo

An alternative frontend for Imgur. Originally based on rimgu.

License: AGPLv3 Matrix

Features

  • Lightweight
  • No JavaScript
  • No ads or tracking
  • No sign up or app install prompts
  • Bandwidth efficient - automatically uses newer image formats (if enabled)

Comparison

Comparing rimgo to Imgur.

Speed

Tested using Google PageSpeed Insights.

rimgo Imgur
Performance 91 28
Request count 29 340
Resource Size 218 KiB 2,542 KiB
Time to Interactive 1.6s 23.8s

Instances

Open an issue to have your instance listed here!

Clearnet

URL Country Cloudflare
i.bcow.xyz (official) 🇨🇦 CA, 🇳🇱 NL, 🇸🇬 SG
rimgo.pussthecat.org 🇩🇪 DE
rimgo.totaldarkness.net 🇨🇦 CA
rimgo.bus-hit.me 🇨🇦 CA
rimgo.esmailelbob.xyz 🇨🇦 CA
rimgo.lunar.icu 🇩🇪 DE 😢
i.actionsack.com 🇺🇸 US 😢
rimgo.privacydev.net 🇺🇸 US
imgur.artemislena.eu 🇩🇪 DE
rimgo.vern.cc (edited theme) 🇨🇦 CA
rimgo.encrypted-data.xyz 🇫🇷 FR 😢
rimgo.mha.fi 🇫🇮 FI

Tor

URL Country
rimgo.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd.onion (onion of rimgo.esmailelbob.xyz) 🇨🇦 CA
rimgo.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion (onion of rimgo.vern.cc) 🇨🇦 CA
rimgo.micohauwkjbyw5meacrb4ipicwvwg4xtzl7y7viv53kig2mdcsvwkyyd.onion (onion of rimgo.mha.fi) 🇫🇮 FI

LibRedirect

Use LibRedirect to automatically redirect Imgur links to rimgo!

GreaseMonkey script

There is a script to redirect Imgur links to rimgo. https://codeberg.org/zortazert/GreaseMonkey-Redirect/src/branch/main/imgur-to-rimgo.user.js

Install

rimgo can run on any platform Go compiles on.

Install Docker and docker-compose, then clone this repository.

git clone https://codeberg.org/video-prize-ranch/rimgo
cd rimgo

Edit the docker-compose.yml file using your favorite text editor.

nvim docker-compose.yml

You can now run rimgo.

sudo docker-compose up -d

Build from source

Requirements

  • Go v1.16 or later

Clone the repository and cd into it.

git clone https://codeberg.org/video-prize-ranch/rimgo
cd rimgo

Build rimgo.

go build

You can now run rimgo.

./rimgo

To include version information use:

go build -ldflags "-X codeberg.org/librarian/librarian/pages.VersionInfo=$(date '+%Y-%m-%d')-$(git rev-list --abbrev-commit -1 HEAD)"

(optional) You can use a .env file to set environment variables for configuration.

cp .env.example .env
nvim .env

Configuration

rimgo can be configured using environment variables. The path to the .env file can be changed the -c flag.

Environment variables

Name Default
PORT 3000
ADDRESS 0.0.0.0
IMGUR_CLIENT_ID 546c25a59c58ad7
FORCE_WEBP 0
PRIVACY_POLICY
PRIVACY_MESSAGE
PRIVACY_COUNTRY
PRIVACY_PROVIDER
PRIVACY_CLOUDFLARE
PRIVACY_NOT_COLLECTED
PRIVACY_IP
PRIVACY_URL
PRIVACY_DEVICE
PRIVACY_DIAGNOSTICS

Contributing

Pull requests are welcome!

This software is released under the AGPL 3.0 license. In short, this means that if you make any modifications to the code and then publish the result (e.g. by hosting the result on a web server), you must publicly distribute your changes and declare that they also use AGPL 3.0.