HNHacker News
TopNewBestAskShowJobs

sharat87

640 karma · joined January 23, 2011

Blog and homepage at https://sharats.me, creator of https://httpbun.com, https://prestige.dev, and more, reachable at happy.sand3297@fastmail.com.
submissionscomments
sharat87··on Show HN: Just a Calendar: Simple Calendar to look at, no login, super light
Hey, noted, thanks for the suggestion. I should put this out soon. :)
sharat87··on Show HN: Just a Calendar: Simple Calendar to look at, no login, super light
Hey, thanks for the feedback. I don't open it on my phone as much so I might've regressed there. I'll take a look.

The marks are actually stored in localStorage already, and is working in a desktop browser. Isn't it working for you on a mobile device?

sharat87··on Show HN: Just a Calendar: Simple Calendar to look at, no login, super light
Hey, thanks for reporting this. Looks like I was using UTC time for the today-highlight (surprised I haven't noticed this all this while).

Should be fixed now.

sharat87··on Show HN: Just a Calendar: Simple Calendar to look at, no login, super light
Oh that's interesting. Let me investigate.
sharat87··on Hoppscotch: Open-source alternative to Postman
Hey! Author here. Thanks for sharing. Happy to answer any questions about this here. :)
sharat87··on Poll: Do you prefer the office or work from home?
Could you share that FAQ here or link to it? I've been recently thinking of writing something like this for my team, so having an existing working template would be of great help.

Thanks!

sharat87··on Postman Now Supports gRPC
Shameless plug: There's also Prestige at https://prestigemad.com, which is very similar but works right in the browser. You can save your files as Gists as well. Templating with variables is also supported with `${}` syntax, like Javascript's template strings.

But gRPC support is not built yet. It's on the roadmap.

sharat87··on Awesome-loginless: internet services that don't require registrations
There's also https://prestigemad.com, a text based API testing tool, like Postman. I'm the developer behind it and is open source at https://github.com/sharat87/prestige.

Login not required!

sharat87··on Ask HN: Companies of one, what is your tech stack?
Still early days at https://prestigemad.com (recently discussed at https://news.ycombinator.com/item?id=27412445)

- Backend is a Django project, database is PostgreSQL.

- Frontend powered by Mithril.js and the editor by CodeMirror.

- Hosted on a $5 box on EC2.

- GoatCounter for analytics.

- CloudFlare for DNS, NameCheap for domain.

Also https://httpbun.com

- Backend is a vanilla Go project.

- Frontend is plain HTML and CSS, I don't recall it having any JS at all.

- Hosted on the same $5 box on EC2.

- No analytics (yet).

- CloudFlare for DNS, NameCheap for domain.

It is refreshing to see how much I can squeeze out of a $5 box. I don't intend to stay with EC2 for long, but when its cheap, I'd rather spend my time improving Prestige (currently working on Gist integration).

sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Heyy thanks dude!!
sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Hey, glad you asked. GraphQL queries are actually just POST requests to a GraphQL endpoint. Although the experience is not something I'm proud of, it's indeed possible to hit GraphQL queries in the following manner:

    POST https://api.github.com/graphql
    Content-Type: application/json
    Authorization: Bearer github-personal-api-token

    ={query: `
    {
      repository(owner: "appsmithorg", name: "appsmith") {
        releases(orderBy: {field: CREATED_AT, direction: DESC}, first: 20) {
          nodes {
            tagName
            name
            url
            descriptionHtml: descriptionHTML
            createdAt
            publishedAt
            isDraft
            isPrerelease
          }
          totalCount
        }
      }
    }
    `}
Know more about this way of running queries at http://localhost:3045/docs/guides/templating/.
sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Hey! Thank you very much. Prestige is open source as well. You can checkout the code at https://github.com/sharat87/prestige. :)
sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Hey, thank you! Integration with GitHub is something I intend to add. Additionally, I plan to add working with files from Dropbox as well.

I haven’t thought about Gist specifically though. That’s a good idea. Let me explore what can be done with it. Thanks again!

sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Thank you
sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Hey that's a nice tool! I didn't know that existed and now I'm wondering why I didn't think to Google and find out. Thanks for sharing!
sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Hey, thanks so much!

Yes, all of those are indeed things I want to add. I plan is to have a headless runner, like a `prestige-run` command that will take a Prestige sheet file and run the JS blocks, HTTP requests in it and report the result of assertions. It's some distance away, yes, but hopefully, I'll get there :)

JS blocks that take the response of a request to assert values is currently not there. This is something I myself wanted on so many occasions, but haven't got around to doing it. Thanks for chiming in, I'll take your word as a vote of interest on this feature ;)

sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Hey, thank you!

Not kidding, I was thinking about how I could make talking to APIs behind an OAuth wall easier in Prestige, just this morning (it's evening for me now). I didn't know Postman and Hoppscotch did that. I'll ideate for some time first and then see how they solved it.

But yes, I do want to add something like this in the future. Thanks for the pointer!

sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Thank you so much :)
sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Hey, thanks for asking.

I use this to play with and test APIs I'm developing, or APIs that I want to develop against. For example. GitHub has a public API that can be used to access repositories and details about the repositories. I use Prestige to try out an example request, and tune the request to get the exact response that I want and _then_ translate it to use python-requests (if I want to use it in Python) or something else.

sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
I see. I didn't know about being able to fetch from file:// pages. Thanks for the heads-up.

Yep, I do want to integrate with those services and that will involve OAuth. You just zoomed into the future and gave me kind of a wake-up call treating it as if it's already there! :)

sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Hey, thanks for the kind words. Unfortunately, there isn't yet an offline version of this, although I've wanted to do one for the longest of times. But thanks for mentioning, it gives me a pulse of what folks are looking for.

I was actually using the JetBrains version of this idea until a few years ago. The thing that put me off there was that the results weren't visible instantly. I had to click and open another file to see the results. Having a split pane open with the results was something I sorely missed.

sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Oh I'm not that super with JS to do something like this without a framework. It's running on MithrilJS (https://mithril.js.org/), which is, IMO, the most _practical_ framework for single page applications.

But saving all the HTML/CSS/JS and running it locally should work fine nonetheless though. What I'm a bit doubtful of is, if it would be able to do the XHR calls on file:// protocol. I'm not sure about how the browsers of today behave there.

Also, OAuth integration? Prestige has OAuth? (surprised-pikachu-face.gif)

sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Hey, yes, this was very much an inspiration when I started off (as can be seen by the same `###` separator lines. Thanks for sharing!
sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Ah! Yes, thanks for sharing. I should've guessed this existed for Emacs as well. I played around with implementing a similar concept like this in Vim, in 2019 (link: https://github.com/sharat87/roast.vim). Unfortunately, while I love Vim as an editor, I couldn't do a lot of features that I wanted. So I moved to the browser and built Prestige :)
sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Hey! Thank you very much. I haven't actually thought about it. My gut feeling says it _won't_, but I'm not able to point out a reason. But that's a good idea, I do want to have a local version of this someday, perhaps it could be that simple?
sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
Thank you very much. :)
sharat87··on Show HN: Prestige, a text based HTTP client, for working with HTTP APIs
This is an HTTP client devtool, similar to Postman or Insomnia, but completely text-based. I've been developing it, using it for over a year now, as a weekend project. It's open source, hosted at GitHub, https://github.com/sharat87/prestige.

Hope you like it.

sharat87··on Quiver: A modern commutative diagram editor
I just took a cursory look at the Javascript source and looks like it's built without any view framework or even jQuery. Is this correct?

As a backend developer curious about such frontend development, could you write up on how to architecture large apps without a reactive view framework behind. Or, if a write-up like that exists, a pointer would also be great.

sharat87··on Show HN: Starlet – A chrome extension to quickly find and execute bookmarklets
For running gists like bookmarklets, check out backtick.io, which is an inspiration for starlet.
sharat87··on Show HN: Rubber Tab — A new tab page for Chrome
It is in a pretty stable condition now. I'd like to get opinions, suggestions and any feedback on this. Thanks.

Made with AngularJS, icons aggregated using Fontello. Written in LiveScript (JS part) and Stylus (CSS part). Source (MIT Licensed) is at https://github.com/sharat87/rubber-tab.

← PreviousPage 2 of 3Next →