Giter VIP home page Giter VIP logo

cyclomonitor's Introduction

CycloMonitor

Discord bot that automatically updates active TC information based on data from the ATCF.

Dependencies:

  • py-cord
  • aiohttp (provided by py-cord)
  • tendo (Optional, for single-instance checking)

Disclaimer

No party involved with CycloMonitor should make any claim that this bot is intended to replace tropical cyclone advisories/warnings issued by your local RSMC or TCWC. If you need more detailed information than what is provided by the bot, see your local RSMC or TCWC website for forecasts, potential land impacts, or other relevant information.

Running the bot

Install the package:

pip install cyclomonitor

If you cloned the GitHub repository, you might want to install the package in dev mode:

cd cyclomonitor
pip install -e .

Optional: Install tendo for single instance checking: pip install tendo or pip install cyclomonitor[single-instance]
Some Linux distributions may require you to set up a virtual environment.

Until I get the project to use absolute paths, you'll probably want to create a separate directory to store its data:

mkdir cyclomonitor_temp
cd cyclomonitor_temp

To run the bot:

python3 -m cyclomonitor -b -t your.token.here

If you don't want to specify -t every time, paste your bot's token into a file called TOKEN in your working directory.
For full argument list: python3 -m cyclomonitor -h or run the module with no arguments.
Windows users: You might want to replace python3 with python.

If you're using a virtual environment, ensure it is active before running the bot.
CycloMonitor logs to stdout by default. To log to a file, specify the parameter -l LOGFILE, where LOGFILE is the path to the log file.

Configuring the bot

See CONFIGURATION.md for details.

CLI

Coming soon

Supports Python 3.8+, but Python 3.11+ is recommended.

cyclomonitor's People

Contributors

ntvmb avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cyclomonitor's Issues

Support for multiple languages

Accessibility is important when it comes to information regarding natural disasters. A good first step towards making the bot more accessible is to add support for multiple languages. While I'm fairly certain I'd be able to implement a locale system, I'd need help from the community to translate CycloMonitor's messages to other languages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.