Nomploy Nomad Packs

← All packs

redlib v0.1.0

Networking

Redlib — a private, lightweight, ad-free front-end for Reddit: browse without JavaScript, tracking or accounts. Deployed as a single stateless host-networked Nomad service.

nomad-pack run redlib --registry nomploy
…or one line (add registry + run)
curl -fsSL https://packs.nomploy.com/install.sh | sh -s -- redlib

Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.

1 task http 8080 image quay.io/redlib/redlib:latest tracks :latest image bumped today
Variables 7
values.hcl

Save as values.hcl, edit, then run:

nomad-pack run redlib -f values.hcl --registry nomploy
# The name of the Nomad job.
job_name = "redlib"

# The Nomad namespace to deploy into.
namespace = "default"

# The datacenters to deploy to.
datacenters = ["*"]

# The Redlib container image. Pin a tag in production.
image = "quay.io/redlib/redlib:latest"

# Host port for the Redlib web UI.
port = 8080

# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []

# The task resources.
resources = {
    cpu    = 300
    memory = 256
  }
NameTypeDefaultDescription
job_name string
"redlib"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"quay.io/redlib/redlib:latest"
The Redlib container image. Pin a tag in production.
port number
8080
Host port for the Redlib web UI.
constraints list
[]
Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
resources object
{
    cpu    = 300
    memory = 256
  }
The task resources.
Readme

redlib

Redlib — a private, lightweight, ad-free front-end for Reddit. Browse posts and comments with no JavaScript, no tracking and no account, on a fast, clean UI. A maintained successor to Libreddit.

Single stateless host-networked Nomad service (no volume; per-user preferences are stored in the browser).

Deploy

nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run redlib --registry=nomploy

Configure

Variable Default Description
port 8080 Web UI port.
image quay.io/redlib/redlib:latest Container image. Pin a tag in production.
resources { cpu = 300, memory = 256 } Task resources.

Set instance-wide defaults with REDLIB_* env vars (e.g. REDLIB_DEFAULT_THEME, REDLIB_DEFAULT_SHOW_NSFW) by adding them to the task. Being stateless, it needs no storage and scales horizontally — put it behind a reverse proxy over TLS for public use. Note Reddit periodically rate-limits public instances.