API-Client-VSCode-Extension icon indicating copy to clipboard operation
API-Client-VSCode-Extension copied to clipboard

Git Sync

Open cgatian opened this issue 1 year ago • 11 comments

Ability to save request information to the Git repo so users can share configuration.

cgatian avatar May 26 '23 01:05 cgatian

Interesting...

I don't quite get the whole idea since the extension already saves user request information in their local machine.

Want to enlighten me?

unwls avatar May 26 '23 13:05 unwls

I should try out the plugin :) Basically, you can save your requests in a git repository so they can be shared with a team that pulls your repo.

cgatian avatar May 30 '23 13:05 cgatian

Sounds interesting, this would give this extension an edge over thunderclient, as thunder client doesn't offer this and I have suffered due to lack of a feature like this in a hackathon.

akash1520 avatar Jun 03 '23 15:06 akash1520

If anybody's willing to implement this feature, feel free to do so! It does sound like a cool feature to add

unwls avatar Jun 06 '23 13:06 unwls

must have feature +1

lokize avatar Aug 19 '23 14:08 lokize

I have been wishing there was a VS Code REST client that could easily sync to git for years. This would be a very useful feature

PaulAtST avatar Oct 04 '23 20:10 PaulAtST

Just found out about Bruno, going to give it a try. They also have a VSCode extension. https://www.usebruno.com/ https://marketplace.visualstudio.com/items?itemName=bruno-api-client.bruno

cgatian avatar Oct 06 '23 18:10 cgatian

@unwls @Codedwells I'll try implementing this, if it's still not done

akash1520 avatar Jan 28 '24 07:01 akash1520

Proposal

  1. Will make user get their developer access token for personal use from Github
  2. Will use this token to create a separate repo for saving data of this extension
  3. Their will be different directories in this repo for each project in which our extension is being used
  4. It will auto save data when user makes a requests using this extension and will also auto save data whenever users exits or closes the extension

In short, user won't ever need to press a save button or anything like that, everything will be done automatically.

Let me know if you think anything should be done differently!

akash1520 avatar Feb 04 '24 07:02 akash1520

No, just save the files local to the repo. The plugin needs to be able to read and update these files

cgatian avatar Feb 04 '24 11:02 cgatian

@akash1520 PR's are always welcome 👍🏻

unwls avatar Feb 22 '24 01:02 unwls