Skip to content

A trivia bot designed to work on the Meshtastic network

Notifications You must be signed in to change notification settings

brad28b/meshtastic-trivia-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

meshtastic-trivia-bot

A trivia bot designed to work on the Meshtastic network. Pre-loaded with 150 trivia questions.

The python script 'meshtrivia.py' connects to your Meshtastic node, and allows other nodes to play a game of trivia with it, by sending PM/DMs to it.

Keeps track of a leaderboard.

The following instructions are for Linux. It does work on Windows with most of the below commands, except for running persistently (work that out yourself for Windows).

Installation

Configuration

First decide if you will connect to your Meshtastic node via serial or tcp, and then edit and save the meshtrivia.py file with your serial or tcp credentials.

Linux only

Then give execute permissions to start_trivia_bot.sh:

  • chmod +x start_trivia_bot.sh

Usage

To run the Triva Bot:

  • python meshtrivia.py

Screenshot 2024-11-12 152504

To quit the trivia bot, use CTRL-C.

466377238_1765548554279321_3529423627956944720_n

Keep running persistently (Linux only)

  • ./start_trivia_bot.sh

The above command will restart the trivia bot if for some reason it crashes. To quit, use CTRL-C twice.

About

A trivia bot designed to work on the Meshtastic network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published