This skeleton contains a bot that creates a Service Atom that one can connect to. For each atom that has been created on the configured node(s), the bot sends a message with the atomUri of the created Atom to everyone that is connected to the Service Atom.
The Bot Skeleton is a Spring Boot Application.
cd bot-skeleton
export WON_NODE_URI="https://hackathonnode.matchat.org/won"
mvn clean package
java -jar target/bot.jar
Now go to What's new to find your bot, connect and create an atom to see the bot in action.
won.bot.skeleton.SkeletonBotAppWON_NODE_URI pointing to your node uri (e.g. https://hackathonnode.matchat.org/won without quotes)to your run configuration.
If you get a message indicating your keysize is restricted on startup (JCE unlimited strength encryption policy is not enabled, WoN applications will not work. Please consult the setup guide.), refer to Enabling Unlimited Strength Jurisdiction Policy to increase the allowed key size.
WON_KEYSTORE_DIR path to folder where bot-keys.jks and owner-trusted-certs.jks are stored (needs write access and folder must exist)Once the skeleton bot is running, you can use it as a base for implementing your own application.
src/main/resourcesFor an introduction to the Web of Needs Bot framework, have a look at the Bot Readme.
Content type
Image
Digest
Size
309.1 MB
Last updated
over 6 years ago
docker pull webofneeds/bot-skeleton