Skip to content

Commit

Permalink
some changes on dev stuff, updated README and a few other details
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSM100 committed Oct 25, 2024
1 parent bd7d1cb commit da858ba
Show file tree
Hide file tree
Showing 18 changed files with 1,657 additions and 99 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
dist
pnpm-lock.yaml
dist-xdc
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# crypto-whisper

Simple chat [webxdc](https://webxdc.org) useful to exchange contact information in anonymous groups or having a small private chat with anyone in the group if you don't want to share your email. Useful in DeltaChat's anonymous mailing lists.
Simple chat [webxdc](https://webxdc.org) that allows private chats on groups, useful to exchange contact information in anonymous groups or having a small private chat with anyone in the group if you don't want to share your contact information.
It uses asymmetric encription so only the person you send the message will be able to decrypt it.


## Development

#### Install dependencies:
`npm install`
`pnpm install`

#### Build:
`npm run build`
`pnpm run build`

#### Testing in the browser:
Run the server:
`pnpm run serve`

And after the server starts run the webxdc-dev tool:
`pnpm run webxdc-dev`
7 changes: 0 additions & 7 deletions dev/dev-build.sh

This file was deleted.

1 change: 0 additions & 1 deletion dev/start-eruda.js

This file was deleted.

72 changes: 0 additions & 72 deletions dev/vite.config.js

This file was deleted.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
{
"scripts": {
"serve": "vite serve --port 3000",
"build": "vite build",
"vite-dev": "vite serve --config ./dev/vite.config.js --port 3000",
"webxdc-dev": "webxdc-dev run http://localhost:3000",
"dev-build": "./dev/dev-build.sh"
"serve": "vite serve --port 3000",
"build": "vite build",
"webxdc-dev": "webxdc-dev run http://localhost:3000"
},
"devDependencies": {
"eruda": "^3.0.1",
"vite": "^5.2.3",
"vite-plugin-html": "^3.2.2",
"vite-plugin-zip-pack": "^1.2.2",
"webxdc-dev": "^0.17.0"
},
Expand All @@ -18,4 +14,4 @@
"consistent-color-generation": "^0.4.0",
"localforage": "^1.10.0"
}
}
}
Loading

0 comments on commit da858ba

Please sign in to comment.