{"id":13543324,"url":"https://github.com/GoogleChromeLabs/go-hackernews","last_synced_at":"2025-04-02T12:32:10.851Z","repository":{"id":57535675,"uuid":"153845515","full_name":"GoogleChromeLabs/go-hackernews","owner":"GoogleChromeLabs","description":"A Hacker News client written in Go","archived":true,"fork":false,"pushed_at":"2018-10-26T00:27:10.000Z","size":119,"stargazers_count":83,"open_issues_count":2,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-03T10:32:33.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gohackernews.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoogleChromeLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-19T21:47:01.000Z","updated_at":"2023-10-01T10:17:04.000Z","dependencies_parsed_at":"2022-08-28T17:42:01.224Z","dependency_job_id":null,"html_url":"https://github.com/GoogleChromeLabs/go-hackernews","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/GoogleChromeLabs%2Fgo-hackernews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleChromeLabs%2Fgo-hackernews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleChromeLabs%2Fgo-hackernews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleChromeLabs%2Fgo-hackernews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleChromeLabs","download_url":"https://codeload.github.com/GoogleChromeLabs/go-hackernews/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246815830,"owners_count":20838524,"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-08-01T11:00:29.888Z","updated_at":"2025-04-02T12:32:05.842Z","avatar_url":"https://github.com/GoogleChromeLabs.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://gohackernews.com/\"\u003e\n    \u003cimg alt=\"Go Hacker News\" title=\"Go Hacker News\" src=\"https://i.imgur.com/nbp4kUU.png\" width=\"250\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  A Hacker News client written in Go\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"PRs Welcome\" src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\"\u003e\n\u003c/p\u003e\n\n## What is this?\n\nA Hacker News client (yes, another one) written in [Go](https://golang.org/) using [GopherJS](https://github.com/gopherjs/gopherjs).\n\n## What is this built with?\n\n* [GopherJS](https://github.com/gopherjs/gopherjs) to compile Go to JavaScript\n* [myitcv.io/react](https://github.com/myitcv/x/tree/master/react) for React bindings\n  * [JSX](https://godoc.org/myitcv.io/react/jsx) is supported, but this app does not have any :)\n* [Humble/Router](https://github.com/go-humble/router) for routing\n\n### Additional \n\n* Service Worker added with [Workbox](https://developers.google.com/web/tools/workbox/)\n* Hosting on [Firebase](https://www.google.ca/search?q=firebase+hosting\u0026oq=firebase+hosting\u0026aqs=chrome.0.0j69i60l2j69i61j0l2.1327j0j4\u0026sourceid=chrome\u0026ie=UTF-8)\n\n## Setup\n\n1. Fork/clone the repo\n2. Install packages:\n\n```bash\ngo get -u github.com/gopherjs/gopherjs\t\ngo get -u myitcv.io/react myitcv.io/react/cmd/reactGen\t\ngo get -u honnef.co/go/js/xhr github.com/go-humble/router\t\n```\n\n3. Add GopherJS and ReactGen to PATH:\n\n```bash\nexport PATH=\"$(dirname $(go list -f '{{.Target}}' myitcv.io/react/cmd/reactGen)):$PATH\"\n```\n\n4. Create generated files for each component:\n\n```bash\ngo generate\n```\n\n5. Build the application:\n\n```bash\ngopherjs build --output build/script.min.js --minify\n```\n\nThis will save create `script.min.js` in the `build/` folder. You can use any local testing server in `build/` to boot up the application (for example: `python -m SimpleHTTPServer` if you have Python installed).\n\n## Can I contribute?\n\nOf course you can! Please take a look at the [contributing](./CONTRIBUTING.md) documentation for more info.\n\n## License\n\nApache 2.0\n\nThis is not an official Google product.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleChromeLabs%2Fgo-hackernews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGoogleChromeLabs%2Fgo-hackernews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleChromeLabs%2Fgo-hackernews/lists"}