{"id":36444179,"url":"https://github.com/jerryliao26/hive","last_synced_at":"2026-01-11T22:02:42.469Z","repository":{"id":273314250,"uuid":"143981860","full_name":"JerryLiao26/hive","owner":"JerryLiao26","description":"hive is the light-weight and elegant message center for developers","archived":false,"fork":false,"pushed_at":"2019-05-20T13:20:42.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T08:32:22.523Z","etag":null,"topics":["data-management","message-board","server","web-application"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/JerryLiao26.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-08T08:10:25.000Z","updated_at":"2019-05-20T13:20:44.000Z","dependencies_parsed_at":"2025-01-20T06:42:49.287Z","dependency_job_id":"82f512ae-489b-42fa-91b4-7a821729ac37","html_url":"https://github.com/JerryLiao26/hive","commit_stats":null,"previous_names":["jerryliao26/hive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JerryLiao26/hive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JerryLiao26%2Fhive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JerryLiao26%2Fhive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JerryLiao26%2Fhive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JerryLiao26%2Fhive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JerryLiao26","download_url":"https://codeload.github.com/JerryLiao26/hive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JerryLiao26%2Fhive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28324845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T18:42:50.174Z","status":"ssl_error","status_checked_at":"2026-01-11T18:39:13.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["data-management","message-board","server","web-application"],"created_at":"2026-01-11T22:02:42.265Z","updated_at":"2026-01-11T22:02:42.456Z","avatar_url":"https://github.com/JerryLiao26.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n  \u003cimg src='https://raw.githubusercontent.com/JerryLiao26/hive/master/static/hive_small.png' alt='hive logo'\u003e\n\u003c/div\u003e\n\n# hive\n\n[![Build Status](https://travis-ci.org/JerryLiao26/hive.svg?branch=master)](https://travis-ci.org/JerryLiao26/hive)\n[![Go Report Card](https://goreportcard.com/badge/github.com/JerryLiao26/hive)](https://goreportcard.com/report/github.com/JerryLiao26/hive)\n[![codebeat badge](https://codebeat.co/badges/4e16d63d-1c79-43ed-86af-ac6fdb7c0367)](https://codebeat.co/projects/github-com-jerryliao26-hive-master)\n[![License](https://img.shields.io/github/license/JerryLiao26/hive.svg)](https://opensource.org/licenses/MIT)\n\n**Hive** is the light-weight and elegant message center for developers\n\n## Origin\n\nOriginally [LAM](https://github.com/JerryLiao26/LAM), **hive** is now a more elegant way to collect your messages.\n\n## Use\n\n**Hive** is under heavy develop and has no official release version at the present. If you would like to try it now, try [Develop](#develop) option shown below.\n\n### Pushers\n- [hive-pusher-js](https://github.com/JerryLiao26/hive-pusher-js)\n- [hive-pusher-go](https://github.com/JerryLiao26/hive-pusher-go)\n\n## Develop\n\n### Prepare\n\n**Hive** use go [mod](https://github.com/golang/go/wiki/Modules) for dependency management. Run ```go build``` in project folder will install all dependencies under ```$GOPATH/pkg/mod/``` folder.\n\n### Database\n\nTo use **hive**, you need a database named ```hive```, and tables as follows:\n- message\n  - id(INT) [PRIMARY, AUTO_INCREMENT]\n  - tag(VARCHAR)\n  - admin(VARCHAR)\n  - content(TEXT)\n  - timestamp(DATETIME)\n\n- token\n  - tag(VARCHAR) [PRIMARY]\n  - token(VARCHAR)\n  - admin(VARCHAR)\n  - timestamp(DATETIME)\n\n- admin\n  - name(VARCHAR) [PRIMARY]\n  - token(VARCHAR)\n  - timestamp(DATETIME)\n\nThere's an sql file under ```sql/``` for you to import\n\n### Build and test\n\nNavigate to project folder, simply run\n```\ngo build main.go\n```\nRename the built file to hive, then you shall run server with command\n```\nhive start 0.0.0.0:12580\n```\nYou shall see a welcome page by visiting ```http://0.0.0.0:12580/hello```. More commands can be found with command ```hive help```\n\n## Pages\n\n### /hello\nWelcome and navigation page of **hive**\n\n### /auth\nEnter your admin token to grant you permission for using ```/dashboard``` and ```/panel```, session is valid for 24 hours\n\n### /panel\nShow server status, informations about this **hive** and so on\n\n### /dashboard\nShow tags of the authorized admin, as well as messages. Dashboard automatically refresh message list every 5 seconds\n\n## APIs\n\n### /auth\n- Method: POST\n- Require:\n```json\n{\n  \"token\": \"Your token here\"\n}\n```\n- Respond:\n```json\n{\n  \"code\": 200,\n  \"text\": \"Token verified\",\n  \"method\": \"POST\"\n}\n```\n\n### /info\n- Method: POST\n- Require:\n```json\n{\n  \"sessionId\": \"Your session ID here\"\n}\n```\n- Respond:\n```json\n{\n  \"code\": 200,\n  \"text\": \"Session verified\",\n  \"adminName\": \"Your admin name\",\n  \"startTime\": \"2018-08-08 18:08:08\",\n  \"serverOS\": \"linux\",\n  \"serverArch\": \"amd64\",\n  \"method\": \"POST\"\n}\n```\n\n### /session\n- Method: POST\n- Require:\n```json\n{\n  \"sessionId\": \"Your session ID here\"\n}\n```\n- Respond:\n```json\n{\n  \"code\": 200,\n  \"text\": \"Session verified\",\n  \"method\": \"POST\"\n}\n```\n\n### /messages\n- Method: POST\n- Require:\n```json\n{\n  \"sessionId\": \"Your session ID here\"\n}\n```\n- Respond:\n```json\n{\n  \"code\": 200,\n  \"text\": \"Session verified\",\n  \"messages\": [\n    {\"id\": 0, \"tag\": \"wow\", \"admin\": \"test\", \"content\": \"hello\", \"timestamp\": \"2018-08-09T16:22:59Z\"}\n  ],\n  \"method\": \"POST\"\n}\n```\n\n### /send\n- Method: POST\n- Require:\n```json\n{\n  \"text\": \"Your message here\",\n  \"token\": \"Your token here\"\n}\n```\n- Respond:\n```json\n{\n  \"code\": 200,\n  \"text\": \"Message from Your tag saved\",\n  \"method\": \"POST\"\n}\n```\n\n## To-dos\n\n- [ ] Code pushers and command-line pusher\n- [ ] Add super admin and a button to restart **hive** for him/her\n- [ ] Add limit for API request(e.g. 60/min)\n- [ ] Improve token generate methods\n- [ ] Running with goroutine\n- [ ] Server daemon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryliao26%2Fhive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerryliao26%2Fhive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryliao26%2Fhive/lists"}