Jabber/XMPP support #7

Merged
swee merged 74 commits from jabber into main 2025-05-29 18:12:11 -07:00
Owner

Support for the XMPP/Jabber chat platform.

Platform's capabilities:
Dedicated bot system
Webhooks (Bots are just regular XMPP clients, use IRC style)
Multi-network

Current status: Experimenting with SliXMPP

Progress:

  • Read SliXMPP docs
  • Read messages from MUCs
  • Send messages to MUCs
  • Get vCards of users
  • b$pull
  • b$xmppusers
  • b$*users on XMPP
Support for the [XMPP](https://xmpp.org)/Jabber chat platform. Platform's capabilities: ❌ Dedicated bot system ❌ Webhooks (Bots are just regular XMPP clients, use IRC style) ✅ Multi-network Current status: Experimenting with SliXMPP Progress: - [x] Read [SliXMPP](https://slixmpp.readthedocs.io/en/latest/) docs - [x] Read messages from MUCs - [x] Send messages to MUCs - [ ] Get vCards of users - [ ] `b$pull` - [ ] `b$xmppusers` - [ ] `b$*users` on XMPP
swee changed title from Jabber/XMPP support to WIP: Jabber/XMPP support 2025-04-07 15:55:41 -07:00
Update requirements.txt
All checks were successful
Check code / syntax (push) Successful in 22s
a403a6a118
Update README.md
All checks were successful
Check code / syntax (push) Successful in 1m5s
96fe10ae79
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 14s
ee8e1a5aff
fixes
All checks were successful
Check code / syntax (push) Successful in 24s
f3b4c66759
add base
All checks were successful
Check code / syntax (push) Successful in 22s
020b8d925e
environ
All checks were successful
Check code / syntax (push) Successful in 1m4s
c480632653
thread
All checks were successful
Check code / syntax (push) Successful in 14s
fedac65717
delay
All checks were successful
Check code / syntax (push) Successful in 14s
95359acfe2
eventloop
All checks were successful
Check code / syntax (push) Successful in 11s
a2b99850db
fix
All checks were successful
Check code / syntax (push) Successful in 39s
048b75ef3b
Author
Owner

image
SliXMPP is ez as fuck

![image](/attachments/b2b936d6-82bb-46f2-ac19-f5704270446d) SliXMPP is ez as fuck
Update README.md
All checks were successful
Check code / syntax (push) Successful in 39s
c57be57b8d
Update README.md
All checks were successful
Check code / syntax (push) Successful in 28s
cd4aa8167a
send to discord
All checks were successful
Check code / syntax (push) Successful in 25s
596bfba341
fix
All checks were successful
Check code / syntax (push) Successful in 31s
71e55de414
re
All checks were successful
Check code / syntax (push) Successful in 31s
93710311e8
fix
All checks were successful
Check code / syntax (push) Successful in 34s
0c6b1d62f0
typo
All checks were successful
Check code / syntax (push) Successful in 20s
44d1977f45
verbose
All checks were successful
Check code / syntax (push) Successful in 23s
04f47a4bb5
verbose
All checks were successful
Check code / syntax (push) Successful in 32s
238b5cdcea
test
All checks were successful
Check code / syntax (push) Successful in 30s
91ee6dcdc3
fix
All checks were successful
Check code / syntax (push) Successful in 15s
60aa6e400c
safe url
All checks were successful
Check code / syntax (push) Successful in 31s
cedeef1399
send to guilded
All checks were successful
Check code / syntax (push) Successful in 30s
dee76810c8
send to guilded and revolt
All checks were successful
Check code / syntax (push) Successful in 22s
1be83397a9
add platform to display name
All checks were successful
Check code / syntax (push) Successful in 27s
16aa3660ae
matrix
All checks were successful
Check code / syntax (push) Successful in 33s
3c96d28cdb
fully implement recieve
All checks were successful
Check code / syntax (push) Successful in 20s
c818fdbeb2
Author
Owner

image
XMPP (Gajim)
image
Discord
image
Revolt
image
Guilded
image
IRC (The Lounge)
image
Matrix (NeoChat)

![image](/attachments/c6d2360b-d716-40b7-93c8-e8724430772e) XMPP (Gajim) ![image](/attachments/1f18e0ae-1aa1-4693-a4f4-01e68c23d4d8) Discord ![image](/attachments/2f2d7372-8113-46eb-af6c-88eb6c2ca549) Revolt ![image](/attachments/8cd7e7e7-cb63-439a-a470-a809ffec9dc7) Guilded ![image](/attachments/d823472b-53aa-461f-9a9d-27363af46a94) IRC (The Lounge) ![image](/attachments/48d014d0-eddb-416f-bd66-b35ff5170648) Matrix (NeoChat)
Update README.md
All checks were successful
Check code / syntax (push) Successful in 24s
7ee6e86558
Author
Owner

Save for later:

xmpp.send_message(mtype="groupchat", mto="muc@conference.example.com", mbody="test")
Save for later: ```python xmpp.send_message(mtype="groupchat", mto="muc@conference.example.com", mbody="test") ```
send test
All checks were successful
Check code / syntax (push) Successful in 21s
86c6710cb2
typo
All checks were successful
Check code / syntax (push) Successful in 50s
3a99c534ed
fix
All checks were successful
Check code / syntax (push) Successful in 11s
cf73130ab8
global
All checks were successful
Check code / syntax (push) Successful in 12s
b12b02ff23
test
All checks were successful
Check code / syntax (push) Successful in 26s
0596805e8f
Author
Owner

fdefd38c-1fb4-4ef5-9c79-976ea56d26b7_ad3125baba1c7c0f517b16471c70f42f540edd0e
This is way too easy :,3

![fdefd38c-1fb4-4ef5-9c79-976ea56d26b7_ad3125baba1c7c0f517b16471c70f42f540edd0e](/attachments/b8b02485-83b2-4aff-a1c2-323e0bff7659) This is way too easy :,3
send irc to xmpp
All checks were successful
Check code / syntax (push) Successful in 25s
2318c5f40c
fix
Some checks failed
Check code / syntax (push) Has been cancelled
1c716583cb
funct
All checks were successful
Check code / syntax (push) Successful in 25s
e0c09b8689
ping
All checks were successful
Check code / syntax (push) Successful in 15s
0f00d63cdb
rewrite xmpp sender
All checks were successful
Check code / syntax (push) Successful in 14s
3fa3105b7b
test
All checks were successful
Check code / syntax (push) Successful in 30s
0b13ddc47a
test
All checks were successful
Check code / syntax (push) Successful in 12s
9e10f62b5b
async?
Some checks failed
Check code / syntax (push) Failing after 34s
f53fa75d61
fix
All checks were successful
Check code / syntax (push) Successful in 25s
d82fccec6c
ping
All checks were successful
Check code / syntax (push) Successful in 12s
38fd03f774
e
All checks were successful
Check code / syntax (push) Successful in 27s
897413341b
e
Some checks failed
Check code / syntax (push) Has been cancelled
a7811a6ccf
e
All checks were successful
Check code / syntax (push) Successful in 14s
008a4fe22b
re
All checks were successful
Check code / syntax (push) Successful in 20s
3f123f70d0
send from IRC to XMPP
All checks were successful
Check code / syntax (push) Successful in 17s
8ab7e956f2
send from all to xmpp
All checks were successful
Check code / syntax (push) Successful in 14s
107511fe48
extras
All checks were successful
Check code / syntax (push) Successful in 26s
fa8f7ab0af
delay
All checks were successful
Check code / syntax (push) Successful in 21s
9c9f411b06
re
All checks were successful
Check code / syntax (push) Successful in 19s
e97d0972e3
fix
All checks were successful
Check code / syntax (push) Successful in 22s
7230c8f5c5
Author
Owner

image
image

![image](/attachments/c073e07c-4fcc-4b99-ac81-36596b5f0f7c) ![image](/attachments/3e734f05-3d56-4620-b2db-99d099d8d712)
Update README.md
All checks were successful
Check code / syntax (push) Successful in 23s
a2c6f36b9d
Update README.md
All checks were successful
Check code / syntax (push) Successful in 14s
60d4d43531
Update README.md
All checks were successful
Check code / syntax (push) Successful in 25s
289ca317db
Update README.md
All checks were successful
Check code / syntax (push) Successful in 23s
a549914684
Update README.md
All checks were successful
Check code / syntax (push) Successful in 13s
edf53532f6
Update README.md
All checks were successful
Check code / syntax (push) Successful in 15s
eb82fec5f6
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 28s
e88a6a283e
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 10s
c7447a243b
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 13s
9a51059dd9
fix mirroring bug
Some checks failed
Check code / syntax (push) Failing after 14s
6afd6e76e0
fix mirroring bug <- PEP 8 fix
All checks were successful
Check code / syntax (push) Successful in 16s
4dbef683ed
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 12s
f0259fac6f
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 25s
6b8d4455ea
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 24s
c0fde304db
Author
Owner

BUG: XMPP connection dies when IRC formatting is applied

Fixed in: 6b8d4455ea

BUG: XMPP connection dies when IRC formatting is applied Fixed in: [6b8d4455ea](https://git.swee.codes/SweeZero/SweeBridge/commit/6b8d4455ea68fbb75c1af23ebdf1dae1843a1c5f)
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 25s
54c8b90ccc
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 7s
dcdd566f25
Update README.md
All checks were successful
Check code / syntax (push) Successful in 7s
2cfec2510e
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 8s
325f3cbb6e
Update sweebridge.py
All checks were successful
Check code / syntax (push) Successful in 7s
9a0c0138ab
Update README.md
All checks were successful
Check code / syntax (push) Successful in 7s
7f7c49a95a
Author
Owner

Will merge.

Will merge.
swee changed title from WIP: Jabber/XMPP support to Jabber/XMPP support 2025-05-29 18:11:57 -07:00
swee merged commit 4672f720b6 into main 2025-05-29 18:12:11 -07:00
swee deleted branch jabber 2025-05-29 18:12:11 -07:00
swee referenced this pull request from a commit 2025-05-29 18:12:13 -07:00
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: SweeZero/mandelBRot-1#7
No description provided.