Skip to content

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

License

Notifications You must be signed in to change notification settings

rangzen/md-remote-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 but in Go and for Shell.

Installation

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

Server Usage

  • Get an example from the examples' directory. E.g., system.md with wget https://github.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
```

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published