-
-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XMPP: buku as a chat software (aka app) #719
Comments
Thanks for sharing! Are you looking for any help? |
I think might, and I definitely would need feedback. I intend to expand the code and make it modular like Slixfeed (aside from the core of it, because buku is the core). I also want to make a "sharing" mechanism (del.icio.us style), by publicly exposing statistics of links by popularity, which could be displayed in a UI via ad-hoc commands. It would be nice to bring this project, along with other projects that rely on buku, into buku itself, I suppose as /buku/xmpp or /buku/bots, once we have an account or organization by the name buku. Generally, this bot works as expected, even though it was made in a couple of days or so. |
@LeXofLeviafan any ideas? |
I'm not exactly clear on the context (beyond the base "chat bot" premise) so my feedback would be rather limited; but there actually is a few things I can point out here.
|
Also, you can make collapsible sections in Markdown (at least on GitHub and probably other similar sites) like this, to avoid cluttering the thread<details><summary>Description goes here (no markdown if formatted like this)</summary>
Markdown contents goes here. (Note the **empty line** after HTML.)
</details> |
Done. Thank you.
The website is a static archive, at the moment.
Of course. This is only an idea. In any case, I would not be able to do so, unless I insert a new table to the buku database to manage links that may be shared, which would raise the need to Having a sharing mechanism in XMPP is far more preferable than in intrusive and harmful "apps".
Shall we open an organization at codeberg?
slixbuku? buku bot?
I will do.
This is only the start. More improvements are expected.
This is correct. It can be editable.
You are correct. I was more worried for a sensible appearance.
I can add a
The forms are static in most - if not all - XMPP clients. I suppose this could be achieved, and this is dependant on XMPP clients. |
Because I wanted to:
|
Maybe use a separate file instead? Deviating from expected DB structure may have negative consequences down the road. (…Though someplace to put additional params might appear at a later point.)
Come to think of it, how would it be shared? You'd need to centralize it somewhere to get any sort of stats 🤔
Not sure if that would be the best approach in terms of discoverability… I've literally never heard of Codeberg before now 😅
Perhaps something including XMPP in the name as well? "Bot" seems to be close to the purpose, but most would probably expect a Telegram bot or something from such a name 😅
Er… Run how, exactly? Via Termux? Based on the screenshots it appears that Android is the (primary?) target platform here. Or do XMPP clients have a dedicated way to run python scripts?
If your suggested client is Cheogram, it would be a good idea to see if you can come up with something that works for it, at the very least 🤔 |
Of course.
Via PubSub XEP-0060 or XEP-0472.
The UI seen in the screenshots is a realization of XEP-0004 (Data Forms) and XEP-0050 (Ad-Hoc Commands) which allow custom UI inside XMPP clients.
I did not understand this last paragraph. |
Ah, so you effectively need a dedicated server for this script.
…Not sure how to elaborate beyond what I said already. If implementation of a suggestions list is client-specific, and you have a specific preferred client, then it's a good idea to see if you can make it work in that specific client, at the very least. |
On Mon, 11 Mar 2024 16:00:56 -0700 LeXofLeviafan ***@***.***> wrote:
> Suppose buku.io has an XMPP server.
Ah, so you effectively need a dedicated server for this script.
No. You can register two XMPP accounts, even on different servers.
Then use ***@***.*** to connect the bot.
And use your own account ***@***.*** to speak to the ***@***.***
There is no need to over complicate it and consequently interpret what
I wrote.
1) Just make two account.
2) Use account A for bot.
3) Use Poezio or Gajim or Cheogram for you.
4) Done.
> I did not understand this last paragraph.
…Not sure how to elaborate beyond what I said already. If
implementation of a suggestions list is client-specific, and you have
a specific preferred client, then it's a good idea to see if you can
make it work in that specific client, at the very least.
The bot works with any XMPP clients.
The UI works with Converse.js, Movim, monocles (next version), Gajim
(next version) and Cheogram.
Psi and Psi+ also support the UI.
|
Use it how, specifically? By running a program that always stays online (which means you need a machine to be always running it) in order to handle requests sent by a user (via a specific kind of application)? Well, there's a term for such programs: "server". |
Please pardon me for the belated respond.
Yes, you are correct. buku on Termux does not require connectivity, and Slixmark (or BukuBot) does require connectivity. However, this server-type of software does not require port-forwarding or setting up special network settings, as some software do. This bot requires an XMPP account, which means that there are more people of more types that can easily utilize it themselves, just by using an XMPP server of others, which is one of the main reasons I have chose XMPP as platform. @jarun @LeXofLeviafan I intend to make the project to look similar to Slixfeed (i.e. separate it into modules). I am not an expert, so I would be glad if you have any special instructions or recommendations for this, otherwise, please close this issue, and I will prepare a README file and ask to list this project in your README file. |
I have updated the project and renamed the name of the package to "bukuxmpp". It is installable with The package has not been published on pypi yet. This bot can serve several contacts at once, each contact has its own database file. I encourage you to try it and if you do, then please do tell me what features you want to have. Thank you. |
Greetings,
I have made an XMPP bookmark manager "bot" that uses buku to remotely handle bookmarks.
The client used to test Slixmark was Cheogram, which would be a better choice to manage bookmarks more than Termux, to some people.
This bot is in a testing phase, and is expected to be extended following the structure of Slixfeed (a news reader).
Known issues:
https://gitgud.io/sjehuda/slixmark
The text was updated successfully, but these errors were encountered: