{"id":21570519,"url":"https://github.com/gitpod-samples/template-ocaml","last_synced_at":"2025-04-10T14:12:56.256Z","repository":{"id":43640512,"uuid":"395628286","full_name":"gitpod-samples/template-ocaml","owner":"gitpod-samples","description":"A template for OCaml, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.","archived":false,"fork":false,"pushed_at":"2023-08-28T14:47:15.000Z","size":9,"stargazers_count":18,"open_issues_count":0,"forks_count":6,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-24T12:56:21.335Z","etag":null,"topics":["gitpod","ocaml","opam","template"],"latest_commit_sha":null,"homepage":"https://www.gitpod.io/","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/gitpod-samples.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}},"created_at":"2021-08-13T11:25:46.000Z","updated_at":"2024-06-15T16:25:36.000Z","dependencies_parsed_at":"2022-09-24T22:40:26.020Z","dependency_job_id":null,"html_url":"https://github.com/gitpod-samples/template-ocaml","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-ocaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-ocaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-ocaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-ocaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitpod-samples","download_url":"https://codeload.github.com/gitpod-samples/template-ocaml/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248232775,"owners_count":21069490,"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":["gitpod","ocaml","opam","template"],"created_at":"2024-11-24T11:13:01.522Z","updated_at":"2025-04-10T14:12:56.213Z","avatar_url":"https://github.com/gitpod-samples.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A OCaml template on Gitpod\n\nThis is a [OCaml](https://en.wikipedia.org/wiki/OCaml) template configured for ephemeral development environments on [Gitpod](https://www.gitpod.io/). It provides the development tools recommneded in the offical OCaml documentation: [Up and Running with OCaml](https://ocaml.org/learn/tutorials/up_and_running.html): It uses [Dune](https://dune.readthedocs.io/en/stable/) as the build system, [ocaml-lsp](https://github.com/ocaml/ocaml-lsp) to provide code-completion etc, and [ocamlformat](https://github.com/ocaml-ppx/ocamlformat) to automatically format your code whenever you save files.\n\nBefore you can build and run the `helloworld` program you need to be in the right directory and have the opam environment configured; in Gitpod this is already done for you.\n\n```sh\neval $(opam env)\n```\n\nTo build and run the `helloworld` program, run the following:\n\n```sh\ndune build\ndune exec helloworld\n```\n\n## Next Steps\n\nClick the button below to start a new development environment:\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/gitpod-io/template-ocaml)\n\n## Get Started With Your Own Project\n\n### A new project\n\nClick the above \"Open in Gitpod\" button to start a new workspace. Once you're ready to push your first code changes, Gitpod will guide you to fork this project so you own it.\n\n### An existing project\n\nTo get started with OCaml on Gitpod, copy the contents of this foler to your own project. To learn more, please see the [Getting Started](https://www.gitpod.io/docs/getting-started) documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-samples%2Ftemplate-ocaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitpod-samples%2Ftemplate-ocaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-samples%2Ftemplate-ocaml/lists"}