{"id":16974486,"url":"https://github.com/sunho/shower-server","last_synced_at":"2026-04-16T10:34:52.497Z","repository":{"id":116987195,"uuid":"121528951","full_name":"sunho/shower-server","owner":"sunho","description":"lightweight code monitoring system for coding class","archived":false,"fork":false,"pushed_at":"2018-07-23T00:22:42.000Z","size":190,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T15:28:12.612Z","etag":null,"topics":["education","monitoring","react","rest-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-02-14T15:49:41.000Z","updated_at":"2019-04-16T15:08:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e263b43-8342-42f2-88cb-346e45c547e9","html_url":"https://github.com/sunho/shower-server","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/sunho%2Fshower-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunho%2Fshower-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunho%2Fshower-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunho%2Fshower-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunho","download_url":"https://codeload.github.com/sunho/shower-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244868035,"owners_count":20523581,"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":["education","monitoring","react","rest-api"],"created_at":"2024-10-14T01:06:34.379Z","updated_at":"2026-04-16T10:34:47.457Z","avatar_url":"https://github.com/sunho.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Introduction\n🚿 A web simple code monitoring system.\n\n\u003cimg src=\"screenshot.png\"/\u003e\n\n# Brief explanantion\n - **/*.go** is a back-end server. It supports recieving data from clients(atom pugin) and provides an api for administration.\n - **public** directory includes an administration client made with typescript which supports monitoring clients connected to the server.\n\n# Running the server\n\n## Docker way\n\n### Prerequisites\n - docker\n\n### Guide\n\nRun the command below.\n\n```\ndocker run -e USER=changeme -e PASS=changeme -p 5697:5697 ksunhokim/shower-server\n```\n\nAlternatively, you can build the image from Dockerfile.\n\n```\ngit clone https://github.com/sunho/shower-server\ncd shower-server\ndocker build -t shower-server . \u0026\u0026 docker run -e USER=changeme -e PASS=changeme -p 5697:5697 -it shower-server\n```\n\nNow open http://127.0.0.1:5697 in your favorite browser. You will see a tidy and shiny administration client.\n\n## Standard way\n\n### Prerequisites\n - go compiler\n - npm\n\n### Guide\nRun the command below.\n\n```\ngo get github.com/sunho/shower-server\n```\n\nThis will clone the repo and download every go dependency. Now you have to build the frontend or adiministration client.\n\n```\ncd $GOPATH/src/github.com/sunho/shower-server\nnpm install\nnpx webpack -p --config webpack.config.prod.js\n```\n\nAfter the build was completed, you should see dist folder full of html/js/css files. Now you can run the server.\n\n```\nexport USER=changeme\nexport PASS=changeme\ngo build\n./shower-server\n```\n\nThe environment variables USER and PASS are going to be used as admin username and password for administarion client. Running the server in this way isn't really safe, because every process running on the host can access it. Thus if you're serious, you must use Docker or write a script so that the username and password wouldn't be exposed.\n\nNow open http://127.0.0.1:5697 in your favorite browser. You will see a tidy and shiny administration client.\n\n# Connecting to the server\n\nInstall Atom. And then, install \"code-shower\" package([guide](https://flight-manual.atom.io/using-atom/sections/atom-packages/)). Open edit\\\u003eConfig... and replace \"wss://sunho.kim/shower\" with \"ws://127.0.0.1:5697\" Finally, open packages\\\u003eCode Shower\\\u003ereload. Now if you edit some arbitrary file, it will be shown in the administarion client.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunho%2Fshower-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunho%2Fshower-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunho%2Fshower-server/lists"}