Go to file
video-prize-ranch b081604e00
Remove instance (outdated) [skip ci]
2022-06-20 15:54:09 -04:00
api Improve code reuse 2022-05-23 11:10:50 -04:00
pages Add documentation for FORCE_WEBP 2022-06-04 20:56:04 -04:00
static Add 404 page 2022-05-23 11:30:17 -04:00
types Display tags in posts (#11) 2022-02-21 12:14:00 -05:00
utils Improve code reuse 2022-05-23 11:10:50 -04:00
views L: Fix Redirector config. 2022-06-07 14:21:32 +02:00
.dockerignore Add Dockerfile 2021-10-07 01:01:36 +09:00
.gitignore First commit: /a/, /gallery/, images, gifv 2021-10-07 01:00:58 +09:00
.gitlab-ci.yml Add deploy stage [skip ci] 2022-06-04 19:48:31 -04:00
Dockerfile Optimize CI 2022-06-03 18:45:14 -04:00
LICENSE Add README, LICENSE 2021-10-07 01:19:35 +09:00
README.md Remove instance (outdated) [skip ci] 2022-06-20 15:54:09 -04:00
docker-compose.yml Remove file configuration 2022-04-22 12:05:22 -04:00
go.mod Update dependencies 2022-04-22 11:59:32 -04:00
go.sum go mod tidy 2022-04-22 12:10:59 -04:00
instances.json Improve instances.json file (#39) [skip ci] 2022-06-16 16:45:38 +02:00
main.go Add Cache-Control to static files 2022-06-18 12:21:22 -04:00

README.md

rimgo

An alternative frontend for Imgur. Based on rimgu and rewritten in Go.

License: AGPLv3 Matrix CI

It's read-only and works without JavaScript. Images and albums can be viewed without wasting resources from downloading and running tracking scripts. No sign-up nags.

Features

  • URL-compatible with i.imgur.com - just replace the domain in the URL
  • Images and videos (gifv, mp4)
  • Galleries with comments
  • Albums
  • User page
  • Tag page
  • Bandwidth efficient - automatically use WebP with the FORCE_WEBP environment variable

Some things left to implement (contributions welcome!):

  • Streaming (currently media is downloaded in full in rimgu before it's returned)
  • Localization/internationalization
  • Pretty CSS styling (responsive?)
  • Support for other popular image sites
  • Filtering and exploration on user/tags pages
  • Responsive scaling of videos on user/tags pages
  • Logo

Things that are considered out of scope:

  • Uploading, commenting, voting, etc - rimgo is read-only.
  • Authentication, serving HTTPS, rate limiting, etc - Use a reverse proxy or load balancer like Caddy, Traefik, or NGINX.
  • Anything requiring JavaScript or the client directly interacting with upstream servers.

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 😢

Tor

URL Country
rimgo.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd.onion 🇨🇦 CA
rimgo.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion 🇨🇦 CA

I2P

URL Country
xazdnfgtzmcbcxhmcbbvr4uodd6jtn4fdiayasghywdn227xsmoa.b32.i2p 🇦🇺 AU

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

Configuration

rimgo can be configured using environment variables.

Environment variables

Name Default
PORT 3000
ADDRESS 0.0.0.0
IMGUR_CLIENT_ID 546c25a59c58ad7
FORCE_WEBP 0

Contributing

PRs are welcome! You can also send patches to cb.8a3w5@simplelogin.co but pull requests are preferred.

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.