schollz / cowyo

A feature-rich wiki webserver for minimalists :cow: :speech_balloon:
https://cowyo.com/
MIT License
926 stars 67 forks source link

Add self destructing messages #30

Closed schollz closed 8 years ago

schollz commented 8 years ago

If selfdestruct appears at any time, close websocket. Store page in a new one-time db. Delete original. Make new one-time view that upon viewing will delete page

schollz commented 8 years ago

Simpler yet: just add new route that reroutes to view and then deletes page. Basically it first does a go delete that deletes in 1 second and then rerouted the page before it disappears