{"id":17449798,"url":"https://github.com/guillempuche/gpt-rescript","last_synced_at":"2025-10-26T01:20:10.980Z","repository":{"id":210744747,"uuid":"726840172","full_name":"guillempuche/gpt-rescript","owner":"guillempuche","description":"ReScript assistant for GPT4","archived":false,"fork":false,"pushed_at":"2023-12-05T22:07:11.000Z","size":2389,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T05:38:12.852Z","etag":null,"topics":["bun","functional-programming","gpt","gpt-4","javascript","rescript","rescript-bindings","rescript-lang","rescript-react","typescript"],"latest_commit_sha":null,"homepage":"https://chat.openai.com/g/g-6WNsS1jVM-rescript","language":"HTML","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/guillempuche.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}},"created_at":"2023-12-03T15:01:39.000Z","updated_at":"2023-12-12T10:12:21.000Z","dependencies_parsed_at":"2023-12-12T21:49:19.498Z","dependency_job_id":null,"html_url":"https://github.com/guillempuche/gpt-rescript","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"ca4c757eaf2a95ac054934dc061c5b29ad5ac50a"},"previous_names":["guillempuche/gpt-rescript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillempuche%2Fgpt-rescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillempuche%2Fgpt-rescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillempuche%2Fgpt-rescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillempuche%2Fgpt-rescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guillempuche","download_url":"https://codeload.github.com/guillempuche/gpt-rescript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233773790,"owners_count":18728085,"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":["bun","functional-programming","gpt","gpt-4","javascript","rescript","rescript-bindings","rescript-lang","rescript-react","typescript"],"created_at":"2024-10-17T21:56:09.109Z","updated_at":"2025-09-22T04:32:07.296Z","avatar_url":"https://github.com/guillempuche.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReScript GPT\n\nExperience ReScript coding like never before with our custom GPT assistant at [ReScript GPT](https://chat.openai.com/g/g-6WNsS1jVM-rescript).\n\nReScript GPT is a custom GPT assistant designed for generating ReScript code, tailored for both frontend and backend development in ReScript versions 10 and 11. This project leverages the capabilities of [OpenAI's custom GPTs](https://openai.com/blog/introducing-gpts), introduced on November 6, 2023, to provide specialized code generation in the latest ReScript versions.\n\n## Why Custom GPT for ReScript?\n\nThe generic GPT-4 showed limitations in coding with ReScript, especially for versions 10 and 11. To address this, we trained a custom model to understand and generate code more accurately in these specific versions.\n\n## Training Material\n\nWe used up-to-date ReScript code (versions 10 and 11) sourced from GitHub:\n\n- **Offical Website**: [rescript-lang.org](https://rescript-lang.org/) that has the markdown files on this [repository](https://github.com/rescript-association/rescript-lang.org/).\n- **Generic Code**: `path:package.json rescript \"11.0\"`. Try it [here](https://github.com/search?utf8=%E2%9C%93\u0026q=path%3Apackage.json+rescript+%2211.0%22\u0026type=code).\n- **Frontend Code**: `path:package.json rescript \"11.0\" \"rescript/react\" tailwind`, `path:rescript.json react`\n- **Backend Code**: `path:package.json rescript \"11.0\" rescript-bun`, `path:rescript.json rescript-bun`\n\nThe model is currently trained with files from the `files-v1` directory, each following the `template.md` format.\n\n## Instructions\n\nWe prompt GPT this:\n```md\nYou're an expert of ReScript (versions 11 and 10) React and Typescript.\n\nRequirements:\n- You always code in Rescript v11\n- If you receive Javascript or Typescript code to transform to Rescript, don't make errors on small details.\n- If the solution is short, provide two solutions. Else one.\n- Just list the Rescript techniques used.\n- Always try to use the latest code of the dependencies required. Example: React 18, Next 13\n- If you need other  files than `res`, just do it\n```\n\n## Resources and References\n\n- [ReScript Compiler Releases](https://github.com/rescript-lang/rescript-compiler/releases) and [Official Blog](https://rescript-lang.org/blog) for new version features.\n- Relevant OpenAI Articles:\n  - [Introducing Custom GPTs](https://openai.com/blog/introducing-gpts)\n  - [New Models and Developer Products Announced at DevDay](https://openai.com/blog/new-models-and-developer-products-announced-at-devday)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillempuche%2Fgpt-rescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillempuche%2Fgpt-rescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillempuche%2Fgpt-rescript/lists"}