Friday, 5 July 2024

Show HN: Tab vs. Space, vote for your empty space https://bit.ly/3RVKtC4

Show HN: Tab vs. Space, vote for your empty space Hello guys. I built a simple voting app Tab vs Space. I am using turso.tech (libsql) and Nuxt 3. I was planning to use websocket but it's just too complicated and just went with long-polling every 5 seconds to get the data and deploy it to cloudflare pages/worker. There is no need to login and also no IP tracking. I use installation id and save it to cookies, so basically you can clear cookies to get a new installation id. I don't know a better way to get unique user without being "intrusive" but if you have a better idea please do give one. You can check the source code here https://bit.ly/3RSrWXy Thank you https://bit.ly/3YaYb8n July 6, 2024 at 03:31AM

No comments:

Post a Comment