Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.17k stars 1.92k forks source link

[Discussion] Open source sync server #1752

Open rohinrohin opened 4 years ago

rohinrohin commented 4 years ago

Would like to understand the possibility of an open source sync server.

Does not have to be a real-time sync and can simply commit to a git repo from the UI and teams can read and push to repos from the UI.

However an open source sync server would be great as well!

I'm happy to help in any way I can to support this effort.

Let me know your thoughts on this.

Created another issue since the other one was closed and over two years old.

Linked to #190

welcome[bot] commented 4 years ago

👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. If you're requesting a feature 🎁, please provide real use cases that would benefit. 👪

To help make this a smooth process, please be sure you have first read the contributing guidelines.

rohinrohin commented 4 years ago

Hey @gschier - I am still interested in building this. Would you be able to help me out on some of the implementation details?

Here is my current thought process:

  1. Build a plugin that is able to export and import current workspace
  2. Link the exporter to a version controlled (git) repo to track all the changes.
  3. Exporter will show conflicts in the UI and the user can resolve the conflict.
  4. Click/Trigger based sync and not a realtime sync.

What are you thoughts on this? Do you see any bottlenecks that I would face if I implement it like this?

Thanks and looking forward to your response, Rohin Gopalakrishnan

jirian commented 3 years ago

Hi! For some time now, I've been trying to get devs of Insomnia to release the synchronization server as open source. I've found some old issues, where @gschier is considering this (https://github.com/Kong/insomnia/issues/190), he says "I'm not that worried about how it will affect revenue. There are plenty of companies (eg. Sentry and GitLab) that use the same open-source model.". I've tried to start discussion in these issues again, I've tried to text some of the devs. Unfortunately with no response. But since I'd really appreciate the sync server being open source, or at least an open source alternative to the official sync, I propose making this ourselves. Would anyone be interested in contributing to this? I've already done some reverse engineering, but I'm not able to do this myself. All insights are appreciated!

jirian commented 3 years ago

In any case, i've created this repo: https://github.com/jirian/insomnia-server, feel free to create issues about anything that comes to your mind.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kreosus commented 1 year ago

Hi @rohinrohin

Do you see the same behavior with our latest release located here: https://github.com/Kong/insomnia/releases/tag/core%402022.6.0-beta.4

subnetmarco commented 1 month ago

We are providing a better way to move forward: we are transitioning our sync server to be primarily based on Git, which means that you will be able to have the same functionality, look and feel of Cloud Sync across any Git-backed sync, which by definition allows you to be able to host it anywhere you would like.

rohinrohin commented 1 month ago

This is great news @subnetmarco! Will this also be open sourced and or not a premium feature?