Ampalibe is a light open source framework for bot messenger.
Project description
Ampalibe
Video Tutorials · Documentation · Report Bug
Ampalibe is a light Python framework for quickly creating Facebook Messenger bots. It provides a new concept, it manages webhooks, processes data sent by Facebook and provides API Messenger with advanced functions such as payload management, item length, and more.
Installation
pip install ampalibe
OR you can install dev version
pip install https://github.com/iTeam-S/Ampalibe/archive/refs/heads/main.zip
if you use mysql as database, you have to install mysql-connector
or mysql-connector-python
with ampalibe
pip install ampalibe[mysql-connector]
OR
pip install ampalibe[mysql-connector-python]
Usage
command-line ampalibe is ampalibe.bat for Windows
ampalibe create myproject
OR
$ cd myproject
$ ampalibe init
to run project, just use
ampalibe run
for dev mode with Hot Reload
ampalibe run --dev
Register for an Access Token
You will need to configure a Facebook application, a Facebook page, get the access to the page, link the application to the page, configure a webhook for your app before you can really start using Ampalibe.
This app setup guide should help
OR
See this video on Youtube
Documentation
Other resource
- [Youtube] Create a Facebook Bot Messenger with AMPALIBE Framework (EN)
- [Youtube] Tutoriel Framework Ampalibe (FR)
- [Youtube] Ampalibe Framework Episode (Teny Vary Masaka)
Deployment
Using container
Go to our dir project and run
$ docker run -d -v "${PWD}:/usr/src/app" ghcr.io/iteam-s/ampalibe
Using heroku
-
Go to heroku docs for docker deploys
-
Change your Dockerfile like this
FROM ghcr.io/iteam-s/ampalibe
ADD . /usr/src/app/
CMD ampalibe -p $PORT run
- Customize your Dockerfile if necessary
About
Ampalibe is a word of Malagasy 🇲🇬 origin designating the fruit jackfruit.
We have made a promise to
- keep it light
- make it easy to use
- do it quickly to develop
Ampalibe Preview
Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.