{"id":26730858,"url":"https://github.com/cevr/next-rescript-template","last_synced_at":"2026-01-28T23:02:25.745Z","repository":{"id":131320532,"uuid":"301619204","full_name":"cevr/next-rescript-template","owner":"cevr","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-06T05:23:08.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-05T13:50:44.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"next-rescript-template.vercel.app","language":"Reason","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/cevr.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":"2020-10-06T05:05:01.000Z","updated_at":"2020-10-06T05:23:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6dda03c-0b61-4abe-af0f-92455de21acc","html_url":"https://github.com/cevr/next-rescript-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cevr/next-rescript-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fnext-rescript-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fnext-rescript-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fnext-rescript-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fnext-rescript-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cevr","download_url":"https://codeload.github.com/cevr/next-rescript-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fnext-rescript-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28854440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"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":"2025-03-27T23:32:13.282Z","updated_at":"2026-01-28T23:02:25.740Z","avatar_url":"https://github.com/cevr.png","language":"Reason","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e forked from https://github.com/ryyppy/rescript-nextjs-template\n\n# ReScript NextJS Starter\n\nThis is a NextJS based template with following setup:\n\n- Full Tailwind config \u0026 basic css scaffold (+ production setup w/ purge-css \u0026 cssnano)\n- [ReScript](https://rescript-lang.org) + React\n- Basic ReScript Bindings for Next\n- Preconfigured Dependencies: `reason-react`\n\n## Development\n\nRun ReScript in dev mode:\n\n```\nnpm run res:start\n```\n\nIn another tab, run the Next dev server:\n\n```\nnpm run dev\n```\n\n## Tips\n\n### Filenames with special characters\n\nReScript \u003e 8.3 now supports filenames with special characters: e.g. `pages/blog/[slug].res`.\nIf you can't upgrade yet, you can create a e.g. `pages/blog/[slug].js` file, a `re_pages/blog_slug.re` file and then reexport the React component within the `[slug].js` file.\n\nWe recommend upgrading to the newest ReScript (bs-platform) version as soon as possible to get the best experience for Next!\n\n### Fast Refresh \u0026 ReScript\n\nMake sure to create interface files (`.resi`) for each `page/*.res` file.\n\nFast Refresh requires you to **only export React components**, and it's easy to unintenionally export other values than that.\n\n## Useful commands\n\nBuild CSS seperately via `postcss` (useful for debugging)\n\n```\n# Devmode\npostcss styles/main.css -o test.css\n\n# Production\nNODE_ENV=production postcss styles/main.css -o test.css\n```\n\n## Test production setup with Next\n\n```\n# Make sure to uncomment the `target` attribute in `now.json` first, before you run this:\nnpm run build\nPORT=3001 npm start\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcevr%2Fnext-rescript-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcevr%2Fnext-rescript-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcevr%2Fnext-rescript-template/lists"}