{"id":15635927,"url":"https://github.com/passy/ltxbot","last_synced_at":"2025-04-30T05:22:43.606Z","repository":{"id":20668950,"uuid":"23951609","full_name":"passy/ltxbot","owner":"passy","description":"A Twitter bot that renders LaTeX for you","archived":false,"fork":false,"pushed_at":"2019-10-27T09:14:18.000Z","size":434,"stargazers_count":21,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T13:04:17.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://twitter.com/ltxbot","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/passy.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-12T07:46:10.000Z","updated_at":"2020-12-12T02:41:01.000Z","dependencies_parsed_at":"2022-09-03T12:10:32.429Z","dependency_job_id":null,"html_url":"https://github.com/passy/ltxbot","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fltxbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fltxbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fltxbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fltxbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/passy","download_url":"https://codeload.github.com/passy/ltxbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251645989,"owners_count":21620848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T11:01:23.258Z","updated_at":"2025-04-30T05:22:43.587Z","avatar_url":"https://github.com/passy.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ltxbot [![Build Status](https://travis-ci.org/passy/ltxbot.svg?branch=master)](https://travis-ci.org/passy/ltxbot)\n\nA Twitter bot rendering mentions to PNGs.\n\n![Screenshot](media/screenshot.png)\n\n## Config\n\nModify `ltxbot.example.conf` and enter your [Twiter OAuth\ncredentials](https://apps.twitter.com/) for an R/W application.\nYou also need to provide a user token and secret for an authenticated account.\nAn easy way to obtain these is through\n[`twurl authenticate`](https://github.com/twitter/twurl).\n\n## Setup\n\nYou need a reasonably recent Haskell installation (GHC 7.8.3 at the time of this\nwriting) and [Docker](https://docker.com) on your system.\n\n*Docker preparation*\n\n```bash\n$ # Pull my docker image with texlive-full and poppler-utils\n$ docker pull passy/texlive-poppler\n```\n\nIf you poor soul are on OS X, you need to set up a shared network drive\nwith boot2docker. (*N.B.* This may no longer be necessary. Luckily, the Docker\nintegration is far less painful these days.)\n\n```bash\n$ # Make a volume container (only need to do this once)\n$ docker run -v /data --name my-data busybox true\n$ # Share it using Samba (Windows file sharing)\n$ docker run --rm -v /usr/local/bin/docker:/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba my-data\n$ # then find out the IP address of your Boot2Docker host\n$ boot2docker ip\n192.168.59.103\n```\n\nAnd connect to it through Finder by using `cifs://192.168.59.103/data`.\n\nYou may need to adjust the two `*tex2png.sh` scripts if any of your paths or\nvolume names differ.\n\n## Provisioning\n\nThere's also a set of [Ansible](http://ansible.com) scripts available under\n[`ansible/`](ansible/) in this repository that can be used to set up a server.\n\n## Building\n\n```bash\n$ stack setup\n$ stack build\n$ stack test\n$ stack exec ltxbot -- ltxbot.conf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassy%2Fltxbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpassy%2Fltxbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassy%2Fltxbot/lists"}