{"id":13509275,"url":"https://github.com/DarthSim/hivemind","last_synced_at":"2025-03-30T13:31:56.970Z","repository":{"id":30050496,"uuid":"33599708","full_name":"DarthSim/hivemind","owner":"DarthSim","description":"Process manager for Procfile-based applications","archived":false,"fork":false,"pushed_at":"2023-12-12T00:59:00.000Z","size":1288,"stargazers_count":972,"open_issues_count":14,"forks_count":29,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-02T10:31:28.448Z","etag":null,"topics":["procfile"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DarthSim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-04-08T10:17:00.000Z","updated_at":"2024-07-27T16:12:39.000Z","dependencies_parsed_at":"2024-01-13T01:39:46.101Z","dependency_job_id":"f33bd703-387d-4e1b-8cb6-577d74b80a2b","html_url":"https://github.com/DarthSim/hivemind","commit_stats":{"total_commits":97,"total_committers":5,"mean_commits":19.4,"dds":"0.14432989690721654","last_synced_commit":"580abe5b3faf585c450604227e40e960cdbb21bd"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarthSim%2Fhivemind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarthSim%2Fhivemind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarthSim%2Fhivemind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarthSim%2Fhivemind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarthSim","download_url":"https://codeload.github.com/DarthSim/hivemind/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222552798,"owners_count":17002160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["procfile"],"created_at":"2024-08-01T02:01:05.548Z","updated_at":"2024-11-01T09:31:15.497Z","avatar_url":"https://github.com/DarthSim.png","language":"Go","readme":"# Hivemind\n\n\u003cimg align=\"right\" width=\"224\" height=\"74\" title=\"Hivemind logo\"\n     src=\"https://cdn.rawgit.com/DarthSim/hivemind/master/logo.svg\"\u003e\n\n[![Build Status](https://travis-ci.org/DarthSim/hivemind.svg?branch=master)](https://travis-ci.org/DarthSim/hivemind)\n\nHivemind is a process manager for Procfile-based applications. At the moment, it supports Linux, FreeBSD, and macOS.\n\nProcfile is a simple format to specify types of processes your application provides (such as web application server, background queue process, front-end builder) and commands to run those processes. It can significantly simplify process management for developers and is used by popular Platforms-as-a-Service, such as Heroku and Deis. You can learn more about the `Procfile` format [here](https://devcenter.heroku.com/articles/procfile).\n\nThere are some good Procfile-based process management tools, including [foreman](https://github.com/ddollar/foreman) by David Dollar, which started it all. The problem with most of those tools is that processes you want to manage start to think they are logging their output into a file, and that can lead to all sorts of problems: severe lagging, losing or breaking colored output. Tools can also add vanity information (unneeded timestamps in logs). Hivemind was created to fix those problems once and for all.\n\nSee this article for a good intro and all the juicy details! [Introducing\nOvermind and Hivemind](https://evilmartians.com/chronicles/introducing-overmind-and-hivemind)\n\n\u003ca href=\"https://evilmartians.com/?utm_source=hivemind\"\u003e\n\u003cimg src=\"https://evilmartians.com/badges/sponsored-by-evil-martians.svg\" alt=\"Sponsored by Evil Martians\" width=\"236\" height=\"54\"\u003e\n\u003c/a\u003e\n\n## Enter Hivemind\n\nHivemind uses `pty` to capture process output. That fixes any problem with log clipping, delays, and TTY colors other process management tools may have.\n\n**If you would like a process management tool with a lot of features, including [tmux](https://tmux.github.io/) support, restarting and killing individual processes and advanced configuration, you should take a look at Hivemind's big brother — [Overmind](https://github.com/DarthSim/overmind)!**\n\n## Installation\n\n#### With Homebrew (macOS)\n\n```bash\nbrew install hivemind\n```\n\n#### Download the latest Hivemind release binary\n\nYou can download the latest release [here](https://github.com/DarthSim/hivemind/releases/latest).\n\n#### From Source\n\nYou need Go 1.11 or later to build the project.\n\n```bash\n$ GO111MODULE=on go get -u -f github.com/DarthSim/hivemind\n```\n\n**Note:** You can update Hivemind the same way.\n\n## Usage\n\nHivemind works with a `Procfile`. It may look like this:\n\n```Procfile\nweb: bin/rails server\nworker: bundle exec sidekiq\nassets: gulp watch\n```\n\nTo get started, you just need to run Hivemind from your working directory containing `Procfile`.\n\n```bash\n$ hivemind\n```\n\nIf `Procfile` isn't located in your working directory, or named it non-standard as `Procfile.dev`, you can specify the path to it: [**Fun Fact:** Name of the `Procfile` is arbitrary and can be anything, although it is a best practice to name it as `Procfile` for sanity]\n\n```bash\n$ hivemind path/to/your/Procfile\n$ hivemind path/to/your/Procfile.dev\n```\n\nRun `hivemind --help` to see other options. Note that every Hivemind option can be set with corresponding environment variable.\n\n### Environment\n\nIf you need to set specific environment variables before running a `Procfile`, you can specify them in the `.env` file in the current working directory. The file should contain `variable=value` pairs, one per line:\n\n```\nPATH=$PATH:/additional/path\nPORT=3000\nHIVEMIND_TITLE=my_awsome_app\n```\n\n## Author\n\nSergey \"DarthSim\" Aleksandrovich\n\nHighly inspired by [Foreman](https://github.com/ddollar/foreman).\n\nMany thanks to @antiflasher for the awesome logo.\n\n## License\n\nHivemind is licensed under the MIT license.\n\nSee LICENSE for the full license text.\n","funding_links":[],"categories":["Process Manager","Go","others"],"sub_categories":["Procfile"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDarthSim%2Fhivemind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDarthSim%2Fhivemind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDarthSim%2Fhivemind/lists"}