Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/midhunsureshr/noclass
Get smartphone/discord notifications when teacher calls for attendance!!
https://github.com/midhunsureshr/noclass
bot nodejs puppet
Last synced: 13 days ago
JSON representation
Get smartphone/discord notifications when teacher calls for attendance!!
- Host: GitHub
- URL: https://github.com/midhunsureshr/noclass
- Owner: MidhunSureshR
- License: gpl-3.0
- Created: 2020-10-18T15:10:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-04T06:07:26.000Z (about 4 years ago)
- Last Synced: 2024-11-06T01:55:26.479Z (2 months ago)
- Topics: bot, nodejs, puppet
- Language: JavaScript
- Homepage:
- Size: 2.88 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NoClass
![screenshot](https://i.imgur.com/VgelhwG.png)
A google-meet bot written in node-js to send discord & pushbullet notifications when it's time for attendance.
## Does this work out of the box?
Not unless we go to the same college.
## How do I run the bot
1. Add your google account details to credentials-test.js file and rename the file to credentials.js.
2. Create a config.yaml file in notification/discord folder with the following fields:```yaml
webhook_url: "INSERT_DISCORD_WEBHOOK_URL"
discord:
embed_color: 16056575
username: "INSERT_BOT_USERNAME"
avatar_url: "INSERT_BOT_AVATAR_URL"
```3. Create a config.yaml file in notification/pushbullet folder with the following fields:
```yaml
api_url: "https://api.pushbullet.com/v2/pushes"
access_token: "INSERT_API_ACCESS_TOKEN"
```_Example templates for (2) and (3) are available in their respective directories._
4. Install the dependenies by running the follow command in the root directory of the project.
```properties
npm install
```5. Run the bot with:
```properties
npm start
```
eg:
```properties
npm start gut-gawx-wcz
```