4
2 Comments

#idea-validation, I thought about creating a small tool (totally open source) that helps us developers restore our project to the last state.

https://github.com/agamm/comeback

#idea-validation, I thought about creating a small tool (totally open source) that helps us developers restore our project to the last state.


Update, talked to a bunch of friends, and they all liked it. I started working on it. You are welcome to help out:
https://github.com/agamm/comeback
Note: It's really a work in progress, so any idea/suggestion is totally welcome.


In one click all of your project tools and windows will open and you could go right back to developing instead of opening everything manually (less friction). Like virtualenv for your project's windows.

For example, I was working on a website, using vscode, having a terminal opened with 2 split tmux screens. In addition, having chrome opened.

I thought it might be nice to have a configuration in my project dir that will look something like this:
.startconf.yml:

- {vscode: ~/dev/myproject}
- tmux:
  - screen_one:
    - cd: ~/dev/myproject/
    - run: npm run start
  - screen_two:
    - run: ipython
- chrome:
  - localhost:8080

Then instead of opening all the project windows manually, I could just type: startconf in my project dir - which will open all of those at once. This way all of the burden of starting my project is thrown away, and I'm right back developing when I left off.

Why not bash?

  • It isn't os agnostic.
  • I would like to have a more abstract way to restore my project (maybe adding more features in the future like positioning etc...)

Notes:

  • Would love to add the ability to position those in the yml (half screen, which screen etc...)
  • Would like to create this agnostic to os
  • Would like to have the ability to attach "plugins" of different programs
submitted this linkon February 22, 2019
  1. 1

    Love it! I would definitely use this. Also, probably a v2 thing, but i could see some useful integrations with rescuetime or other productivity tools.

    1. 1

      Wow, thank for the reply!
      I started working on it :) you are welcome to open an issue/pr. Although it's really a work in progress.
      https://github.com/agamm/comeback