# rimgo An alternative frontend for Imgur. Originally based on [rimgu](https://codeberg.org/3np/rimgu). License: AGPLv3 Matrix CI ## 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](https://pagespeed.web.dev/). | | [rimgo](https://pagespeed.web.dev/report?url=https%3A%2F%2Fi.bcow.xyz%2Fgallery%2FgYiQLWy) | [Imgur](https://pagespeed.web.dev/report?url=https%3A%2F%2Fimgur.com%2Fgallery%2FgYiQLWy) | | ------------------- | ------- | --------- | | 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](https://i.bcow.xyz) (official) | πŸ‡¨πŸ‡¦οΈ CA, πŸ‡³πŸ‡±οΈ NL, πŸ‡ΈπŸ‡¬οΈ SG | | | [rimgo.pussthecat.org](https://rimgo.pussthecat.org) | πŸ‡©πŸ‡ͺ DE | | | [rimgo.totaldarkness.net](https://rimgo.totaldarkness.net) | πŸ‡¨πŸ‡¦ CA | | | [rimgo.bus-hit.me](https://rimgo.bus-hit.me) | πŸ‡¨πŸ‡¦ CA | | | [rimgo.esmailelbob.xyz](https://rimgo.esmailelbob.xyz) | πŸ‡¨πŸ‡¦ CA | | | [rimgo.lunar.icu](https://rimgo.lunar.icu) | πŸ‡©πŸ‡ͺ DE | 😒 | | [i.actionsack.com](https://i.actionsack.com) | πŸ‡ΊπŸ‡Έ US | 😒 | | [rimgo.privacydev.net](https://rimgo.privacydev.net) | πŸ‡ΊπŸ‡Έ US | | | [imgur.artemislena.eu](https://imgur.artemislena.eu) | πŸ‡©πŸ‡ͺ DE | | | [rimgo.vern.cc](https://rimgo.vern.cc) ([edited theme](https://git.vern.cc/root/modifications/src/branch/master/rimgo) | πŸ‡¨πŸ‡¦οΈ CA | | | [rimgo.encrypted-data.xyz](https://rimgo.encrypted-data.xyz/) | πŸ‡«πŸ‡·οΈ FR | 😒 | ### Tor | URL | Country | | :-- | :------ | | [rimgo.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd.onion](http://rimgo.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd.onion) (onion of rimgo.esmailelbob.xyz) | πŸ‡¨πŸ‡¦ CA | | [rimgo.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion](http://rimgo.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion) (onion of rimgo.vern.cc) | πŸ‡¨πŸ‡¦ CA | ## Automatically redirect links ### LibRedirect Use [LibRedirect](https://github.com/libredirect/libredirect) to automatically redirect Imgur links to rimgo! - [Firefox](https://addons.mozilla.org/firefox/addon/libredirect/) - [Chromium-based browsers (Brave, Google Chrome)](https://github.com/libredirect/libredirect#install-in-chromium-brave-and-chrome) - [Edge](https://microsoftedge.microsoft.com/addons/detail/libredirect/aodffkeankebfonljgbcfbbaljopcpdb) ### 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](https://codeberg.org/zortazert/GreaseMonkey-Redirect/src/branch/main/imgur-to-rimgo.user.js) ## Install rimgo can run on any platform Go compiles on. ### Docker (recommended) Install [Docker](https://docs.docker.com/engine/install/) and [docker-compose](https://docs.docker.com/compose/install/), 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.