- Vue 68%
- TypeScript 29.5%
- CSS 1.5%
- HTML 0.8%
- JavaScript 0.1%
- Other 0.1%
| .vscode | Initial commit | |
| public | icon and manifest | |
| screenshots | Screenshot | |
| src | Add street to change route order | |
| .gitignore | add eruda | |
| .prettierignore | Working app | |
| .prettierrc | Working app | |
| bun.lock | Add tips | |
| bundle.sh | webxdc bundle script | |
| eruda.js | add eruda | |
| index.html | Fix ios viewpoort | |
| LICENSE | agpl | |
| package.json | add bun run test | |
| README.md | add bun run test | |
| tsconfig.app.json | Working app | |
| tsconfig.json | Initial commit | |
| tsconfig.node.json | Initial commit | |
| vite.config.ts | add eruda | |
My Swap xdc
Create routes for a bag to travel from neighbour to neighbour, to collect and give clothes and other stuff to your community.
This follows the same Idea as The Clothing Loop's neighbourhood clothing swap app.
Install
It is possible to use WebXDC apps in many different chat apps, I'll be using DeltaChat as an example. See here for more
- Install DeltaChat: link
- Join a group or create one i️
- Download this webxdc app from here: download
- In the group click the paperclip and select "App" from the dropdown, then select the downloaded myswap.xdc
- Click start
Adding more members
Because of the privacy nature of DeltaChat new members that were introduced after the app is added to the group chat will not be able to access it.
In the message that contains the app (the one with the Start... button) long press and select the Resend option.
Alternatively you can follow the update instructions.
Update
- Open the old app, go to Settings, click Backup then download the first in the backups list (File will be named something like this:
backup.1773623465973.myswap). - Install the new My Swap app into your group (See install instructions).
- Open the new app, go to Settings, click Choose file and Restore.
- All the old app's routes, bags & participant names should be available in the new app.
- Delete the message that contains the old app.
Development
Requirements:
bun nodejs zip
Setup:
# git clone
git clone --depth 10 https://codeberg.org/lil5/myswap.git
cd myswap
# install dependencies
bun install
# run webxdc-dev a development server for webxdc apps:
# https://github.com/webxdc/webxdc-dev/blob/main/README.md
bun run webxdc-dev
# build app for testing
bun run webxdc-build-dev
# build app for release, file will be myswap.xdc
bun run webxdc-build
# run tests
bun run test
No LLMs
We do not accept contributions where code was generated partly or in whole using LLMs. These tools are designed to be extractive and place an unreasonable burden on OSS maintainers, both on the level of individual pull requests and for the ecosystem as a whole. If you didn’t bother writing it, we won’t bother reading.
License
AGPL-3.0