{"id":26871097,"url":"https://github.com/btbytes/1-hello-world","last_synced_at":"2026-02-17T16:34:11.653Z","repository":{"id":265761321,"uuid":"760405804","full_name":"btbytes/1-hello-world","owner":"btbytes","description":"OCaml Riot Example Project","archived":false,"fork":false,"pushed_at":"2024-02-20T11:08:37.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T15:53:37.464Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/btbytes.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":"2024-02-20T11:08:24.000Z","updated_at":"2024-02-20T11:08:41.000Z","dependencies_parsed_at":"2024-11-30T20:36:03.656Z","dependency_job_id":"06e4c580-d0c7-407e-97eb-fa6f6df881cb","html_url":"https://github.com/btbytes/1-hello-world","commit_stats":null,"previous_names":["btbytes/1-hello-world"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/btbytes/1-hello-world","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2F1-hello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2F1-hello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2F1-hello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2F1-hello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btbytes","download_url":"https://codeload.github.com/btbytes/1-hello-world/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2F1-hello-world/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29549796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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-31T07:18:28.085Z","updated_at":"2026-02-17T16:34:06.637Z","avatar_url":"https://github.com/btbytes.png","language":"Makefile","readme":"# `1-hello-world`\n\nA project so basic that fits on a single line!\n\n```ocaml\nRiot.run @@ fun () -\u003e print_endline \"Hello, Joe!\"\n```\n\nEvery Riot program begins with a call to `Riot.run`. `Riot.run` takes a single\nfunction as input, and _does not terminate_. This is because Riot programs are\nexpected to _run forever_.\n\nIf you want to terminate the Riot runtime, you can call `Riot.shutdown ()` from\nanywhere in the program. Keep in mind that this will not await for all\nprocesses to terminate. We will cover graceful-shutdowns of applications later\nin this tutorial.\n\n```ocaml\nRiot.run @@ fun () -\u003e\n    print_endline \"Hello, Joe!\";\n    Riot.shutdown ()\n```\n\nThe smallest Riot program, that starts and ends immediately, is then:\n\n```ocaml\nRiot.(run shutdown)\n```\n\n## Next Steps\n\n* the [next step](../2-spawn-process/) introduces you to Processes\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtbytes%2F1-hello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtbytes%2F1-hello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtbytes%2F1-hello-world/lists"}