An open API service indexing awesome lists of open source software.

https://github.com/rangzen/md-remote-commands

Utility tool to expose through a web server some commands defined in a Markdown file.
https://github.com/rangzen/md-remote-commands

Last synced: 5 months ago
JSON representation

Utility tool to expose through a web server some commands defined in a Markdown file.

Awesome Lists containing this project

README

          

# Markdown Remote Commands (mdrc)

Utility tool to expose through a web server some commands defined in a Markdown file.

It's like a readonly [Jupyter Notebook](https://jupyter.org/) but in [Go](https://go.dev/) and for Shell.

## Installation

```shell
go install github.com/rangzen/md-remote-commands/cmd/mdrc@latest
```

## Server Usage

* Get an example from [the examples' directory](https://github.com/rangzen/md-remote-commands/tree/main/examples).
E.g., `system.md` with `wget https://raw.githubusercontent.com/rangzen/md-remote-commands/main/examples/system.md`.
* Run `mdrc system.md`.
* Open your navigator to the system with the correct port (1234 by default).

## Markdown Rule

Only the commands with the language tag `mdrc` will be used. Check examples' files.

E.g.:

## Actual path and user

```mdrc
pwd;id
```