Giter Site home page Giter Site logo

goprocmgr's Introduction

Check Update

goprocmgr

This program is a configuration manager and process runner for servers, it has an http API to manage and retrieve the configuration. It also provides a CLI client for interacting with the API.

It's inspired by Chalet which is a fork from Hotel. However, this aims to be way simpler in design, feature set and implementation.

Features

  • Remember configured "servers" by storing certain environment variables, directory and command to run to start it.
  • Start, stop and read logs from the different servers.
  • Simple http API to interact with the servers.
  • Command line tool to interact with the API.
  • Web UI to interact with the API.
  • Random port assignment for servers with the environment variable PORT.

Screenshot

Lack of Proxy

Unlike hotel and chalet this program does not provide a proxy to the running servers. This is a design choice bauces then we would need to listen to port 80 and 443 which would require root access. This would also require to support TLS and certificates. So there's just a whole bunch extra work.

So instead we just provide a random port to the server as an environment variable, then you'll be able to use that in the startup of your application.

In the list of running servers in the web UI you can click the link to the service to access it.

If you're running multiple services with docker you can make sure to put all your services on the same host network and then use something like jwilder/nginx-proxy to map the services up and have local domains to access all your services through the same port, just with different domains (like service1.local).

TODO

  • Implement direnv support direnv exec $dirname $command.
  • Implement keybind support in the web interface (esc to unselect server, t to toggle server, n for next server, p for previous server).
  • Implement an overview of the keybind in the web interface (press h to display popup).
  • Refresh data and interface over websockets.
  • Improve the kill check for stopped processes.
  • Implement a getting started overview in the web interface on the frontpage.

goprocmgr's People

Contributors

etu avatar dependabot[bot] avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.