Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

monday

> DevOps
Open source

⚡️ A dev tool for microservice developers to run local applications and/or forward others from/to Kubernetes SSH or TCP

1.4K stars0 likes0 views
WebsiteGitHub

About

⚡️ A dev tool for microservice developers to run local applications and/or forward others from/to Kubernetes SSH or TCP

/badge.svg) Your new microservice development environment friend. This CLI tool allows you to define a configuration to work with both local applications (Go, NodeJS, Rust or others) and forward some other applications over Kubernetes in case you don't want to run them locally.

What Monday can do for you?

✅ Define a unified way to setup applications for all your developers

✅ Run your local applications

✅ Hot reload your applications automatically when a change is made locally

✅ Port-forward an application locally using a remote one on Kubernetes (targeting a pod via label) or over SSH

✅ Forward traffic of a remote application over Kubernetes, SSH or TCP locally (see example forward types)

✅ Auto reconnect when a port-forward connection is lost

✅ Forward multiple times the same port locally, using an hostname

✅ Monitor your local and/or forwarded applications

Installation

Homebrew (macOS)

bash
$ brew install eko/homebrew-tap/monday

This will install the latest available release

Download binary

You can download the latest version of the binary built for your architecture here:

  • Architecture i386 [ Linux ]
  • Architecture amd64 [ Darwin / Linux ]
  • Architecture arm [ Darwin / Linux ]

From sources

Optionally, you can download and build it from the sources. You have to retrieve the project sources by using one of the following way:

bash
$ go get -u github.com/eko/monday
# or
$ git clone https://github.com/eko/monday.git

Then, build the binary using the available target in Makefile:

bash
$ make build

Configuration: Define your projects

Configuration of Monday lives in one or multiple YAML files, depending on how you want to organize your files.

By default, monday init will initiates a ~/monday.yaml file. You can customize the configuration directory by setting the MONDAY_CONFIG_PATH environment variable.

Please note that you can also split this configuration in multiple files by respecting the following pattern: ~/monday.<something>.yaml, for instance:

  • ~/monday.localapps.yaml
  • ~/monday.forwards.yaml
  • ~/monday.projects.yaml

This will help you navigate more easily in your configuration files. These files are merged in memory when Monday starts (YAML anchors can be shared between them), nothing is written back to your configuration directory.

Monday checks your configuration when it starts: an unknown field (a typo, for instance) is reported with its file and line instead of being silently ignored. You can also check your files at any time with:

bash
$ monday validate

Define a local project

Here is an example of a local application:

…

Then, imagine this GraphQL instance needs to call a user-api but we want to forward it from a Kubernetes environment, we will define it as follows.

Define a port-forwarded project

yaml
<: &user-api-forward
  name: user-api
  type: kubernetes
  values:
    context: staging # This is your kubernetes cluster (kubectl config context name)
    namespace: backend
    labels:
      app: user-api
    hostname: user-api.svc.local # API will be available under this hostname
    ports:
     - 8080:8080

Well, you have defined both a local app and an application that needs to be forwarded, now just create the project!

Define a project with both local app and a port-forwarded one

yaml
 - name: graphql
   local:
    - *graphql-local
   forward:
    - *user-api-forward

Your project configuration is ready, you can now work easily with your microservices.

For an overview of what's possible to do with configuration file, please look at the configuration example directory here.

To learn more about the configuration, please take a look at the Configuration Wiki page.

Usage: Run your projects!

First, you have to initialize monday and edit your configuration file (you have a configuration example directory here). Run the following command and edit the ~/monday.yaml configuration file just created for you:

⚠️ Important note: Because Monday tries to be your best dev tool and manage things for you, you have to give it some chances to help you in editing host file and manipulating network interface for IP/port mapping.

That's why I suggest to run Monday using the following alias:

bash
alias monday='sudo -E monday'
bash
$ monday init

Once your configuration file is ready, you can simply run Monday:

bash
$ monday [--no-ui]

The terminal UI is enabled by default when running in an interactive terminal: it displays the live state of each forwarded application, scrollable logs with filtering, and per-application colors. Use the --no-ui option (or define a MONDAY_NO_UI environment variable) to get plain text output instead — this is also done automatically when the output is piped or when running in CI.

Or, you can run a specific project directly by running:

bash
$ monday run [--no-ui] <project name>

When you want to edit your configuration again, simply run this command to open it in your favorite editor:

bash
$ monday edit

Monday cleans up the hosts file entries and the loopback IP aliases it created when it stops. If a crash or a forced kill left some behind, remove them with (add --dry-run to only list them):

bash
$ monday clean

To upgrade Monday to the latest release (the checksum of the downloaded binary is verified), run:

bash
$ monday upgrade

Environment variables

The following environment variables can be used to tweak your Monday configuration:

Environment variable Description
MONDAY_CONFIG_PATH Specify the configuration path where your YAML files can be found
MONDAY_EDITOR Specify which editor you want to use in order to edit configuration files
MONDAY_EDITOR_ARGS Specify the editor arguments you want to pass (separated by coma), example: -t,--wite
MONDAY_ENABLE_UI Specify that you want to use the terminal UI instead of simply logging to stdout
MONDAY_KUBE_CONFIG Force a specific Kubernetes config file. By default, the standard KUBECONFIG variable is honored, then ~/.kube/config

Community

You can join the community Slack space to discuss about your issues, new features or anything else regarding Monday.

Run tests

Test suite can be run with:

bash
$ go test -v ./...

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goarchitecturedevelopmentdevelopment-toolsdevops

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理