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
|
2023-01-10 11:25:56 +00:00
|
|
|
### [moxxmpp](./packages/moxxmpp)
|
2022-11-05 13:17:46 +00:00
|
|
|
|
|
|
|
This package contains the actual XMPP code that is platform-independent.
|
|
|
|
|
2024-04-26 22:22:45 +00:00
|
|
|
Documentation is available [here](https://docs.moxxy.org/moxxmpp/index.html).
|
2023-01-28 14:33:21 +00:00
|
|
|
|
2023-01-10 11:25:56 +00:00
|
|
|
### [moxxmpp_socket_tcp](./packages/moxxmpp_socket_tcp)
|
2022-11-05 13:17:46 +00:00
|
|
|
|
2023-01-10 11:25:56 +00:00
|
|
|
`moxxmpp_socket_tcp` contains the implementation of the `BaseSocketWrapper` class that
|
2022-11-08 15:58:36 +00:00
|
|
|
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
|
|
|
|
2023-09-24 16:43:06 +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.
|
|
|
|
|
2022-11-12 19:59:50 +00:00
|
|
|
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.
|
|
|
|
|
2023-04-05 11:17:18 +00:00
|
|
|
## 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)
|