PROGRADE-Tech / Tarchivebot

:page_with_curl: Telegram chat message archive and statistics
https://tarchive.neat.moe
GNU Affero General Public License v3.0
10 stars 4 forks source link

Share filtered table contents without API key #34

Open Hoi15A opened 7 years ago

Hoi15A commented 7 years ago

The idea is that you can filter some stuff in the table and then click a share button that would copy an url to share which can be used to display said stuff without requiring the API key of the chat.

fuerbringer commented 7 years ago

I like that idea alot. So basically we'd need to save the current view (in JSON) on the server side somehow.

For the URL that gets generated I suggest something like: https://<host>/share/table/d3a3ff16cdaeee94d3a3ff16cdaeee94. The last part being an unique ID. 32 Chars should be good enough to prevent bruteforcing, right?