Skip to content

TrueMysterious/rimgotest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

rimgo


(This is a forked, actual repo is here )
An alternative frontend for Imgur. Originally based on [rimgu](https://codeberg.org/3np/rimgu). License: AGPLv3 Matrix

Table of Contents

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

Privacy

Imgur collects information about your device and uses tracking cookies for advertising, this is mentioned in their privacy policy. Blacklight found 31 trackers and 87 third-party cookies.

See what cookies and trackers Imgur uses and where your data gets sent: https://themarkup.org/blacklight?url=imgur.com

Usage

Replace imgur.com or i.imgur.com with the instance domain. For i.stack.imgur.com, replace i.stack.imgur.com with the instance domain and add stack/ before the media ID. You can use a browser extension to do this automatically.

Imgur: https://imgur.com/gallery/j2sOQkJ -> https://rimgo.bcow.xyz/gallery/j2sOQkJ Stack Overflow: https://i.stack.imgur.com/KnO3v.jpg?s=64&g=1 -> https://rimgo.bcow.xyz/stack/KnO3v.jpg?s=64&g=1

Instances

Open an issue to have your instance listed here! Instance privacy information is required for the instance list, see Environment variables.

For more details on instance privacy, see https://librarian.codeberg.page/docs/usage/instance-privacy/

Clearnet

To help distribute load, consider using instances other than the official one.

URL Country Provider Privacy Notes
rimgo.pussthecat.org ๐Ÿ‡ฉ๐Ÿ‡ช DE Hetzner โš ๏ธ Data collected
rimgo.totaldarkness.net ๐Ÿ‡จ๐Ÿ‡ฆ CA Vultr โœ… Data not collected
rimgo.bus-hit.me ๐Ÿ‡จ๐Ÿ‡ฆ CA Oracle โœ… Data not collected
rimgo.esmailelbob.xyz ๐Ÿ‡จ๐Ÿ‡ฆ CA OVH โš ๏ธ Data collected
imgur.artemislena.eu ๐Ÿ‡ฉ๐Ÿ‡ช DE Vodafone Deutschland โœ… Data not collected Self-hosted, provider is ISP
rimgo.vern.cc ๐Ÿ‡บ๐Ÿ‡ธ US OVHCloud โœ… Data not collected Edited theme
rim.odyssey346.dev ๐Ÿ‡ซ๐Ÿ‡ท๏ธ FR Trolling Solutions (OVH) โœ… Data not collected
rimgo.privacytools.io ๐Ÿ‡ธ๐Ÿ‡ช SE Cloudflare โœ… Data not collected
i.habedieeh.re ๐Ÿ‡จ๐Ÿ‡ฆ๏ธ CA Oracle Cloud โœ… Data not collected
rimgo.hostux.net ๐Ÿ‡ซ๐Ÿ‡ท๏ธ FR Gandi โš ๏ธ Data collected
ri.zzls.xyz ๐Ÿ‡จ๐Ÿ‡ฑ CL TELEFร“NICA CHILE โœ… Data not collected Self-hosted, provider is ISP
rimgo.marcopisco.com ๐Ÿ‡ต๐Ÿ‡น PT Cloudflare โš ๏ธ Data collected
rimgo.lunar.icu ๐Ÿ‡ฉ๐Ÿ‡ช DE Cloudflare โœ… Data not collected
imgur.010032.xyz ๐Ÿ‡ฐ๐Ÿ‡ท KR Cloudflare โœ… Data not collected
rimgo.kling.gg ๐Ÿ‡ณ๐Ÿ‡ฑ NL RamNode โœ… Data not collected
i.01r.xyz ๐Ÿ‡บ๐Ÿ‡ธ US Cloudflare โœ… Data not collected
rimgo.projectsegfau.lt ๐Ÿ‡ฑ๐Ÿ‡บ LU, ๐Ÿ‡บ๐Ÿ‡ธ US, ๐Ÿ‡ฎ๐Ÿ‡ณ IN See below โœ… Data not collected
rimgo.eu.projectsegfau.lt ๐Ÿ‡ฑ๐Ÿ‡บ LU FranTech Solutions โœ… Data not collected
rimgo.us.projectsegfau.lt ๐Ÿ‡บ๐Ÿ‡ธ US DigitalOcean โœ… Data not collected
rimgo.in.projectsegfau.lt ๐Ÿ‡ฎ๐Ÿ‡ณ IN Airtel โœ… Data not collected

Tor

URL Privacy Notes
rimgo.esmail5pdn24shtvieloeedh7ehz3nrwcdivnfhfcedl7gf4kwddhkqd.onion โœ… Data not collected Onion of rimgo.esmailelbob.xyz
rimgo.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion โœ… Data not collected Onion of rimgo.vern.cc
imgur.lpoaj7z2zkajuhgnlltpeqh3zyq7wk2iyeggqaduhgxhyajtdt2j7wad.onion โœ… Data not collected Onion of imgur.artemislena.eu
rim.odysfvr23q5wgt7i456o5t3trw2cw5dgn56vbjfbq2m7xsc5vqbqpcyd.onion โš ๏ธ Data collected
tdp6uqjtmok723suum5ms3jbquht6d7dssug4cgcxhfniatb25gcipad.onion โœ… Data not collected Onion of rimgo.privacytools.io
i.habeehrhadazsw3izbrbilqajalfyqqln54mrja3iwpqxgcuxnus7eid.onion โœ… Data not collected Onion of i.habedieeh.re
rimgo.zzlsghu6mvvwyy75mvga6gaf4znbp3erk5xwfzedb4gg6qqh2j6rlvid.onion โœ… Data not collected Onion of ri.zzls.xyz
tdn7zoxctmsopey77mp4eg2gazaudyhgbuyytf4zpk5u7lknlxlgbnid.onion/ โœ… Data not collected Onion of rimgo.kling.gg

I2P

URL Privacy Notes
rimgo.i2p โœ… Data not collected i.habedieeh.re on I2P
rimgov7l2tqyrm5txrtvhtnfyrzkc5d7ipafofavchbnnyog4r3q.b32.i2p โœ… Data not collected Same as rimgo.i2p
rimgo.zzls.i2p โœ… Data not collected ri.zzls.xyz on I2P
p57356k2xwhxrg2lxrjajcftkrptv4zejeeblzfgkcvpzuetkz2a.b32.i2p โœ… Data not collected Same as rimgo.zzls.i2p
ovzamsts5czfx3jasbbhbccyyl2z7qmdngtlqxdh4oi7abhdz3ia.b32.i2p โœ… Data not collected rimgo.kling.gg on I2P

Automatically redirect links

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

Redirector

You can use the Redirector extension to redirect Imgur links to rimgo with the configuration below:

  • Description: Imgur -> rimgo
  • Example URL: https://imgur.com/a/H8M4rcp
  • Include pattern: ^https?://i?.?imgur.com(/.*)?$
  • Redirect to: https://rimgo.example.com$1
  • Pattern type: Regular Expression
  • Advanced options:
    • Apply to:
      • Main window (address bar)
      • Images

For Stack Overflow images:

  • Description: Stack Overflow Imgur -> rimgo
  • Example URL: https://i.stack.imgur.com/BTKqD.png?s=128&g=1
  • Include pattern: ^https?://i\.stack\.imgur\.com(/.*)?$
  • Redirect to: https://rimgo.example.com/stack$1
  • Pattern type: Regular Expression
  • Advanced options:
    • Apply to:
      • Images

Install

rimgo can run on any platform Go compiles on.

It is strongly recommended to use Caddy as your reverse proxy. Caddy is simple to configure, automatically manages your TLS certificates, and provides better performance with support for HTTP/2 and /3 (allow UDP port 443 in your firewall to use HTTP/3).

Docker (recommended)

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

Automatic updates

Watchtower can automatically update your Docker containers.

Create a new docker-compose.yml file or add the watchtower section to your existing docker-compose.yml file.

version: "3"
services:
  watchtower:
    image: containrrr/watchtower
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

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/video-prize-ranch/rimgo/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

For more details on instance privacy, see https://librarian.codeberg.page/docs/usage/instance-privacy/

Name Default Note
PORT 3000
ADDRESS 0.0.0.0
IMGUR_CLIENT_ID 546c25a59c58ad7
FORCE_WEBP 0
PRIVACY_POLICY Optional, URL to privacy policy
PRIVACY_MESSAGE Optional, message to display on privacy page
PRIVACY_COUNTRY
PRIVACY_PROVIDER
PRIVACY_CLOUDFLARE
PRIVACY_NOT_COLLECTED
PRIVACY_IP
PRIVACY_URL
PRIVACY_DEVICE
PRIVACY_DIAGNOSTICS

Contributing

Pull requests are welcome! If you have any questions or bug reports, open an issue.

License

This software is released under the AGPL-3.0 license. If you make any modifications to the code and distribute it (including use on a network server), you must publicly distribute your changes and release them under the AGPL-3.0.