1
0
Fork
You've already forked myswap
0
Create routes for a bag to travel from neighbour to neighbour, to collect and give clothes and other stuff to your community.
  • Vue 68%
  • TypeScript 29.5%
  • CSS 1.5%
  • HTML 0.8%
  • JavaScript 0.1%
  • Other 0.1%
2026年03月17日 18:04:28 +01:00
.vscode Initial commit 2026年03月11日 09:48:25 +01:00
public icon and manifest 2026年03月14日 03:47:13 +01:00
screenshots Screenshot 2026年03月14日 03:47:24 +01:00
src Add street to change route order 2026年03月17日 18:04:28 +01:00
.gitignore add eruda 2026年03月16日 11:23:12 +01:00
.prettierignore Working app 2026年03月14日 03:46:09 +01:00
.prettierrc Working app 2026年03月14日 03:46:09 +01:00
bun.lock Add tips 2026年03月17日 11:32:05 +01:00
bundle.sh webxdc bundle script 2026年03月14日 03:47:39 +01:00
eruda.js add eruda 2026年03月16日 11:23:12 +01:00
index.html Fix ios viewpoort 2026年03月16日 11:23:44 +01:00
LICENSE agpl 2026年03月14日 03:42:27 +01:00
package.json add bun run test 2026年03月17日 13:31:45 +01:00
README.md add bun run test 2026年03月17日 13:31:45 +01:00
tsconfig.app.json Working app 2026年03月14日 03:46:09 +01:00
tsconfig.json Initial commit 2026年03月11日 09:48:25 +01:00
tsconfig.node.json Initial commit 2026年03月11日 09:48:25 +01:00
vite.config.ts add eruda 2026年03月16日 11:23:12 +01:00

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

  1. Install DeltaChat: link
  2. Join a group or create one i️
  3. Download this webxdc app from here: download
  4. In the group click the paperclip and select "App" from the dropdown, then select the downloaded myswap.xdc
  5. 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

  1. 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).
  2. Install the new My Swap app into your group (See install instructions).
  3. Open the new app, go to Settings, click Choose file and Restore.
  4. All the old app's routes, bags & participant names should be available in the new app.
  5. 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