-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
💡 [FEAT] Highscore Page #79
Comments
Hi @a-usr !
Yes all the info are being saved into
I don't think I can stop tampering even with a binary file but I'll check if it has any effect on the performance Additional points: I'm thinking about implementing a user dashboard just like we have in monkeytype but there's currently not a good support for graphs in the underlying TUI lib so I might have to come up with something myself. I think I can at least currently implement these parts: |
Hey @kraanzu !
May I ask why specifically this directory? Why not
My point was to make it harder to fake a Highscore, as users without programming experience probably wouldn't go through the trouble of figuring out how to edit that specific binary file correctly. For most normal users, just mentioning the words "binary" and "edit" in one sentence is very scary
Yeah, good Idea! |
I'm using this library to store config/data. This also aligns with XDG directory specification I also wasn't aware of this and stored everything in the .config dir before haha. I learned about this from dooit-org/dooit#12 and #48
Yes, I understand. If I take this thing online then it can become a little bit more vulnerable |
This I'll implement after I'm satisfied with the local client. Make sure it has enough features and then I'll use something like appwrite to store the global results also I think the XDG specs are clear now for you? :) |
Yes, after taking a look at #48 I realized that unlike what I thought the config and user data are stored separately from eachother on Linux. The root of this misconception was that I had only used smassh on windows, not on Linux. But thank you for your helpful explanation |
Is your feature request related to a problem? 😢 Please describe.
No
Describe the solution you'd like 🤔
Basically a Tab that displays a Highscore for Words per Minute, and the Accuracy you had when you set the Highscore. That Highscore would of course have to be saved somewhere, so I propose just pickling the number and then saving it in binary in a file next to the config. This has the advantage of making tampering with the highscore more difficult.
Describe alternatives you've considered 🧐
No response
Additional context 📝
Would be nice for the Unixporn community to have. And would thus increase popularity of your project. Also, on a side note, your project got starred by Elkowar, so congrats!
The text was updated successfully, but these errors were encountered: