Skip to content

Add Cut (self-hosted URL shortener)#914

Open
MendyLanda wants to merge 1 commit into
Dokploy:canaryfrom
MendyLanda:add-cut
Open

Add Cut (self-hosted URL shortener)#914
MendyLanda wants to merge 1 commit into
Dokploy:canaryfrom
MendyLanda:add-cut

Conversation

@MendyLanda
Copy link
Copy Markdown

What is this PR about?

New PR of Cut — a small self-hosted URL shortener (owner-only admin behind a single password, with per-link passwords, expiries, and click limits).

The template runs the published image ghcr.io/mendylanda/cut with a private Redis for storage. template.toml generates the domain and a strong ADMIN_PASSWORD, then maps the cut service to port 3000. Redis runs with noeviction since it holds the actual links rather than cache data, so it shouldn't drop keys when memory fills up. Cut reads the request host at runtime, so nothing else needs configuring.

Added blueprints/cut/ (docker-compose.yml, template.toml, cut.svg) plus the meta.json entry, sorted with node dedupe-and-sort-meta.js. Compose follows the requirements: ports: - 3000 (no host mapping), matching cut service name, no container_name, no custom network.

Checklist

  • I have read the suggestions in the README.md file
  • I have tested the template in my instance (see note below)
  • I have added tests (n/a for a template)

Note on testing: I verified the stack directly with Docker Compose — the image builds, the container serves / and /admin (both 200), and a /api/keepalive write lands in Redis. I don't have a separate Dokploy instance on hand, so I'm relying on this PR's automatic preview deploy to exercise the template itself. Happy to import the preview Base64 and confirm end-to-end if you'd like.

Issues related (if applicable)

None.

Screenshots or Videos

The app running from the same two-container stack (app + redis:7-alpine); the Dokploy preview deploy will show it inside Dokploy.

@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. new-template labels May 31, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 31, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview 41e8112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-template size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant