1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/README.md

56 lines
1.4 KiB
Markdown
Raw Normal View History

2019-05-31 12:37:39 +00:00
# `royalnet` [![PyPI](https://img.shields.io/pypi/v/royalnet.svg)](https://pypi.org/project/royalnet/)
2019-03-22 10:22:21 +00:00
2019-11-12 09:44:36 +00:00
A multipurpose bot framework and webserver
2019-03-26 11:38:31 +00:00
2019-11-12 01:11:12 +00:00
## About
2019-03-26 11:38:31 +00:00
2019-11-12 09:44:36 +00:00
`royalnet` is a Python framework that allows you to create interconnected modular chat bots accessible through multiple interfaces (such as Telegram or Discord), and also modular websites that can be connected with the bots.
2019-11-12 01:11:12 +00:00
2019-12-04 17:04:47 +00:00
### Supported bot platforms ("serfs")
2019-11-12 09:44:36 +00:00
- [Telegram](https://core.telegram.org/bots)
- [Discord](https://discordapp.com/developers/docs/)
2020-02-03 17:23:31 +00:00
- [Matrix](https://matrix.org/) (no E2E support yet)
2019-11-12 01:11:12 +00:00
## Installing
2020-02-03 17:23:31 +00:00
To install `royalnet`, run:
```
pip install royalnet
```
2019-12-04 17:04:47 +00:00
2020-02-03 17:23:31 +00:00
To install a specific module, run:
2019-12-04 17:04:47 +00:00
```
2020-02-03 17:23:31 +00:00
pip install royalnet[MODULENAME]
2019-12-04 17:04:47 +00:00
```
2020-02-03 17:23:31 +00:00
To install all `royalnet` modules, run:
```
pip install royalnet[telegram,discord,matrix,alchemy_easy,bard,constellation,sentry,herald,coloredlogs]
```
## Documentation
`royalnet`'s documentation is available [here](https://gh.steffo.eu/royalnet).
2019-12-04 17:04:47 +00:00
## Developing `royalnet`
To develop `royalnet`, you need to have [Poetry](https://poetry.eustace.io/) installed on your PC.
After you've installed Poetry, clone the git repo with the command:
```
git clone https://github.com/Steffo99/royalnet
```
Then enter the new directory:
```
cd royalnet
```
And finally install all dependencies and the package:
```
2020-02-03 17:23:31 +00:00
poetry install -E telegram -E discord -E matrix -E alchemy_easy -E bard -E constellation -E sentry -E herald -E coloredlogs
```