{"id":21206181,"url":"https://github.com/bots-garden/slingshot","last_synced_at":"2026-02-27T01:04:46.342Z","repository":{"id":184902130,"uuid":"672239985","full_name":"bots-garden/slingshot","owner":"bots-garden","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-10T02:31:18.000Z","size":67602,"stargazers_count":9,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T12:11:09.603Z","etag":null,"topics":["extism","function","golang","micro-service","nano-service","rust","wasi","wasm","wazero"],"latest_commit_sha":null,"homepage":"https://bots-garden.github.io/slingshot/","language":"Go","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/bots-garden.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-29T11:51:37.000Z","updated_at":"2024-08-10T02:31:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"d55aeea4-2fa5-4679-9058-8d326e7ccd8b","html_url":"https://github.com/bots-garden/slingshot","commit_stats":null,"previous_names":["bots-garden/slingshot"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/bots-garden/slingshot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-garden%2Fslingshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-garden%2Fslingshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-garden%2Fslingshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-garden%2Fslingshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bots-garden","download_url":"https://codeload.github.com/bots-garden/slingshot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-garden%2Fslingshot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29879922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"ssl_error","status_checked_at":"2026-02-26T23:50:46.793Z","response_time":89,"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":["extism","function","golang","micro-service","nano-service","rust","wasi","wasm","wazero"],"created_at":"2024-11-20T20:54:42.838Z","updated_at":"2026-02-27T01:04:46.324Z","avatar_url":"https://github.com/bots-garden.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SlingShot\n\n\u003e How to run serverless applications augmented by Wasm\n\n**SlingShot** is a **Wasm** runner to run or serve **[Extism](https://extism.org/)** **Wasm** plug-ins.\n\n**Run a wasm plug-in**:\n```bash title=\"Run a wasm plug-in\"\n./slingshot run --wasm=./hello.wasm --handler=hello --input=\"Bob 🤓\"\n```\n\n**Serve a wasm plug-in as a function**:\n```bash title=\"Serve a wasm plug-in as a function\"\n./slingshot listen --wasm=./hello.wasm --handler=handle --http-port=7070\n```\n\n**Trigger a wasm plug-in with Redis messages**:\n```bash title=\"Trigger a wasm plug-in with Redis messages\"\n./slingshot redis subscribe --wasm=./hello.wasm --handler=message \\\n--uri=${REDIS_URI} \\\n--client-id=007 \\\n--channel=news\n```\n\n**Trigger a wasm plug-in with NATS messages (✋ experimental 🚧 WIP)**:\n```bash title=\"Trigger a wasm plug-in with NATS messages (✋ experimental 🚧 WIP)\"\n./slingshot nats subscribe --wasm=./hello.wasm --handler=message \\\n--url=${NATS_SERVER_URL} \\\n--connection-id=007 \\\n--subject=news\n```\n\n**Execute a remote wasm file**:\n```bash title=\"Execute a remote wasm file\"\n./slingshot run \\\n--wasm-url=\"http://0.0.0.0:9000/print.wasm\" \\\n--wasm=./print.wasm \\\n--handler=callHandler \\\n--input=\"🤓 I'm a geek\"\n```\n\n**Run Slingshot with Docker (multi arch image 🐳)**:\n```bash title=\"Run Slingshot with Docker (multi arch image 🐳)\"\nHTTP_PORT=8080\ndocker run \\\n    -p ${HTTP_PORT}:${HTTP_PORT} \\\n    -v $(pwd)/hello-service:/app --rm botsgarden/slingshot:0.0.5 \\\n    /slingshot start \\\n    --wasm=./app/hello.wasm \\\n    --handler=callHandler \\\n    --http-port=${HTTP_PORT} \n```\n\n## How is Slingshot developed?\n\nSlingshot is developed in Go with **[Wazero](https://wazero.io/)**[^1] as the Wasm runtime and **[Extism](https://extism.org/)**[^2], which offers a Wazero-based Go SDK and a Wasm plugin system.\n\n[^1]: Wazero is a project from **[Tetrate](https://tetrate.io/)**\n[^2]: Extism is a project from **[Dylibso](https://dylibso.com/)**\n\n## Install SlingShot\n\n- Download the latest release of SlingShot: [https://github.com/bots-garden/slingshot/releases](https://github.com/bots-garden/slingshot/releases) for your machine and OS.\n- Rename it to `slingshot`\n- Check by typing: `./slingshot version`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbots-garden%2Fslingshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbots-garden%2Fslingshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbots-garden%2Fslingshot/lists"}