Skip to content

emichael/SlackLaTeXBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Latex Bot

A simple bot that takes in Latex equations in the URL and returns the corresponding png image.

To run, either use the Makefile and run make start (you'll have to set your hostname in that file) or run the LatexServer.py script directly. You will also have to configure your Slack instance to talk to the bot. To do this, go to yourinstance.slack.com/apps/manage/custom-integrations and add a slash command configuration. Set the Command to /latex, and set the URL to http://YOURLATEXBOTHOSTNAME:PORT/. The Method should be POST.

Run with Docker

To run with Docker, simply execute:

docker run -d -p 8642:8642/tcp --restart=always --name latexbot \
  emichael/slacklatexbot -H $HOSTNAME

where $HOSTNAME is the name of the host on which the bot is running.

About

LaTeX bot that responds to Slack slash commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages