peppe is a HTTP API to "obtain the k most likely labels for a piece of text" with fasttext.
You still must build your model manually.
pipenv install
pipenv shell
FLASK_APP=src/api.py flask run
Open http://127.0.0.1:5000/
in a browser to see available endpoints.
python ./src/build_corpus.py ./src/corpus > ./build/fr.txt
# You need fasttext bin somewhere
# Put model under models folder
fasttext supervised -input build/cooking.train -output models/cooking -lr 1.0 -epoch 25