{"id":13508871,"url":"https://github.com/borkdude/bebo","last_synced_at":"2026-03-16T08:30:16.218Z","repository":{"id":41443961,"uuid":"509596987","full_name":"borkdude/bebo","owner":"borkdude","description":"Run Clojure scripts on deno","archived":false,"fork":false,"pushed_at":"2022-07-04T09:57:08.000Z","size":22,"stargazers_count":108,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-10-01T05:41:28.530Z","etag":null,"topics":["clojure","deno","sci-interpreter"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/borkdude.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":"2022-07-01T21:50:39.000Z","updated_at":"2024-09-11T15:59:37.000Z","dependencies_parsed_at":"2022-09-21T09:43:53.976Z","dependency_job_id":null,"html_url":"https://github.com/borkdude/bebo","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fbebo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fbebo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fbebo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fbebo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borkdude","download_url":"https://codeload.github.com/borkdude/bebo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219848897,"owners_count":16556331,"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":["clojure","deno","sci-interpreter"],"created_at":"2024-08-01T02:00:59.708Z","updated_at":"2026-03-16T08:30:16.164Z","avatar_url":"https://github.com/borkdude.png","language":"Clojure","funding_links":[],"categories":["Clojure","clojure"],"sub_categories":[],"readme":"# bebo\n\nDeno is a modern runtime for JavaScript and TypeScript. Go to the [deno](https://deno.land/) website to learn more.\n\nThis is a tool to run Clojure scripts on deno using\n[SCI](https://github.com/babashka/sci).\n\n## Install from CDN\n\nTo preserve fine-grained control per script invocation, you can use the `run.ts` script to invoke a ClojureScript (`.cljs`) file:\n\n```\ndeno run --allow-net \\\n     https://cdn.jsdelivr.net/npm/bebo@0.0.6/run.ts \\\n     https://raw.githubusercontent.com/borkdude/bebo/v0.0.6/examples/server/example.cljs\n```\n\nand install this invocation as a named tool:\n\n```\ndeno install --name server-example --allow-net \\\n     https://cdn.jsdelivr.net/npm/bebo@0.0.6/run.ts \\\n     https://raw.githubusercontent.com/borkdude/bebo/v0.0.6/examples/server/example.cljs\n```\n\nTo install `bebo` as a script runner with full access:\n\n```\n$ deno install --allow-all --name bebo https://cdn.jsdelivr.net/npm/bebo@0.0.6/lib/bebo_main.js\n```\n\nThen run `bebo` on a local or remote `.cljs` file:\n\n```\n$ bebo run https://raw.githubusercontent.com/borkdude/bebo/v0.0.6/examples/server/example.cljs\nListening on http://localhost:8080/\n```\n\n## Compile\n\nDeno supports a `compile` option which lets you create a standalone\nexecutable. This has the benefit of faster startup time. One disadvantage is\nthat you have to specify all used dependencies up front. See it as an\noptimization when you're done developing your application.\n\nTo do this, create a `runner.js`:\n\n``` javascript\nimport { runScript } from 'https://cdn.jsdelivr.net/npm/bebo@0.0.6/lib/bebo_core.js'\n\n// Add all modules you are going to use within .cljs scripts. They will be bundled into the executable.\nimport \"https://deno.land/std@0.146.0/http/server.ts\"\n\n// The .cljs script to be invoked:\nawait runScript(Deno.args[0]);\n```\n\nThen:\n```\n$ deno compile --allow-all -o runner runner.js\n```\n\nThen:\n\n```\n./runner examples/server/example.cljs\n```\n\n## Build and run\n\n```\n$ npx shadow-cljs release bebo\n$ deno run --allow-read --allow-net lib/bebo_main.js examples/server/example.cljs\nListening on http://localhost:8080/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborkdude%2Fbebo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborkdude%2Fbebo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborkdude%2Fbebo/lists"}