Need help for realisation an app webxdc

Can anyone help with the implementation of the webxdc project
Since I’m not a great programmer… I need help in formalizing the application structure into code (of course, with solving some internal problems in the application).
The main problems on the way to implementation:

  1. Map integration and/or geolocation in the menu, including the means of substituting an address when assigning an address inside the application from the database.
  2. The ability to calculate.
  3. After the task is announced in the chat, the ability to process this task in the future so that other participants cannot take it for processing again.
  4. The possibility of integration with a bot.
  5. Thank you!

Welcome!

I am afraid it’s going to be hard to find someone who’d code an app for you for free, unless they like the idea themselves.

Geolocation is unfortunately not yet available in webxdc. See Allow access to camera, geolocation, other Web APIs.

1 Like

Ok, but just select address from menu in xdc app … it is possible, and about free or for pay, no one even offers a price (profit) even :confused:
Аnd didn’t ask what I was talking about at all :ghost:

Actually I’m curious, what’s the idea?

An application for couriers (delivery services, taxis, for example) to deliver from point A to point B.
Implementation of such a service only in the form of a bot (or in chat dialogue) is a so-so idea (it is difficult for visual perception and too many actions need to be performed in order to ultimately get what you need: enter the address (addresses), select what, when, etc.).
Here the webdxc+bot integration is good and there are already examples of this.

(post deleted by author)

test12.xdc (45.1 KB)
Works with text in chat now! From: contact page form…

i downloaded and started the last example, but i cannot make much sense of that. looks more like some cms (which would be nice as well, though :slight_smile: )

so, i think, to get help, you should elaborate more what you’re trying to do, what the state is etc. “Works with text in chat now! From: contact page form…” is hard to get in the context of an “example” for “An application for couriers”

i’d create a git repo somewhere, add an telling README with screenshots and/or scetches, upload the source, and point ppl there. questions can be much more substantial then, and you would save your and others ppl time

2 Likes

Thanks, here I implement a simple concept to see how it works, without a specific goal in this particular case…

But due to the fact that this is a new story with the creation of the application, at this stage I have several questions, because every time I come across certain restrictions (I understand that they are necessary) but:
What can be the maximum size of the application?

I need anyone to be able to send a message from the form from the xdc application and the recipient receives it already in the form of simple text in the chat, here I see that it is necessary to use only a bot … there is no other way? (Although in another case I see that I can send messages in text form (from a completed form in the application) to any other interlocutor, but in this case I have to select him from the list of contacts…)

The Delta Chat API in XDC applications does not support sending messages directly to an arbitrary address, even if a chat with this address has already been created. This limitation is due to the fact that XDC applications only work in the context of the current chat from which they are launched?

depends on the involved email providers and their file limits, to be on the safe side I’d stay under 5mb.

You can use a bot or a custom dc fork with an extra api.

Though note that there are already 2 ways to send simple messages to a chat:

More like security, that webxdc apps can not do bad stuff like stealing your data.

1 Like

Made this application quickly for a delivery service (fast as a concept)… Here I have problems that I need a bot for a channel where couriers will receive orders in real time and accept them for processing… My knowledge is not enough to implement a bot, because without it it will be difficult to make a normally working service… Tell me where to go, since I’m a complete noob in bots)? The application is partially in Russian, but I think you will figure it out, it does not interfere much…
Delivery.xdc (15.8 KB)

Summary

Summary

2 Likes

Nice work!

I’m not an expert in the current state of the bots situation, but GitHub - deltachat-bot/deltabot-cli-py: Library to speedup Delta Chat bot development seems to be the latest library to ease bot development.
For more “raw” API, see https://py.delta.chat/.

1 Like

Also there is an already existing bot that utilizes webxdc, and that is xstore@testrun.org.
Source code: webxdc/xstore: Rust bot + webxdc app for the xstore@testrun.org bot, allowing to discover and share the latest community submitted webxdc apps. - Codeberg.org.
See blog post: Everything-apps without platforms - say 'hi' to xstore 😊 - Delta Chat