omgur

module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: AGPL-3.0

README

omgur

pipeline status

Omgur is a free and open-source alternative Imgur front-end focused on privacy.

Inspired by the Invidious, Nitter, and Teddit projects.

  • No JavaScript or ads
  • All requests go through the backend, client never talks to Imgur
  • Prevents Imgur from tracking your IP or JavaScript fingerprint
  • Lightweight
  • Self-hostable

Features roadmap

Far-future roadmap

  • Render comments on Imgur posts
  • Frontpage imgur url form
  • Public API endpoints

Installation

Docker

Using Docker and docker-compose:

docker-compose build
docker-compose up

Omgur should now be running at http://localhost:8080.

Prebuilt images are also available at registry.geraldwu.com/gerald/omgur:latest and registry.gitlab.com/98wug/omgur:latest.

Manual
  1. Install Golang.
  2. (Optional) Install redis-server. Caches images from imgur – highly recommended.
  3. Clone and set up the repository.
git clone https://git.geraldwu.com/gerald/omgur
cd omgur
go mod init git.geraldwu.com/gerald/omgur
go mod tidy
go build -v -a ./cmd/omgur
export REDIS_HOST=localhost
redis-server
./omgur

Omgur should now be running at http://localhost:8080. It is possible to change the listening port with the OMGUR_LISTEN_PORT environment variable if you already have services using the default port 8080.

Directories

Path Synopsis
cmd
pkg
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL