JBot

Open source

Make bots in Java

Contribute


Become a financial contributor.

Financial Contributions

One-time contribution

Backers

Support us with a one-time donation and help us continue our activities.

Starts at$2 USD

Latest activity by


Recurring contribution

Sponsors

Support us with a monthly donation. Become a sponsor and get your logo on our README on Github along with a link to your site.

Starts at$10 USD / month

Custom contribution

Donation

Make a custom one-time or recurring contribution.

Latest activity by


Top financial contributors

Individuals

1
Roberto Betancourt

$20 USD since Sep 2018

2
Nick Mancuso

$5 USD since Dec 2018

Organizations

1
Triplebyte

$20 USD since Dec 2018

JBot is all of us

Our contributors 6

Thank you for supporting JBot.

Ram

Admin

Karshit Jaiswal

Core Contributor

Triplebyte

$20 USD

Nick Mancuso

Backers

$5 USD

Thanks for all the hard work! What a great proj...

Guest

Budget


Transparent and open finances.

$
Today’s balance

$5.57 USD

Total raised

$21.17 USD

Total disbursed

$15.60 USD

Estimated annual budget

$0.31 USD

About


What is Jbot?

JBot is a java framework (inspired by Howdyai's Botkit) to make Slack and Facebook bots in minutes. It provides all the boilerplate code needed so that you can make your bot live right away.

Why use JBot?

  • Provides you with all the boilerplate code which handles underlying websocket connections and other complexities.
  • Supports extra events in addition to all the events supported by Slack/Facebook which makes your work a lot more easier.
  • Receiving & sending messages is as easy as defining a @Controller and calling reply().
  • Conversation feature of JBot makes talking to your bot a breeze. This feature makes JBot different than rest of the Java frameworks out there.
  • Well tested with good coverage unit tests.
  • And many other features which can't just be mentioned here.

Not satisfied? Read on…

Still worried? Open an issue on Github and we can discuss.

JBot for Slack

Running your SlackBot is just 4 easy steps:

  1. Clone this project $ git clone [email protected]:rampatra/jbot.git.
  2. Create a slack bot and get your slack token.
  3. Paste the token in application.properties file.
  4. Run the example application by running JBotApplication in your IDE or via commandline: bash $ cd jbot $ mvn clean install $ cd jbot-example $ mvn spring-boot:run

You can now start talking with your bot ;)

Read the detailed Slack documentation to learn more.

JBot for Facebook

Similar to Slack, Facebook is simple too but has few extra steps:

  1. Clone this project $ git clone [email protected]:rampatra/jbot.git.
  2. Create a facebook app and a page.
  3. Generate a Page Access Token for the page (inside app's messenger settings).
  4. Paste the token created above in application.properties file.
  5. Run the example application by running JBotApplication in your IDE or via commandline: bash $ cd jbot $ mvn clean install $ cd jbot-example $ mvn spring-boot:run
  6. Setup webhook to receive messages and other events. You need to have a public address to setup webhook. You may use localtunnel.me to generate a public address if you're running locally on your machine.
  7. Specify the address created above in "Callback Url" field under "Webooks" setting and give the verify token as fb_token_for_jbot and click "Verify and Save".

You can now start messaging your bot by going to the facebook page and clicking on the "Send message" button.

If you're too lazy to start now and just want to play around, you can try jbot-example by visiting JBot facebook page and clicking on the "Send Message" button.

Read the detailed Facebook documentation to learn more.

Our team

Ram

Admin

Karshit Jaiswal

Core Contributor