{"id":30184617,"url":"https://github.com/studyresearchprojects/rusty-hackernews","last_synced_at":"2025-11-25T09:01:36.514Z","repository":{"id":104134180,"uuid":"388978487","full_name":"StudyResearchProjects/rusty-hackernews","owner":"StudyResearchProjects","description":"HackerNews UI built in Rust using the Official HackerNews API. The Name \"FluxCap\" comes from the Flux Capacitor used in \"Back to the Future\" as it has a \"Y\" shape.","archived":false,"fork":false,"pushed_at":"2021-09-04T22:34:13.000Z","size":3902,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-06T00:42:55.806Z","etag":null,"topics":["actix-web","hacker-news","rust","ui","wasm","wrapper","yew"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StudyResearchProjects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-07-24T02:26:05.000Z","updated_at":"2025-08-04T21:01:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f6eba32-2cc3-4744-8394-0ce4f675f267","html_url":"https://github.com/StudyResearchProjects/rusty-hackernews","commit_stats":null,"previous_names":["leoborai/rusty-hackernews","estebanborai/rusty-hackernews","studyresearchprojects/rusty-hackernews"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StudyResearchProjects/rusty-hackernews","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Frusty-hackernews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Frusty-hackernews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Frusty-hackernews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Frusty-hackernews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StudyResearchProjects","download_url":"https://codeload.github.com/StudyResearchProjects/rusty-hackernews/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Frusty-hackernews/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270064253,"owners_count":24520928,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["actix-web","hacker-news","rust","ui","wasm","wrapper","yew"],"created_at":"2025-08-12T12:43:45.646Z","updated_at":"2025-11-25T09:01:30.218Z","avatar_url":"https://github.com/StudyResearchProjects.png","language":"Rust","readme":"\u003cdiv\u003e\n  \u003cdiv align=\"center\" style=\"display: block; text-align: center;\"\u003e\n    \u003cimg src=\"./docs/flux-capacitor.jpeg\" width=\"120\" /\u003e\n  \u003c/div\u003e\n  \u003ch1 align=\"center\"\u003efluxcap\u003c/h1\u003e\n  \u003ch4 align=\"center\"\u003e\n    HackerNews UI built in Rust using the Official HackerNews API. The Name \"FluxCap\" comes from the Flux Capacitor used in \"Back to the Future\" as it has a \"Y\" shape.\n  \u003c/h4\u003e\n\u003c/div\u003e\n\n## Development\n\n## Docker\n\n\u003e You must have Docker and Docker Compose installed in your system\n\n1. Create a copy of `.env.sample` into a fille name `.env`\n\n2. Execute `docker-compose -f ./docker-compose.dev.yml up --build`\n\n3. Install the `sqlx-cli` using cargo. Follow the [crate documentation](https://lib.rs/crates/sqlx-cli)\n\n4. Run database migrations `sqlx migrate run`\n\n\u003e When done, remember to teardown the Docker system by executing `docker-compose -f ./docker-compose.dev.yml down`\n\n### Client\n\n1. Install `trunk` following the [official documentation](https://trunkrs.dev/#install).\n\n2. Install de Rust target for WASM using `rustup target add wasm32-unknown-unknown`\n\n3. `cd` into the `client` directory and run `trunk serve`\n\n### Server\n\n1. Install `cargo watch`, even if its not required is conveninent to\nhave the project built on every file change in the project\n\n2. Run `cargo watch -x \"run --package server\"`\n\n3. The website is available at http://0.0.0.0:3000\n\n## Deployment\n\nDeployment is done in Heroku using the [emk/heroku-buildpack-rust](https://github.com/emk/heroku-buildpack-rust).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudyresearchprojects%2Frusty-hackernews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstudyresearchprojects%2Frusty-hackernews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudyresearchprojects%2Frusty-hackernews/lists"}