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.
- Host: GitHub
- URL: https://github.com/rangzen/md-remote-commands
- Owner: rangzen
- License: gpl-3.0
- Created: 2022-01-03T05:58:09.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-15T05:55:10.000Z (over 4 years ago)
- Last Synced: 2026-01-13T03:30:01.272Z (6 months ago)
- Language: Go
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```