LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.31k stars 883 forks source link

Random instead of incremental post IDs #1272

Open eiclu opened 4 years ago

eiclu commented 4 years ago

For front end issues, use lemmy-ui

Is your proposal related to a problem?

Right now Post IDs start at one and will be simply counted up. This has some drawbacks:

Describe the solution you'd like

Multiple possibilities:

dessalines commented 4 years ago

https://hashids.org/ is what you're looking for there, which we might potentially add at some point for the urls. But overall the scraping / iterative concerns aren't too big a deal to me, because everything is publicly available right now. Once we implement proper private communities, then access will be denied to even those who know a URL.

Nutomic commented 3 years ago

This is actually a duplicate of https://github.com/LemmyNet/lemmy/issues/1101 (both are talking about the same IDs).

Nutomic commented 3 years ago

Reopening this as its the general issue, #1101 is only about the activitypub part (which is really a followup to this issue).

dullbananas commented 5 months ago

Link-private posts can be done using a random string that must be included in the URL to see the post