thrownness / readthis.space

Decentralized throwaway authoring platform
https://readthis.space
MIT License
24 stars 11 forks source link

[Discussion] add an optional expiration for articles #4

Open thrownness opened 4 years ago

thrownness commented 4 years ago

Using https://gun.eco/docs/Forget

Instead of posting this: gun.get('readthis.space#').get(articleHash).put(authorPubKey)

We post this: gun.get('readthis.space#<?86400').get(articleHash).put(authorPubKey)

And the article index then gets removed. Article still lives on user namespace, but the link will no longer work.

thrownness commented 4 years ago

Is this needed now that Authors can easily just delete their articles? This expiration feature would merely have the improvement of eventually pruning the index so it doesn't become absurdly massive.