{"id":22486197,"url":"https://github.com/CaptainFact/captain-fact-frontend","last_synced_at":"2025-08-02T19:31:08.220Z","repository":{"id":26428669,"uuid":"107915893","full_name":"CaptainFact/captain-fact-frontend","owner":"CaptainFact","description":"🔎 CaptainFact - Frontend. The one you see on https://captainfact.io","archived":false,"fork":false,"pushed_at":"2025-05-21T17:58:23.000Z","size":33979,"stargazers_count":86,"open_issues_count":36,"forks_count":33,"subscribers_count":11,"default_branch":"staging","last_synced_at":"2025-07-30T18:31:59.189Z","etag":null,"topics":["captain-fact","civic-tech","collaborative","fact-checking","frontend","hacktoberfest","react","spa"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CaptainFact.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,"zenodo":null}},"created_at":"2017-10-23T01:01:25.000Z","updated_at":"2025-05-29T16:57:58.000Z","dependencies_parsed_at":"2023-02-14T10:00:57.724Z","dependency_job_id":"6e85656c-a1f6-4ef5-80ef-07503a4185fc","html_url":"https://github.com/CaptainFact/captain-fact-frontend","commit_stats":{"total_commits":1174,"total_committers":43,"mean_commits":"27.302325581395348","dds":0.520442930153322,"last_synced_commit":"9b3feff53deb76b33af9fca4fbbaead2416a45f6"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/CaptainFact/captain-fact-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainFact%2Fcaptain-fact-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainFact%2Fcaptain-fact-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainFact%2Fcaptain-fact-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainFact%2Fcaptain-fact-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaptainFact","download_url":"https://codeload.github.com/CaptainFact/captain-fact-frontend/tar.gz/refs/heads/staging","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainFact%2Fcaptain-fact-frontend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268440270,"owners_count":24250758,"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-02T02:00:12.353Z","response_time":74,"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":["captain-fact","civic-tech","collaborative","fact-checking","frontend","hacktoberfest","react","spa"],"created_at":"2024-12-06T17:14:04.382Z","updated_at":"2025-08-02T19:31:08.211Z","avatar_url":"https://github.com/CaptainFact.png","language":"JavaScript","funding_links":["https://opencollective.com/captainfact_io","https://opencollective.com/captainfact_io/donate"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"app/static/assets/img/logo.png\" height=\"100\"/\u003e\u003c/p\u003e\n\u003ch1 align=\"center\"\u003e\u003ca href=\"https://captainfact.io\"\u003eCaptainFact.io\u003c/a\u003e\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://discord.captainfact.io\" title=\"Discord\"\u003e\u003cimg src=\"https://discordapp.com/api/guilds/416782744748687361/widget.png\" alt=\"Discord\"\u003e\u003c/a\u003e\n\u003ca href=\"https://twitter.com/CaptainFact_io\" title=\"Twitter\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/CaptainFact_io.svg?style=social\u0026label=Follow\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/captainfact_io\" title=\"Backers on Open Collective\"\u003e\u003cimg src=\"https://opencollective.com/captainfact_io/backers/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"./LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/CaptainFact/captain-fact-frontend.svg\" alt=\"AGPL3\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/CaptainFact/captain-fact-frontend/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/CaptainFact/captain-fact-frontend\" alt=\"GitHub release\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/CaptainFact/captain-fact-frontend/actions/workflows/release.yml\"\u003e\u003cimg src=\"https://github.com/CaptainFact/captain-fact-frontend/actions/workflows/release.yml/badge.svg\" alt='Release Status' /\u003e\u003c/a\u003e\n\u003ca href='https://coveralls.io/github/CaptainFact/captain-fact-frontend?branch=staging'\u003e\u003cimg src='https://coveralls.io/repos/github/CaptainFact/captain-fact-frontend/badge.svg?branch=staging' alt='Coverage Status' /\u003e\u003c/a\u003e\n\u003ca href=\"https://hosted.weblate.org/engage/captainfact-frontend-ui/\"\u003e\u003cimg src=\"https://hosted.weblate.org/widgets/captainfact-frontend-ui/-/svg-badge.svg\" alt=\"Translation status\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003chr/\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://opencollective.com/captainfact_io/donate\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://opencollective.com/captainfact_io/donate/button@2x.png?color=white\" width=300 /\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\u003chr/\u003e\n\n## Getting started\n\nIf you're already have the API running locally, a simple `npm install \u0026\u0026 npm start`\nshould be enough. Otherwise follow the procedure below:\n\n- Install (if you don't have them):\n\n  - The API project: https://github.com/opencollective/opencollective-api\n  - NodeJS, ideally using [asdf-vm](https://github.com/asdf-vm/asdf) with `NODEJS_CHECK_SIGNATURES=no asdf install`\n  - App dependencies: `npm install`\n\n- Run:\n  - `npm start` - Start the front-end\n  - `npm run test` - Runs all unit tests\n\nFront-end is started on http://localhost:3333\n\nA default account should have been created for you with\ne-mail=`admin@captainfact.io` and password=`password`.\n\n## Conventions\n\n#### File structure\n\n```\napp\n├── API =\u003e API libraries for both REST API and websockets\n├── assets =\u003e Assets imported from JS\n├── components =\u003e All react components\n├── i18n =\u003e Translations\n├── lib =\u003e Misc utilities\n├── state =\u003e All redux related\n│   ├── comments\n│   │   ├── effects.js =\u003e Async actions creators, always return a promise\n│   │   ├── record.js =\u003e The object representing a single comment\n│   │   ├── reducer.js =\u003e Reducer + actions creators, always return an action object\n│   │   └── selectors.js =\u003e Re-select selectors to select data in state\n│   └── ...\n├── static =\u003e Static assets, directly copied to the public directory\n└── router.jsx =\u003e Application router and main entry point\n```\n\n#### Styling\n\nStyling is based on [Tailwind](https://tailwindcss.com). Some legacy code still uses [styled-components](https://styled-components.com/), but its usage is discouraged.\n\n## Main Libraries / Frameworks\n\n- [ES6](http://es6-features.org) with [Babel](https://babeljs.io/)\n- [React](https://reactjs.org/): View layer\n- [React Router](https://github.com/ReactTraining/react-router): Routing\n- [Phoenix](https://phoenixframework.org/): Interaction with [https://hexdocs.pm/phoenix/Phoenix.Socket.html](Phoenix.Socket)\n- [TailwindCSS](https://tailwindcss.com/): Utility-first CSS framework\n- [Redux](https://redux.js.org/): State management (deprecated)\n\n## Linked projects\n\n- [Community discussions and documentation](https://github.com/CaptainFact/captain-fact/)\n- [API](https://github.com/CaptainFact/captain-fact-api)\n- [Extension](https://github.com/CaptainFact/captain-fact-extension)\n- [Overlay injector](https://github.com/CaptainFact/captain-fact-overlay-injector)\n\n## License\n\nGNU AFFERO GENERAL PUBLIC LICENSE Version 3\n\nPermissions of this strongest copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.\n\nSee [LICENSE](LICENSE) for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCaptainFact%2Fcaptain-fact-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCaptainFact%2Fcaptain-fact-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCaptainFact%2Fcaptain-fact-frontend/lists"}