HalosGhost / pandabin

A self-hostable, simple and fast pastebin written in C
GNU General Public License v3.0
3 stars 0 forks source link

Publicly index pastes / mark pastes as private #12

Open HalosGhost opened 7 years ago

HalosGhost commented 7 years ago

There will never be a universal index, but this might be useful as an alternative for short ids (which we have no plans to support).

e.g., we could select the paste to display using LIKE %<hash> so that a user can specify a partial hash and if it's not ambiguous, we can still display the paste; if it is ambiguous, we could display a list of publicly-indexed pastes that could have been intended (This is decently complex, and might lead to people sharing links that would not remain consistently available (just like short ids would) which is not great. I am open to alternative suggestions).