Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Chang-Hung Liang
    @eliangcs
    @Asing1001 you can change less to something else in your config file.
    I don't know what you can use to paginate output on windows though
    Sing
    @Asing1001
    oh ok, let me try it, thanks :smile:
    Sing
    @Asing1001
    oh........
    I saw it, thanks !!
    Chang-Hung Liang
    @eliangcs
    @Asing1001 so did it work? What did you use?
    Sing
    @Asing1001
    Yes it works, there is two solution :
    Option 1. : AppData\Local\http-prompt\config.py change less to more
    Option 2. : Use http-prompt in git shell, it contains less
    Chang-Hung Liang
    @eliangcs
    @fogine I've started offering paid subscription for users who want to access the newest version. As you've been contributing to the repo quite a lot, I'd like give you access for free. What's your email address I can reach you?
    fogine
    @fogine
    @eliangcs you can contact me at "fogine" at "openmailbox.org" aka. my public github email address.
    I have few questions if you don't mind: Have you also made the project private? In other words, do you intend to develop it by yourself only or will it stay open to the community? How the development process is gonna look like? I know that there hasn't been much activity from the community recently however I didn't forget about the project and planned to continue with contributions when free time is available. I respect your decision and understand it to some degree. That being said, I feel like it's gonna prevent the community to grow or even to contribute (if we don't think about backport bugfixes). if I may ask, what's your intentions/thoughts? Thanks @eliangcs
    Chang-Hung Liang
    @eliangcs

    @fogine I just generated and emailed you the access key. Let me know if it doesn't work.

    Thank you very much for your concern. The project is still open source (but is now licensed under AGPL). What I'm doing is an "early access" business model. The open source branch (currently v0.9.3) is publicly available on GitHub. People still can participate in the project. The latest release (currently v0.10.0) is kept private until we have a newer release, say v0.11.0. I'll be the one who merges two branches, so that bugfixes and updates in the public branch are properly moved to the private branch and the other way around. Does it answer your question?

    fogine
    @fogine
    @eliangcs So, If I understand correctly, the community (anyone except you ?) will be able to contribute only to the "free version" of the project? That would mean features introduced in the latest current private branch (eg. swagger integration) can't be developed (expanded) by the community until it gets published under free domain. Are my presumptions correct? What's the decision logic of releasing new free version to public domain? In your example, the minor version release is looked upon, is it the main and only shifting point where a new free and private versions get released?. What happens when eg. new patch version v0.10.x or a major version x.0.0 get released? Thanks.
    Chang-Hung Liang
    @eliangcs

    @fogine yes, your presumptions are correct. So if a developer wants to extend swagger feature, he has to wait for the private branch to be published. The point of releasing a free version to the public is that I want to keep the free users. And people still can do minor changes like bugfixing. I guess this is a trade-off between the OSS community and commercialization.

    Basically, the shifting point is based on whether we have any new features. If I added a new feature, the minor version goes up (such as v0.9.x -> v0.10.0), then the new version will be kept in private. If it just a bugfix or minor change, only the patch version increase (such as v0.9.2 -> v0.9.3), then we don't shift at all, i.e., private is still private, public is still public. However, I may move bugfix from private to public and vice versa. The same rule applies when we have a major version, say v1.0.x. It'll be kept in private first until we have v1.1.0. Regardless, I'm exploring with this early access idea and wanting to find out how it would work.

    Chang-Hung Liang
    @eliangcs
    @fogine I'd like to know if this demotivates you from contributing to the project. If so, what if we share revenues with our contributors? Even though I haven't made a dime out of it so far. I don't want to drive contributors away while monetizing the project. Any ideas?
    fogine
    @fogine

    @eliangcs, The following is my view and thoughts.

    By "a free community" expression I mean a group of people activelly interested in a project by participating in the development (with no expectation of financial profit) with anything more than small bug fixes or feature requests.

    Personally, I don't think that the current business model is gonna work well with any kind of "free" community as contributors are basically cut off of upstream.
    In my opinion, trying to get a free community work with commercialized sector is understandably only gonna get people confused. As you suggested, making a commercialized organization from the product could possibly work.
    However, questions raise, whether the product is large enough? Can it produce enough value over time to sustain itself on the market and uphold its price demands?
    Maybe it could make the organization more successful if the organization produced other related products along http-prompt...? Have you stumbled upon the Restlet company, @eliangcs?
    I see two general approaches which tend to collide when combined.

    • Free OSS community where options for any financial profits are limited and not guaranteed (bounties & support via patreon etc)...
      Contributors are left to make ends meet aside their work in the OSS or count on voluntary financial supporters. This is the main reason why the OSS development tends to be noticeably slower then commercialized sector as free time of individuals is limited.
      The main advantage is that literally everyone (without an exeption) can profit from produced value and everyone is welcomed in the community and has an opportunity to participate in final product.
    • In comercialized organizations (to any degree), members can afford to spend more time making the final product given a period of time.
      Thus the organization produces more value over time (not necessarily of better quality ).
      Drawbacks are that the right to profit from produced value (use product) is strictly conditional... it creates user expectation of the organization to produce value.
      We can say that to certain degree we splitted OSS community to two groups, a group which produces value and the other one which uses the product.

    I'm not even sure if the two approaches can be combined in today's society. I think the roots of the issue are in politics but let's not dive into that.
    To answer your question more dirrectly, the current circumstances make me to reprioritize my current and future focus of my contributions in OSS
    However it does not preclude me from contributing to http-prompt project as it will depend on how I will be using http-prompt, how much free time will be available and whether I will need some functionality not implemented yet.
    if you were interested in more close collaboration, I'd be open to that.
    I realize that I've written a lot of stuff you already know but still I hope these insights will be somewhat helpful to you.

    Chang-Hung Liang
    @eliangcs

    @fogine thanks for the feedback! It's really valuable. I agree with you that current business model probably won't work and it retrains the community from growing. So I think I'll change my direction here. Instead of monetizing the core product (http-prompt), we should make another related product based on http-prompt. The related product is probably an SaaS that bring more organization-specific features to http-prompt, similar to what Postman and Insomnia do. Anyway, it's still undecided. In the short term, I would do the following:

    1. Remove the early access subscription
    2. Change http-prompt license back to MIT
    3. Release v0.10.0 publicly

    Let me know if you have any other ideas. Thanks!

    Steve Trefethen
    @stevetrefethen_twitter
    @eliangcs I just found http-prompt and it looks quite interesting. I would agree with @fogine regarding the business model issues and I think you reached the right conclusion here.
    Chang-Hung Liang
    @eliangcs
    @stevetrefethen_twitter I've asked several people and they all gave me the similar feedback. Good to know you agree with it, too!
    Assaf Lavi
    @assaflavi_twitter
    @eliangcs just discovered http-prompt yesterday, and I am thoroughly in love.
    Paolo D.
    @pdonorio
    I'd like to express my gratitude here too. This is some really great piece of work :)
    Chang-Hung Liang
    @eliangcs
    @assaflavi_twitter @pdonorio really appreciate your compliments :)
    Giuseppe Piscopo
    @GiuseppePiscopo

    Hello all. Just found about this command line client. Is there a way to store/list/add/remove/manage a list of presets? Similar somehow to what you can do in Postman. What I mean is something like editing an input file in some format where you can list all your preset REST calls with their own properties. E.g.:

    presets: [{
      name: 'Load foos - Local machine',
      url: 'http://localhost:1234/api/foo',
      verb: 'get',
      authorization: {
        type: 'basic',
        username: 'johndoe',
        password: 'SECRET PASSWORD',
      },
      headers: [{
        key: 'accept',
        value: 'application/json',
      }],
    }, {
     ...
    }],

    and then be able to feed one of this presets into http prompt command line: http-prompt --input ./my-presets.conf --preset 'Load foos - Local machine'

    Chang-Hung Liang
    @eliangcs
    @GiuseppePiscopo this sounds like what the env command does. You can export the env output to a file. Then import it with exec or source command. Refer to the doc here: http://docs.http-prompt.com/en/latest/user-guide.html#saving-and-loading-sessions
    Giuseppe Piscopo
    @GiuseppePiscopo
    thanks @eliangcs , that might be exactly what I was looking for. Thanks for pointers
    devilelephant
    @devilelephant
    Trying to save a session but having a hard time. http://search.dev.clario.us/pnix/indicator/_search> env > ~/dev/session.json returns error [Errno 20] Not a directory: u'~/dev/session.json'.
    ~/dev is an existing folder on my disk.
    Chang-Hung Liang
    @eliangcs
    @devilelephant http-prompt doesn't recognize '~'. You have to type out actual path, like /home/username/dev/session.json or ./dev/session.json
    Patrick Kristiansen
    @patrkris
    Hi everyone. Stupid question here, but how do I actually use an autocomplete option, when the suggestion is made from something I typed earlier? Pressing <TAB> didn't work
    fogine
    @fogine
    @patrkris I think It uses emacs-style binding which is ctrl+e by default.
    Chang-Hung Liang
    @eliangcs
    @patrkris or right arrow key
    mmacedo
    @mmacedoeu
    hi
    About # Body parameters in raw JSON (new in v0.9.0)
    I am trying to post json
    but typing: name:=Tatooine or name:='Tattoine' or name:="Tattoine" I get an error about "ValueError: No JSON object could be decoded"
    So how can I set JSON fields with strings ?
    mmacedo
    @mmacedoeu
    sorry, got it, just put name=Tatooine will work
    Kim
    @kimswe
    @eliangcs Hi! Awesom project, i really hope u get some cash out of it, even if its open source. I have but a small suggestion.
    Put a message when 'less' is not found, that tells the user to fix his config file. Found the solution above, and the docs does not seem to mention it.
    Kim
    @kimswe
    also running this trough the normal windows console is not working, spent an hour debugging using print statements :D then i started up a Cmder (cmder.net) console, reverted my config edit to less, and it looks like Bobs my uncle.
    Chang-Hung Liang
    @eliangcs
    @kimswe this is a great feedback! It'd be easier for us to track this if you can create an issue on github. I probably won't have time to fix this anytime soon, but someone else might. Again, thanks for the great feedback!
    Alan Sill
    @alansill
    Have been playing with fx (https://github.com/antonmedv/fx) installed via npm. Using it within http-prompt doesn't work, as in the example "get | fx", to browse json output. Any hints as to why?
    Angad Singh
    @dotangad
    Hey guys, I can't find any documentation about changing themes, I've been through the github, the website and the docs.
    It'd be great if someone could help me change my theme!
    iseehk
    @iseehk
    Hi I wanna ask how can I post with json content with new feature field=@file.json

    file.json content

    {
    "addr0": "Unit 315, 3/f PAK TIN ESTATE, BLOCK 10, Shek Kip Mei",
    "reference": "1",
    "returnRecords": 10
    }

    when I run with debug mode , the content is

    "data": "{\"field\": \"{\r\n\t\\"addr0\\": \\"Unit 315, 3/f PAK TIN ESTATE, BLOCK 10, Shek Kip Mei\\",\r\n\t\\"reference\\": \\"1\\",\r\n\t\\"returnRecords\\": 10\r\n}\"}",

    it seems that , http-prompt add redundant file in the json content "file: {}" . I really dont need it.

    iseehk
    @iseehk
    given: I am using version : 1.0.2
    Zan Loy
    @zanloy
    Hi. I am trying to take the result of a /login POST and put the JWT from that request into my environment. How would I go about doing this? I can isolate the value by doing: post /login | jq .token
    Zan Loy
    @zanloy
    Actually maybe I'm just dumb... I might have a fundamental misunderstanding of how JWT works.
    Roberto Vallejo
    @NarizWallace_twitter
    hi all, I'm wondering if there is a way to load the functions in my .bash_profile so I can execute them by surronding with `
    I tried source .bash_profile