Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nishtahir/catfacts-bot
https://github.com/nishtahir/catfacts-bot
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nishtahir/catfacts-bot
- Owner: nishtahir
- License: apache-2.0
- Created: 2023-06-23T01:35:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-23T03:30:16.000Z (over 1 year ago)
- Last Synced: 2024-04-16T12:46:44.431Z (9 months ago)
- Language: TypeScript
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cat Facts Bot
A mastodon account bot that posts daily cat facts. This uses PaLM and Bison to generate user friendly daily fact messages to educate us about our feline friends.
![Screen Shot of a catfact](./art/screenshot.png)
## Requirements
* NodeJS 18
* DigitalOcean Functions for Deployments
* MakerSuite/Google Cloud (Vertex AI)## Environment Variables
* **SERVER_URL** - Your mastodon server URL
* **CAT_FACTS_APP_KEY** - an out of band access token for your bot account
* **PALM_API_KEY** - An API Key for PaLM.## Deployment
Deployments are run using `doctl`
```
$ doctl sls deploy .
```## Resources
1. https://docs.digitalocean.com/products/functions/
2. https://docs.joinmastodon.org/spec/oauth/## License
```
Copyright 2023 Nish TahirLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.```