24

I'm happy to announce the very first public alpha of the devRant PWA.

https://devrant.app/

Have fun!

Comments
  • 4
  • 3
    IT'S HERE!
  • 2
    👏👏
  • 2
    Wohoo! Ceeeelebrate good times - come on!
  • 1
    Awesome! If you push the code to github, I'd happily contribute. (I need my hacktoberfest PRs)
  • 3
    That's a nice one 😉 Though I immediately found a bug, please look at this fixed tabs bar on top:
  • 3
    Man, I like the UI. Clean and simple

    The tags highlighted in blue background are refreshing to see
  • 0
    @vintprox someone (@asgs) already made an issue for that. I develop iOS first, because that needs the most attention. But I’ve also setup two android devices for future tests!
  • 5
    Um, not sure how @dfox would feel about an app that's competing with the official dR web app for attention. I think you should check whether he's okay with this.

    Especially because the url is similar and so's the UI.
  • 2
    @RememberMe It’s main intend is mobile devices. The WebApp is only a side effect of it. I’m only waiting for Apple to support push Notifications.

    (You can add it as Home Screen app!)
  • 2
    @010001111 well, there are official apps for mobile devices (which work rather well). The previous dR unofficial apps were for platforms which dR didn't already support like dR UWP. Again, let's just see what dfox says.
  • 1
    BUG:
    ++/-- works (wrongly) without being logged in. It is not highlighted, but changes the number x to (x ±1). Clicking again leads to the opposite action, while it should simply undo the action.

    Platform:
    Firefox Android 68.6.0
  • 0
    The UI is very rough, but nice work man.
  • 1
    @OmerFlame Do you mean the scrolling/back swipe? This is a known super annoying thing.
  • 1
    @010001111 yeah, and the picker that you stole from my design lmao
  • 1
    @Nanos Progressive Web Application.
    You get constantly updated app without having to download it from store. With some careful considerations, it can even show data offline from last actual session.
  • 2
    @010001111 liking it so far mate! looks dope ✌, great job.
  • 7
    The first PWA I see that actually feels like one. I'm impressed.
  • 0
    You can easily steal my credentials if I login, but I trust you
  • 0
    Projects are not displayed correctly: https://devrant.app/rant/3221539
  • 0
    Posting this comment from PWA
  • 0
    So no more crashes on ios again at least
  • 1
    Did you actually register devrant.app? XD
    Thats not legal
  • 0
    @Nanos Same here
  • 1
    Is the login/registration done through your server as well?
  • 2
    @Linux I actually wanted some cheap/free subdomain or something, but I couldn't find anything fitting. So I bought devrant.app as well as devrant.web and host it on DigitalOcean lol

    @linuxxx Yes. Because of CORS I'm afraid you can't access the API from the browser under a different domain. Under the hood, it uses a modified version the NPM package "local-cors-proxy". The current version does not include any DB or Intended logging. For debug purposes, each proxied request is sent to stdout, but anything that matches /token[^=]*[^&]*/gi is completely removed. So I can't steal your session, but your userID will be visible.

    A newer version is using the proxy for better cache-control on the client, as well as caching certain non-user-related requests. So if a rant is being looked at by multiple PWA users in a short period of time, they get a faster in-memory response. Therefor, only changes are sent through the proxy.

    I'm planning to setup a mirror of the deployed server version.
  • 1
    @Nanos Can you provide a time?

    You can't fetch anything anymore likely because the server has been backlisted over night because of too many requests. The notifications are requested every 7-seconds right now, which is pretty high for devrant.

    I've contacted @dfox and added him to the private repo. Waiting for response.

    I might setup a new droplet later that day to get it working again. Probably only if I got most of the Issues already reported fixed.
  • 4
    @Linux Oh and I was looking at the domain search bar and I was like "What domain should be appropriate? I don't want to buy any random domain... Fuck it, go big or go home ..." And it was free so idk 🤷‍♂️
  • 3
    @010001111

    You should talk to dfox or trogus about it tbh
  • 2
    @Linux See above. He didn't respond on this thread yet, nor on twitter a few days back and now I'm hoping he sees my request on github. If there is no response, I'll treat this as "tolerated".
  • 13
    @010001111 sorry for the delay, just saw this! The reason your app stopped working is because of some recent protection that was put into the API. There had been some heavy abuse recently so unfortunately we had to go from api usage being almost unlimited to having some limits to protect the community from abuse.

    Since inception, we’ve had pretty strict rules on 3rd party apps that provide the same functionality as our apps do. One of those rules is the UI needs to clearly indicate the app is unofficial, and that is certainly not indicated in your PWA and the domain name makes that even more suspect.

    The next issue is the proxying. I’d highly discourage anyone to give their credentials to a third-party app that isn’t open source and wasn’t build my multiple members of the community. I’m not at all saying you’re not trustworthy, and personally I think your intentions are good, but that doesn’t mean it’s ok to throw basic security principles in this regard out the window.

    We’ve worked with devs in the past to enable endpoints in the devRant API for CORS, but all of them have talked to us beforehand and worked with us through the process.

    Lastly, one of the reasons your API usage was flagged by our auto-flagger was because it was making many calls for each request in rapid succession. Ex. 10+ calls to load some profiles, which is 9 calls more than our apps make. This wasn’t terrible because usage was relatively low, but again, because of recent events, we have to be a little more careful of API usage that results in a many/rapid calls.

    So we’re happy to help you with some of this stuff, but I generally encourage people to use the API for purposes that we’ve seen recently like useful add on bots (the code formatted was really cool idea), jsrant, etc. that our apps don’t explicitly cover. Mainly because of security/auth are difficult now. We’re also going to have some exciting news soon on our official apps.
  • 2
    @010001111 What is the Fate of this PWA then?
  • 3
    @theabbie We'll see how dfox responds to my mail.

    Source is public and most of the concerns he had where done

    @asgs
    https://github.com/dr010001111/...
  • 3
    No matter what happens, I absolutely agree with the "contains a lot of ❤️" mentioned in the README
  • 0
    @010001111 Isn't this your actual GitHub Account?

    https://github.com/max-scopp
Add Comment