{"id":16519798,"url":"https://github.com/zonca/jupyterlab_shellcommand_monitor","last_synced_at":"2026-05-31T01:31:31.497Z","repository":{"id":138271564,"uuid":"123555636","full_name":"zonca/jupyterlab_shellcommand_monitor","owner":"zonca","description":"Toy JupyterLab extensions to watch a shell command","archived":false,"fork":false,"pushed_at":"2018-09-13T01:56:46.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T09:24:17.409Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zonca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-02T08:56:51.000Z","updated_at":"2018-09-13T01:56:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"0845deb4-19ca-4322-a83c-4382c465f5bf","html_url":"https://github.com/zonca/jupyterlab_shellcommand_monitor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fjupyterlab_shellcommand_monitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fjupyterlab_shellcommand_monitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fjupyterlab_shellcommand_monitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fjupyterlab_shellcommand_monitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonca","download_url":"https://codeload.github.com/zonca/jupyterlab_shellcommand_monitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241580442,"owners_count":19985544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T16:48:25.988Z","updated_at":"2026-05-31T01:31:31.491Z","avatar_url":"https://github.com/zonca.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jupyterlab_shellcommand_monitor\n\nRun a shell command every minute and display its output in a JupyterLab tab.\nE.g. monitor a folder with `ls -lh` or available memory with `free -m`\n\nIt is composed by a custom handler notebook server extension, `jup_mon`, this\nserver extension executes a shell command and returns the output, for example:\n\n```\ncurl localhost:8888/shell/df/-h\nFilesystem      Size  Used Avail Use% Mounted on\nudev            2.0G   12K  2.0G   1% /dev\ntmpfs           396M  380K  395M   1% /run\n/dev/sda1        20G  9.1G  9.8G  49% /\nnone            4.0K     0  4.0K   0% /sys/fs/cgroup\nnone            5.0M  4.0K  5.0M   1% /run/lock\nnone            2.0G     0  2.0G   0% /run/shm\nnone            100M  8.0K  100M   1% /run/user\n```\n\nThen a JupyterLab extension in TypeScript is accessible from the menu,\nit calls the server extension and displays the result in a JupyterLab tab.\nIt should automatically refresh every minute but that is not implemented yet.\n\n## Prerequisites\n\n* JupyterLab\n\n## Installation\n\n```bash\njupyter labextension install jupyterlab_shellcommand_monitor\n```\n\n## Development\n\nFor a development install (requires npm version 4 or later), do the following in the repository directory:\n\n```bash\nnpm install\nnpm run build\njupyter labextension link .\n```\n\nTo rebuild the package and the JupyterLab app:\n\n```bash\nnpm run build\njupyter lab build\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonca%2Fjupyterlab_shellcommand_monitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonca%2Fjupyterlab_shellcommand_monitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonca%2Fjupyterlab_shellcommand_monitor/lists"}