moxxmpp/README.md

49 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2022-11-05 11:51:36 +00:00
# moxxmpp
moxxmpp is a XMPP library written purely in Dart for usage in Moxxy.
2022-11-05 13:17:46 +00:00
## Packages
### [moxxmpp](./packages/moxxmpp)
2022-11-05 13:17:46 +00:00
This package contains the actual XMPP code that is platform-independent.
Documentation is available [here](https://docs.moxxy.org/moxxmpp/index.html).
### [moxxmpp_socket_tcp](./packages/moxxmpp_socket_tcp)
2022-11-05 13:17:46 +00:00
`moxxmpp_socket_tcp` contains the implementation of the `BaseSocketWrapper` class that
implements the RFC6120 connection algorithm and XEP-0368 direct TLS connections,
if a DNS implementation is given, and supports StartTLS.
2022-11-05 13:17:46 +00:00
### moxxmpp_color
Implementation of [XEP-0392](https://xmpp.org/extensions/xep-0392.html).
2022-11-08 16:56:29 +00:00
## Development
To begin, use [melos](https://github.com/invertase/melos) to bootstrap the project: `melos bootstrap`. Then, the example
can be run with `flutter run` on Linux or Android.
To run the example, make sure that Flutter is correctly set up and working. If you use
the development shell provided by the NixOS Flake, ensure that `ANDROID_HOME` and
`ANDROID_AVD_HOME` are pointing to the correct directories.
## Examples
This repository contains 2 types of examples:
- `example_flutter`: An example of using moxxmpp using Flutter
- `examples_dart`: A collection of pure Dart examples for showing different aspects of moxxmpp
For more information, see the respective README files.
2022-11-05 11:51:36 +00:00
## License
See `./LICENSE`.
2022-12-23 14:18:53 +00:00
## Support
If you like what I do and you want to support me, feel free to donate to me on Ko-Fi.
[<img src="https://codeberg.org/moxxy/moxxyv2/raw/branch/master/assets/repo/kofi.png" height="36" style="height: 36px; border: 0px;"></img>](https://ko-fi.com/papatutuwawa)