matze / matze/wastebin

Full URL on paste insert

Open
#121 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When inserting a new paste the url generated to be copied only contains the path of the paste.
It would be better to include the complete url (base url + path).

I have a specific use case where my pastes are generated on a local lan which has a different domain than the public one. Right now when I share a paste the browser includes the local domain when I create a new paste, that is not available on the public internet.

I can make a pull request if you consider this a valid change

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.

Research direction

Start by tracing the paste insertion flow to find where the URL to copy is generated. Verify the result includes both the configured base URL and the paste path, including when the service runs on a local LAN domain, then test that the copied link uses the intended public address.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.