{"id":16158146,"url":"https://github.com/typeofweb/reason-giphy","last_synced_at":"2026-02-16T21:33:09.692Z","repository":{"id":39460080,"uuid":"196465294","full_name":"typeofweb/reason-giphy","owner":"typeofweb","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-10T23:18:30.000Z","size":1240,"stargazers_count":0,"open_issues_count":16,"forks_count":0,"subscribers_count":0,"default_branch":"workshops","last_synced_at":"2025-10-16T10:18:08.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mmiszy.github.io/reason-giphy/","language":"OCaml","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/typeofweb.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}},"created_at":"2019-07-11T21:07:19.000Z","updated_at":"2019-09-07T07:38:52.000Z","dependencies_parsed_at":"2022-09-15T11:11:44.947Z","dependency_job_id":null,"html_url":"https://github.com/typeofweb/reason-giphy","commit_stats":null,"previous_names":["typeofweb/reason-giphy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/typeofweb/reason-giphy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeofweb%2Freason-giphy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeofweb%2Freason-giphy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeofweb%2Freason-giphy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeofweb%2Freason-giphy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typeofweb","download_url":"https://codeload.github.com/typeofweb/reason-giphy/tar.gz/refs/heads/workshops","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeofweb%2Freason-giphy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29519381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T18:37:19.720Z","status":"ssl_error","status_checked_at":"2026-02-16T18:36:46.920Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-10T01:53:06.197Z","updated_at":"2026-02-16T21:33:09.671Z","avatar_url":"https://github.com/typeofweb.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-reason\n\n## Run Project\n\n```sh\nyarn install\nyarn start\n# in another tab\nyarn webpack\n```\n\nAfter you see the webpack compilation succeed (the `yarn webpack` step), open up `build/index.html` (**no server needed!**). Then modify whichever `.re` 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## Run Project with Server\n\nTo run with the webpack development server run `yarn server` and view in the browser at http://localhost:8000. Running in this environment provides hot reloading and support for routing; just edit and save the file and the browser will automatically refresh.\n\nNote that any hot reload on a route will fall back to the root (`/`), so `ReasonReact.Router.dangerouslyGetInitialUrl` will likely be needed alongside the `ReasonReact.Router.watchUrl` logic to handle routing correctly on hot reload refreshes or simply opening the app at a URL that is not the root.\n\nTo use a port other than 8000 set the `PORT` environment variable (`PORT=8080 yarn server`).\n\n## Build for Production\n\n```sh\nyarn clean\nyarn build\nyarn webpack:production\n```\n\nThis will replace the development artifact `build/Index.js` for an optimized version as well as copy `src/index.html` into `build/`. You can then deploy the contents of the `build` directory (`index.html` and `Index.js`).\n\nIf you make use of routing (via `ReasonReact.Router` or similar logic) ensure that server-side routing handles your routes or that 404's are directed back to `index.html` (which is how the dev server is set up).\n\n**To enable dead code elimination**, change `bsconfig.json`'s `package-specs` `module` from `\"commonjs\"` to `\"es6\"`. Then re-run the above 2 commands. This will allow Webpack to remove unused code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypeofweb%2Freason-giphy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypeofweb%2Freason-giphy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypeofweb%2Freason-giphy/lists"}