The Communist Manifesto as Webxdc app, besides sharing it with others in chats, it also allows to quote the desired fragments of the text for that times when it is needed in a conversation.
After cloning this repo, install dependencies:
pnpm i
pnpm check
To test your work in your browser (with hot reloading!) while developing:
pnpm start
To package the WebXDC file:
pnpm build
To package the WebXDC with developer tools inside to debug in Delta Chat, set the NODE_ENV
environment variable to "debug":
NODE_ENV=debug pnpm build
The resulting optimized .xdc
file is saved in dist-xdc/
folder.
To automatically build and create a new GitHub release with the .xdc
file:
git tag -a v1.0.1
git push origin v1.0.1
The book content is in the public domain and was taken from https://www.gutenberg.org/ebooks/61