Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikkelhegn/wc-bot-spin-js
A Slack bot to give today's status on matches in the World Cup, written using Spin's JavaScript SDK
https://github.com/mikkelhegn/wc-bot-spin-js
slack slackbot spin webassembly
Last synced: 23 days ago
JSON representation
A Slack bot to give today's status on matches in the World Cup, written using Spin's JavaScript SDK
- Host: GitHub
- URL: https://github.com/mikkelhegn/wc-bot-spin-js
- Owner: mikkelhegn
- Created: 2022-11-30T10:18:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-30T10:53:25.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T02:24:05.758Z (3 months ago)
- Topics: slack, slackbot, spin, webassembly
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Slack bot written in JavaScript for Spin
This Slack bot shows you today's World Cup matches. It's written to demonstrate the use of the [Spin JavaScript SDK](https://github.com/fermyon/spin-js-sdk)
### Building the example
You need `spinjs` in your path for the build to work.
`spinjs` can be built from the [Spin JavaScript SDK](https://github.com/fermyon/spin-js-sdk)
```
spin build
```### Running the example
```
spin up --follow-all
```Use e.g. `curl -v http://127.0.0.1:3000` to test that it's working.