{"id":18085023,"url":"https://github.com/coderofsalvation/bashwapp","last_synced_at":"2025-04-06T00:13:49.944Z","repository":{"id":11749430,"uuid":"14279739","full_name":"coderofsalvation/bashwapp","owner":"coderofsalvation","description":"Deadsimple desktop application skeleton using only bash,,http, nc and a webbrowser","archived":false,"fork":false,"pushed_at":"2020-05-28T18:18:13.000Z","size":459,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T06:22:57.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderofsalvation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://gumroad.com/l/hGYGh"}},"created_at":"2013-11-10T16:35:02.000Z","updated_at":"2020-05-28T18:18:15.000Z","dependencies_parsed_at":"2022-09-05T09:52:02.981Z","dependency_job_id":null,"html_url":"https://github.com/coderofsalvation/bashwapp","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/coderofsalvation%2Fbashwapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Fbashwapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Fbashwapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Fbashwapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderofsalvation","download_url":"https://codeload.github.com/coderofsalvation/bashwapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415976,"owners_count":20935387,"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-31T15:09:06.344Z","updated_at":"2025-04-06T00:13:49.919Z","avatar_url":"https://github.com/coderofsalvation.png","language":"Shell","funding_links":["https://gumroad.com/l/hGYGh"],"categories":[],"sub_categories":[],"readme":"bashwapp\n========\n\nDeadsimple desktop application skeleton using only bash,nc and a webbrowser\n\n### Why is this handy ###\n\nJust use bash and html instead of fiddling with gui toolkits, textmode interfaces, c/c++.\nGreat for rapid prototyping or interfacing with commandline-stuff.\n\n### Features ###\n\n* quickndirty-easy-peasy lightweight httpserver\n* direct html-interface to the shell\n* bash (html) templates \n* portable / no compilation\n\n### How does it work ###\n\nWell just run ./app and you'll see something like this:\n\n    $ git clone https://github.com/coderofsalvation/bashwapp.git\n    $ cd bashwapp\n    $ ./app\n    Connection from 127.0.0.1 port 8000 [tcp/*] accepted\n    Created new window in existing browser session.\n    [Sun Nov 10 17:32:01 CET 2013] out\u003e HTTP/1.1 200 OK\n    [Sun Nov 10 17:32:01 CET 2013] out\u003e \n    [Sun Nov 10 17:40:46 CET 2013] in\u003e GET /\n    [Sun Nov 10 17:40:46 CET 2013] out\u003e HTTP/1.1 200 OK\n    [Sun Nov 10 17:40:46 CET 2013] out\u003e \n\u003cbr\u003e\u003cbr\u003e\nSee? It started a miniwebserver, and if you'll see the image below if you surf to http://localhost:8000:\n\n\u003cimg src=\"https://raw.github.com/coderofsalvation/bashwapp/master/screenshot.png\"/\u003e\n\n### Tips ###\n\nThe `app`-bashscript looks for a folder `html`. To get simple web\u003c-\u003ebashscript interfacing going on (getargs/forms) run `rm html; cp -R html.skeleton html`.\n\n### Dependancies ###\n\nThere are little dependancies, best is to have a linux system, because then the following is already installed in most cases:\n\n* a linux system bash\n* nc\n* browser\n\nIn theory this could also work on windows using cygwin or a standalone bash-binary.\n\n### Limitations ###\n\nWell ofcoarse security..only use this for quick prototyping or personal use.\nSinglepage application are adviced since inclusion of external files is unpredictable with netcat. Netcat (nc) runs in a bash while-loop which \ncauses small breaks in listening to the socket. Therefore, when a browser rapidly fires parallel requests, it'll probably not serve all files well.\n\n### Applications made with bashwapp ###\n\n* [Sample Multishotifier](https://github.com/coderofsalvation/sample-multi-shotifier)\n\n### Credits ###\n\n* bootstrap template from startbootstrap.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderofsalvation%2Fbashwapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderofsalvation%2Fbashwapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderofsalvation%2Fbashwapp/lists"}