Custom slugs

Open
#207 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
backend

Research direction

The issue does not name files or tests. Start by locating where paste IDs or slugs are generated and where instance settings are defined, then clarify how custom slugs, collisions, validation, and title-based defaults should work. Done means users can choose a URL slug reliably and the requested default behavior is covered by tests.

Written by the indexing model from the issue text.

Description

feature-request

Hi! I recently moved from Microbin to Wastebin, and I'm loving it so far.
What I am sorely missing from Microbin are custom slugs. i.e., the option to specify what goes into the URL..
e.g. bin.orangc.net/list-of-fish-i-like instead of being forced to use the random ID such as bin.orangc.net/9dplEggTQPd.

It would be awesome to see this in Wastebin.

Edit: perhaps an option in the instance settings to default the ID to be the title name?

Dominant language
Rust
Stars
860
Forks
63
Avg merge
10h 47m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from matze/wastebin

All issues in matze/wastebin

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.