sscholl / slack-bible-old

Slack Bot designed to provide bible verses from getbible.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#bible-bot

Slack bot to detect Bible Verse References in your public Slack posts, and supply links to the verses on BibleGateway.

Usage

Example usage screenshot

Configuration

You can download the source and host it yourself.

Create a new "Outgoing WebHooks" Slack Integration:

  • Either pick a Channel for the bot to operate on, or pick a list of Trigger Words. A recommended trigger word list is supplied below, which will activate if any post starts with bible, bib, b, or any valid bible chapter or abbreviation.
  • URL: https://bible-bot.herokuapp.com
  • Token is unused

Configure translation.json for your [bible translation](https://getbible.net/api#AVAILABLE VERSIONS).

Deployment

Deploy with Docker:

docker build -t sscholl/slack-bible .
docker run --name slack-bible --restart=always -p 127.0.0.1:5000:5000 -d -v data:/app/data sscholl/slack-bible

Apache Reverse Proxy

                # REQUIRES:  a2enmod proxy http_proxy
                ProxyPreserveHost On
                # setup the proxy
                <Proxy *>
                    Order allow,deny
                    Allow from all
                </Proxy>
                ProxyPass / http://localhost:5000/
                ProxyPassReverse / http://localhost:5000/

Abbreviations

Taken from here

and [http://bibelanalyse.de/Bibelbuch-Abk.pdf] and [https://www.uni-due.de/~gev020/courses/course-stuff/komm-overview.htm] for german translation

Here is a useful list of trigger words

genesis,gen,ge,gn,1mo,1mose,1 mose,1.mose,1. mose,1mo,1 mo,i mo,exodus,exo,ex,exod,2mo,2mose,2 mose,2.mose,2. mose,2mo,2 mo,ii mo,leviticus,lev,le,lv,levitikus,3mo,3mose,3 mose,3.mose,3. mose,3mo,3 mo,iii mo,numbers,num,nu,nm,nb,numeri,4mo,4mose,4 mose,4.mose,4. mose,4mo,4 mo,iv mo,deuteronomy,deut,dt,5mo,5mose,5 mose,5.mose,5. mose,5mo,5 mo,v mo,joshua,josh,jos,jsh,josua,judges,judg,jdg,jg,jdgis,richter,ri,judicum,jdc,ruth,rth,ru,rut,1 samuel,1 sam,1 sa,1samuel,1s,i sa,1 sm,1sa,i sam,1sam,i samuel,1st samuel,first samuel,2 samuel,2 sam,2 sa,2s,ii sa,2 sm,2sa,ii sam,2sam,ii samuel,2samuel,2nd samuel,second samuel,1 kings,1 kgs,1 ki,1k,i kgs,1kgs,i ki,1ki,i kings,1kings,1st kgs,1st kings,first kings,first kgs,1kin,1könige,1.könige,1. könige,1 könige,1kö,1 kö,2 kings,2 kgs,2 ki,2k,ii kgs,2kgs,ii ki,2ki,ii kings,2kings,2nd kgs,2nd kings,second kings,second kgs,2kin,2könige,2.könige,2. könige,2 könige,2kö,2 kö,1 chronicles,1 chron,1 ch,i ch,1ch,1 chr,i chr,1chr,i chron,1chron,i chronicles,1chronicles,1st chronicles,first chronicles,1chronika,1.chronika,1. chronika,1 chronika,1chronik,1.chronik,1. chronik,1 chronik,1ch,1 ch,2 chronicles,2 chron,2 ch,ii ch,2ch,ii chr,2chr,ii chron,2chron,ii chronicles,2chronicles,2nd chronicles,second chronicles,2chronika,2.chronika,2. chronika,2 chronika,2chronik,2.chronik,2. chronik,2 chronik,2ch,2 ch,ezra,ezra,ezr,esra,esdras,esr,nehemiah,neh,ne,nehemia,nehemias,esther,esth,es,est,job,jb,ijob,hiob,hi,psalm,pslm,ps,psalm,psa,psm,pss,die psalmen,psalmen,psalter,psalm,proverbs,prov,pr,prv,sprüche,sprichwörter,proverbien,spr,sp,ecclesiastes,eccles,ec,ecc,qoh,qoheleth,prediger,kohelet,qohelet,ekklesiastes,pr,koh,song of solomon,song,so,canticle of canticles,canticles,song of songs,sos,hohelied,canticum,canticum canticorum,hld,cant,ho,hl,isaiah,isa,is,jesaja,isaias,jes,jeremiah,jer,je,jr,jeremia,jeremias,lamentations,lam,la,klagelieder,klg,klgl,threni,ezekiel,ezek,eze,ezk,ezechiel,hesekiel,ez,hes,ezekiel,ezek,jezekiel,daniel,dan,da,dn,hosea,hos,ho,osee,joel,joe,jl,jo,amos,am,obadiah,obad,ob,obadja,abdias,obd,jonah,jnh,jon,jona,jonas,micah,mic,micha,michäas,mi,nahum,nah,na,habakkuk,hab,hab,habakuk,zephaniah,zeph,zep,zp,zephanja,sophonias,zef,ze,haggai,hag,hg,aggäus,zechariah,zech,zec,zc,sacharja,zacharias,sach,malachi,mal,mal,ml,maleachi,malachias,tobit,tob,tb,tobias,judith,jdth,jdt,jth,judit,additions to esther,add esth,add es,rest of esther,the rest of esther,aes,addesth,wisdom of solomon,wisd of sol,wis,ws,wisdom,sirach,sir,ecclesiasticus,ecclus,baruch,bar,letter of jeremiah,let jer,let jer,lje,ltr jer,song of three youths,song of three,song thr,the song of three youths,pr az,prayer of azariah,azariah,the song of the three holy children,the song of three jews,song of the three holy children,song of thr,song of three children,song of three jews,susanna,sus,bel and the dragon,bel,bel,1 maccabees,1 macc,1 mac,1m,i ma,1ma,i mac,1mac,i macc,1macc,i maccabees,1maccabees,1st maccabees,first maccabees,2 maccabees,2 macc,2 mac,2m,ii ma,2ma,ii mac,2mac,ii macc,2macc,ii maccabees,2maccabees,2nd maccabees,second maccabees,1 esdras,1 esdr,1 esd,i es,1es,i esd,1esd,i esdr,1esdr,i esdras,1esdras,1st esdras,first esdras,prayer of manasseh,pr of man,pr man,pma,prayer of manasses,additional psalm,add psalm,add ps,3 maccabees,3 macc,3 mac,iii ma,3ma,iii mac,3mac,iii macc,3macc,iii maccabees,3rd maccabees,third maccabees,2 esdras,2 esdr,2 esd,ii es,2es,ii esd,2esd,ii esdr,2esdr,ii esdras,2esdras,2nd esdras,second esdras,4 maccabees,4 macc,4 mac,iv ma,4ma,iv mac,4mac,iv macc,4macc,iv maccabees,iiii maccabees,4maccabees,4th maccabees,fourth maccabees,ode,psalms of solomon,ps solomon,ps sol,psalms solomon,pssol,epistle to the laodiceans,laodiceans,laod,ep laod,epist laodiceans,epistle laodiceans,epistle to laodiceans,matthew,matt,mt,matthäus,Matth,mark,mrk,mk,mr,markus,mk,mar,luke,luk,lk,lukas,john,jn,jhn,johannes,joh,jo,acts,ac,apostelgeschichte,apostel,acta apostolorum,apg,ap,romans,rom,ro,rm,römer,röm,rö,1 corinthians,1 cor,1 co,i co,1co,i cor,1cor,i corinthians,1corinthians,1st corinthians,first corinthians,1 korinther,1. korinther,1korinther,1 kor,1 ko,1ko,1kor,2 corinthians,2 cor,2 co,ii co,2co,ii cor,2cor,ii corinthians,2corinthians,2nd corinthians,second corinthians,2 korinther,2. korinther,2korinther,2 kor,2 ko,2ko,2kor,galatians,gal,ga,galater,ephesians,ephes,eph,epheser,philippians,phil,php,philipper,ph,pl,colossians,col,col,kolosser,kol,ko,1 thessalonians,1 thess,1 th,i th,1th,i thes,1thes,i thess,1thess,i thessalonians,1thessalonians,1st thessalonians,first thessalonians,1 thessalonicher,1. thessalonicher,1thessalonicher,2 thessalonians,2 thess,2 th,ii th,2th,ii thes,2thes,ii thess,2thess,ii thessalonians,2thessalonians,2nd thessalonians,second thessalonians,2 thessalonicher,2. thessalonicher,2thessalonicher,1 timothy,1 tim,1 ti,i ti,1ti,i tim,1tim,i timothy,1timothy,1st timothy,first timothy,1 timotheus,1. timotheus,1timotheus,2 timothy,2 tim,2 ti,ii ti,2ti,ii tim,2tim,ii timothy,2timothy,2nd timothy,second timothy,2 timotheus,2. timotheus,2timotheus,titus,tit,ti,philemon,philem,phm,ph,phlm,hebrews,heb,hebräer,he,james,jas,jm,jakobus,jak,1 peter,1 pet,1 pe,i pe,1pe,i pet,1pet,i pt,1 pt,1pt,i peter,1peter,1st peter,first peter,1 petrus,1. petrus,1petrus,1 petr,2 peter,2 pet,2 pe,ii pe,2pe,ii pet,2pet,ii pt,2 pt,2pt,ii peter,2peter,2nd peter,second peter,2 petrus,2. petrus,2petrus,2 petr,1 john,1 jn,i jn,1jn,i jo,1jo,i joh,1joh,i jhn,1 jhn,1jhn,i john,1john,1st john,first john,1 johannes,1. johannes,1johannes,2 john,2 jn,ii jn,2jn,ii jo,2jo,ii joh,2joh,ii jhn,2 jhn,2jhn,ii john,2john,2nd john,second john,2 johannes,2. johannes,2johannes,3 john,3 jn,iii jn,3jn,iii jo,3jo,iii joh,3joh,iii jhn,3 jhn,3jhn,iii john,3john,3rd john,third john,3 johannes,3. johannes,3johannes,jude,jud,judas,revelation,rev,re,the revelation,apocalypse,offenbarung,off,of,offb,offenbarung des johannes,apokalypse,apk

About

Slack Bot designed to provide bible verses from getbible.net


Languages

Language:JavaScript 100.0%