{"id":15984715,"url":"https://github.com/jchavarri/chrome-extension-starter-reason-react","last_synced_at":"2025-03-18T00:31:30.564Z","repository":{"id":76212543,"uuid":"111841485","full_name":"jchavarri/chrome-extension-starter-reason-react","owner":"jchavarri","description":"Getting Started: Building a Chrome Extension with ReasonReact","archived":false,"fork":false,"pushed_at":"2018-06-09T10:15:07.000Z","size":10,"stargazers_count":24,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T06:04:21.843Z","etag":null,"topics":["chrome-extension","react","reason","reason-react","reasonml"],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/jchavarri.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":"2017-11-23T18:52:36.000Z","updated_at":"2021-05-21T16:18:35.000Z","dependencies_parsed_at":"2023-03-11T21:53:57.844Z","dependency_job_id":null,"html_url":"https://github.com/jchavarri/chrome-extension-starter-reason-react","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"2156d8382aa832d014d15e3b17cc139313e1b5a9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchavarri%2Fchrome-extension-starter-reason-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchavarri%2Fchrome-extension-starter-reason-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchavarri%2Fchrome-extension-starter-reason-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchavarri%2Fchrome-extension-starter-reason-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jchavarri","download_url":"https://codeload.github.com/jchavarri/chrome-extension-starter-reason-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893849,"owners_count":20364918,"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":["chrome-extension","react","reason","reason-react","reasonml"],"created_at":"2024-10-08T02:10:15.151Z","updated_at":"2025-03-18T00:31:30.560Z","avatar_url":"https://github.com/jchavarri.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Chrome Extension with ReasonReact\nThis is a starter example to build a Chrome extension using ReasonReact. It is 100% based on the original started project [\"Getting Started: Building a Chrome Extension\"](https://developer.chrome.com/extensions/getstarted).\n\nThe project consists on placing a clickable icon right next to Chrome's Omnibox for easy access. Clicking that icon opens a popup window that allows the user to choose the background color of the current page. If the user had selected a background color for the page earlier, the extension will remember the user's choice and use it as the default, once the popup is clicked:\n\n![Getting started preview](https://developer.chrome.com/static/images/gettingstarted-preview.png)\n\n### Running\n\nRun this project:\n\n```\nnpm install\nnpm start\n# in another tab\nnpm run webpack\n```\n\nAfter you see the webpack compilation succeed (the `npm run webpack` step), open up the nested html files in `src/*` (**no server needed!**). Then modify whichever file in `src` and refresh the page to see the changes.\n\n**For more elaborate ReasonReact examples**, please see https://github.com/reasonml-community/reason-react-example\n\n### TODO\n\nContributions welcomed :)\n\n- [ ] Make production webpack config\n- [ ] The project is based in [this temporary branch of `bucklescript-chrome`](https://github.com/jchavarri/bucklescript-chrome/tree/start-extensions) (the bindings for Chrome API). `package.json` should be changed once / if the changes are merged upstream","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjchavarri%2Fchrome-extension-starter-reason-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjchavarri%2Fchrome-extension-starter-reason-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjchavarri%2Fchrome-extension-starter-reason-react/lists"}