{"id":20372629,"url":"https://github.com/txchen/riot-hn","last_synced_at":"2025-06-13T03:04:49.331Z","repository":{"id":27154440,"uuid":"30623649","full_name":"txchen/riot-hn","owner":"txchen","description":"hackernews by riotjs","archived":false,"fork":false,"pushed_at":"2016-02-29T04:33:47.000Z","size":599,"stargazers_count":53,"open_issues_count":2,"forks_count":4,"subscribers_count":6,"default_branch":"gh-pages","last_synced_at":"2025-04-27T11:02:36.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://git.io/riot-hn","language":"HTML","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/txchen.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}},"created_at":"2015-02-11T01:12:29.000Z","updated_at":"2023-03-25T23:06:27.000Z","dependencies_parsed_at":"2022-08-31T19:40:57.700Z","dependency_job_id":null,"html_url":"https://github.com/txchen/riot-hn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/txchen/riot-hn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Friot-hn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Friot-hn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Friot-hn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Friot-hn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/txchen","download_url":"https://codeload.github.com/txchen/riot-hn/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Friot-hn/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259571641,"owners_count":22878184,"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-11-15T01:14:09.381Z","updated_at":"2025-06-13T03:04:49.273Z","avatar_url":"https://github.com/txchen.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Hackernews by Riotjs\nThis is a simple hackernews app implemented by [RiotJs](https://muut.com/riotjs/), it uses official hackernews api provided by firebase.\n\nThis app is converted from vuejs' [example](http://vuejs.org/examples/hackernews.html), to show that riotjs can also complete such task.\n\nFeatures:\n* use npm and script as dev work flow, no gulp or grunt.\n* organize the code into views and components.\n* use browserify to pack all the js files into one single output.\n* support source map so that debugger in browser can be used.\n* use riot's native routing feature.\n\n**Online demo:** http://git.io/riot-hn\n\n## Building and running\n\n1. Make sure node and npm are installed\n\n2. Clone the repo:\n  ```\n  git clone https://github.com/txchen/riot-hn.git\n  ```\n\n3. Install npm dependencies:\n  ```bash\n  cd riot-hn\n  npm install\n  ```\n\n4. Start to develop, it would watch the source code and auto rebuild.\n  ```bash\n  npm run dev\n  ```\n\n5. Open your browser at http://127.0.0.1:9090\n\n6. Or manually run the build, the output will be generated in ./build folder\n  ```bash\n  npm run build\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxchen%2Friot-hn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftxchen%2Friot-hn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxchen%2Friot-hn/lists"}