A web-based interface for arbitrary command-line tools. https://code.ivysaur.me/webcmd/
Go to file
2018-12-31 18:13:06 +13:00
_dist doc: top-level README 2018-12-31 18:13:06 +13:00
cmd/webcmd allow unmarshalling consts as strings 2017-03-27 20:03:19 +13:00
.gitignore hg2git: convert ignores/tags files 2018-12-31 18:10:22 +13:00
App.go webcmd: external versioning 2017-03-25 16:28:25 +13:00
config.go fixes for 5aad4b6dc90e 2017-03-27 21:49:05 +13:00
go.mod convert to Go Modules 2018-12-31 18:10:46 +13:00
html.go initial commit 2017-03-25 15:41:36 +13:00
Makefile bump all versions to 1.0.2 2017-03-27 21:53:01 +13:00
README.md doc: top-level README 2018-12-31 18:13:06 +13:00
Task.go fix zero-value for maxhistorylines actually meaning zero history lines 2017-03-27 20:35:54 +13:00
TODO.txt doc: update TODO 2017-03-27 20:16:32 +13:00
tpl_Home.go remove title on text elements (fixes long-press on Fennec) 2017-03-27 20:04:53 +13:00
tpl_Style.go initial commit 2017-03-25 15:41:36 +13:00
tpl_Taskinfo.go webcmd: cosmetic fixes to the taskinfo page 2017-03-25 16:06:13 +13:00
tpl_Tasks.go tasks: nicer time format, display more accurate time format on hover 2017-03-27 20:16:22 +13:00
tpt_Header.go set default viewport for mobile 2017-03-27 20:04:15 +13:00
twa_AbandonTask.go initial commit 2017-03-25 15:41:36 +13:00
twa_ClearCompleted.go initial commit 2017-03-25 15:41:36 +13:00
twa_NewTask.go webcmd: allow setting custom WorkingDir for process 2017-03-25 15:58:55 +13:00

webcmd

A web-based interface for arbitrary command-line tools.

Configure the possible options for your command (e.g. optional flags, custom arguments) and then remotely invoke the tool via a web interface. The web interface displays stdout/stderr of recent and in-progress tasks, and can cancel a long-running command at any time.

Usage

Usage of ./webcmd:
  -config string
    	Path to configuration file (default "webcmd.conf")
  -version
    	Display version number and exit

Configuration

See the included webcmd.conf-sample file for an example configuration implementing a Looking Glass server over the top of /bin/ping.

Changelog

2017-03-27 1.0.1

  • Enhancement: Simplify configuration file format, allow parsing const strings directly
  • Enhancement: Improve time format display
  • Fix an issue with pasting into form fields on Firefox Mobile
  • Fix an issue with not consistently interpreting MaxHistoryLines:0 as infinite history
  • Fix a cosmetic issue with mobile viewports
  • Fix a cosmetic issue with task ordering

2017-03-25 1.0.0

  • Initial public release