Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
K-ASS25451yIf you want to add a button style, feel free to open an issue or pull request at https://github.com/txstc55/...
-
Is this the part where we wildly start pressing our buttons and masturbate?
Button Hub xD -
K-ASS25451y@IntrusionCM button hub is a great name, should have thought about that.
There is a rate limit at which you can press your button though, but the counter is updated in real time -
K-ASS25451y@AlgoRythm unfortunately I can’t because I don’t actually have a backend, I will just roll back this.
I thought about people might do this, but I’m not profiting any more so whatever -
isn't that like something that codepen.io did?
it seems to be rather restricted nowadays tho -
@K-ASS You might be able to use a free tier amazon lambda or whatever they're called. For something as small as this it would absolutely work wonderfully. Maybe even set up a free mongoDB data set. There's plenty of options on a budget of zero.
-
K-ASS25451y@thebiochemic most of them are from codepen, and I put the reference link in the files
-
K-ASS25451y@AlgoRythm I’m using pockethost, which is basically that, but because pocketbase itself does not support restricting the value, there’s nothing I can do atm
-
K-ASS25451y@AlgoRythm ok it’s actually more complicated then that. So pockethost is a free hosting for pocket base which uses Amazon server. Normally you would host pocketbase on your server so you can access to hooks before making changes, or simply restricting the value on server side. However, because I only have access to the admin dashboard and cannot process the request myself, there’s nothing I can do
-
@K-ASS Aren't you just handling HTTP requests using deno or node or something? Can't you inject logic there to keep it below 2-3 clicks per request? I don't know anything about pockethost.
-
@K-ASS Ah gotcha, I was writing my reply as you were writing yours, which answered my question. I promise not to break your website anymore <3
-
K-ASS25451y@AlgoRythm no worries, this is also something I’ve been looking into for a while, I think the safest bet might be restricting the headers
-
Yoo I love this - this is actually something that could get in the newsletters with some work - very well done - u are always so creative!!
-
K-ASS25451y@AlgoRythm actually try again? I restricted the headers, but only against postman I guess
-
@K-ASS Restricting against user agent is not even worth it. I mean yes, it doesn't work if I run it exactly as-is, but postman lets you edit the user agent.
-
K-ASS25451y@AlgoRythm yup, there’s no perfect solution atm unless pocketbase decided to do something, there are issues posted requesting them to add the feature, but again, because the expect you to host the database on your own server and it’s not an issue if you accept request on your server, the developer simply said “I don’t see why this feature is needed”
Related Rants
Since there are too many button styles, I made a website to collect them:
https://txstc55.github.io/wall-of-b...
Please, flood me with your buttons, let me add them to the wall, I need them, I want them, my precious
rant
css