bible-gateway: A Two-Edged Sword in Emacs
Kristjon Ciko - kristjoc@uio.no
The following image shows where the talk is in the schedule for Sun 2026-12-13. Solid lines show talks with Q&A via BigBlueButton. Dashed lines show talks with Q&A via IRC or Etherpad.
Format: 25-min talk ; Q&A: BigBlueButton conference room https://media.emacsconf.org/2026/current/bbb-bible.html
Etherpad: https://pad.emacsconf.org/2026-bible
Discuss on IRC: #emacsconf-gen
Status: Ready to stream
Sunday, Dec 13 2026, ~11:30 AM - 11:55 AM MST (US/Mountain)
Sunday, Dec 13 2026, ~10:30 AM - 10:55 AM PST (US/Pacific)
Sunday, Dec 13 2026, ~6:30 PM - 6:55 PM UTC
Sunday, Dec 13 2026, ~7:30 PM - 7:55 PM CET (Europe/Paris)
Sunday, Dec 13 2026, ~8:30 PM - 8:55 PM EET (Europe/Athens)
Monday, Dec 14 2026, ~12:00 AM - 12:25 AM IST (Asia/Kolkata)
Monday, Dec 14 2026, ~2:30 AM - 2:55 AM +08 (Asia/Singapore)
Monday, Dec 14 2026, ~3:30 AM - 3:55 AM JST (Asia/Tokyo)
Description
bible-gateway is a simple Emacs client for BibleGateway that fetches verses, passages, and search results directly into Emacs.
Unlike other approaches to reading the Bible in Emacs, bible-gateway doesn't require installing extra programs, downloading Bible text modules, or signing up for an API key or subscription. It simply works by fetching and parsing web pages, and stores almost nothing locally: just a small cache for the verse of the day and a short preview of each verse you're memorising. It currently supports 14 public-domain Bible versions in several languages, all fetched live.
In this talk, I'll walk through the main features with quick demos:
- Verse of the day, usable as an emacs-dashboard footer or a
*scratch*buffer message - Insert a Bible passage at point
- Read a passage in a dedicated buffer, with n/p verse-by-verse navigation
- Listen to a Bible chapter as audio, opened in the browser
- Search the Bible by keyword, with clickable, paginated results
- Follow a daily reading plan from a CSV file, with automatic progress tracking
- Compare two Bible translations side by side in one window
- Memorise verses using a touch-typing practice mode with live feedback
- Switch between the 14 supported Bible versions/languages
About the speaker:
Kristjon Ciko is a postdoc in the Department of Informatics at the University of Oslo. His research focuses on computer networks, transport protocols, and Wi-Fi. Kristjon has been using Emacs since 2020 and now uses it for nearly everything: email, Zulip, Org mode, LaTeX, and coding (C/C++, Python, and various scripting languages). He originally built bible-gateway to show the verse of the day in the emacs-dashboard footer. Over time, the package grew into a toolkit for daily Bible reading, memorising Scripture, and preparing devotions and sermons, all without leaving Emacs.
Transcript (unedited)
bible-gateway, an Emacs package that fetches
Bible verses, passages, chapters, and even search
results from the Bible Gateway website directly
into Emacs,
making it a convenient tool for reading and
studying the Bible in your editor.
bible-gateway assuming you've added MELPA to
your package archives and installed the
dashboard package.
In this demo, we use the dashboard package, but it
can work with any similar package that can be
configured to output a string in the dashboard.
The bible-gateway-get-verse fetches the verse of
the day either via JSON API
or by scraping the website.
The content is parsed into a string that can be
used as a scratch buffer message
and as an Emacs dashboard footer.
Let's switch to these buffers
and see how it looks.
So, here we have the verse of the day used as an
Emacs dashboard footer, and the same content can
be used as a message in the scratch buffer.
The verse is cached locally, so Emacs doesn't
make a request every time it starts,
although many Emacs users tend to not restart
Emacs very often.
If the request fails, for example when you're
offline or the website cannot be reached,
it falls back to a default verse,
which can be customized.
bible-gateway takes a different approach.
No setup required.
No external program, no Bible modules, no API key.
Of course, this simplicity comes at a cost.
The package depends on the Bible Gateway website,
and for now, it has no offline support.
It retrieves Bible text over HTTP using Emacs'
built-in URL library.
Then it parses the returned web pages to extract
the passage.
It stores almost nothing locally except a small
cache for the verse of the day or a short preview
for the verses that we are memorizing.
For now it supports
14 public domain Bible versions in several
languages.
English, French, Spanish, Albanian, Ukrainian,
Russian, German, Norwegian, Bulgarian, Swedish,
Danish, Finnish, Hungarian, and Latin.
Everything is fetched live.
And the languages can be switched on the fly.
It also comes with a transient menu to access the
main features.
bible-gateway.
The first feature I'd like to show is inserting
a Bible passage at point.
To insert a passage at point in the current
buffer, we can either use a transient menu or
invoke the bible-gateway-get-passage function.
In the minibuffer, we can request a Bible verse,
a verse range, a chapter, or several chapters in
any of the supported languages.
It also provides autocompletion for the Bible
book names in all these supported languages with
hints about the available chapters.
Let us switch to the demo tab, and let's say we
are preparing a document for devotion and would
like to insert a passage at point
in the current buffer.
As I mentioned earlier, we can either do it using
the transient menu or invoke the function for the
respective feature.
The bible-gateway command opens
the transient menu where we can see
the selected version
and suffixes for all the supported features.
Here we hit i to insert a passage at point
And in the minibuffer,
we can specify the Bible book.
Let's say we want to add a verse from the Gospel
according to John, chapter 3, verse 16.
We see here the verse added at point.
We can also request a verse range in the same way.
John chapter 3 verses 16 to 17.
Or we can also request the whole chapter.
Chapter 3.
The whole chapter is inserted at point in the
selected language.
V suffix to set the Bible version.
Here is a list of the all supported languages.
Let's say we want to add a verse in Spanish using
the Reina-Valera Antigua version.
Now the version is switched to RVA.
In the same way, we can select a Bible book
and a chapter, as well as a verse.
We see here the verse added in Spanish.
To switch to another language, but also use the
Bible book names in that language, then we need
to set a variable,
set bible-gateway-use-english-book-names to nil.
That means that the Bible book names will be used
in the same selected language.
And here if we'd like to, let's say, add a verse
in French in the Louis Segond version,
we switch to that and
in the minibuffer now,
we'll see the Bible book names in French.
I want to add from Jean chapter 3 verse 16.
Here is the verse added in French.
In the same way we can switch to other languages.
For example,
a language which uses the Cyrillic alphabet,
Ukrainian, and Genesis 1.
A supported language means that it is in the
public domain.
I have tested it thoroughly before adding it
in this list.
And also the Bible book names are included or
hard-coded in the package in order to provide
autocompletion.
As I mentioned before, more versions are coming
and the next to-do is to add versions in Chinese.
bible-gateway-read-passage
which uses the same get passage function
underneath, but it prepares a reading environment
with a dedicated read-only buffer where the
current verse is highlighted and you can use
n, p or j, k to move the highlight between verses.
If you'd rather listen [to] the passage or chapter,
you can use bible-gateway-listen-passage function.
It currently supports only the Zondervan King
James Audio Bible from the Dramatized project.
You can request a chapter in the minibuffer,
and automatically it will launch a browser tab
where you can listen to this chapter.
Let us see how these two functions work.
Let's say we want to read a Bible passage,
so let's switch to English
and hit r to read the passage.
We want to read John chapter 1.
Here we have the reading environment where we can
go to the next verses with n or previous.
We have also the current verse highlighted.
When we are at the end, we can also add
another chapter.
Chapter 2.
It will be added below the previous chapter.
And so on.
We can read it.
l to
listen to a chapter.
Let's say we want to listen to John chapter 1
and here we have the browser tab where we can
listen to John chapter 1
in this version.
"The Gospel according to Saint John, chapter one.
In the beginning was the Word,
and the Word was with God,
and the word was God."
bible-gateway-compare function allows you to
open two translations side by side in split
windows.
It also opens a small Ediff style control panel so
that you can navigate to the translations at the
same time.
You can start a new comparison or you can quit the
session.
Let's see how this works.
Let's say we want to compare two different
translations.
So we hit c and here we select the book Psalm 23.
We want to compare Psalm 23 in English version A
and version B in Norwegian.
Here we have two split windows with Psalm 23
in the respective languages.
The cursor is automatically at the control panel.
We can hit n to go to next verses
or previous, or we can
press c for a new translation, for a new
comparison.
Let's say we want to compare Psalm 100 in French
and in Albanian.
To quit this compare session we can press q
and this will close the control panel,
along with all the buffers
which are related to that compare session.
bible-gateway-search function takes a keyword
and searches in a specific Bible version,
in the Bible Gateway website. The results appear
in a dedicated buffer with the keyword highlighted.
The references are clickable, so you can preview
the passage in context. When there are several
multiple results, they are paginated where you can
press n and p to go to the next page of the
results.
If you want to know how many times a word occurs
in the Bible, bible-gateway-search
is the function to use.
From the transient menu of bible-gateway, you can
press s to search by keyword, enter the keyword,
for example "friend", and you get a list
of all the results
where this keyword is mentioned, a list of all
the references.
You can navigate with n and p to the references,
and when you click, you get the passage in context.
One verse before and one verse after
the verse where "friend" occurs.
To start another search with more results...
Here we see that "morning" is mentioned 214 times
in the Bible.
Here we have the results from 1 to 100.
The results will be displayed in three pages and
we can navigate through the pages with N.
And the final page, which contains
the rest of the results.
bible-gateway-read-today, follows a CSV reading plan which
you can generate from this website.
Once you prepare the plan,
you can export it as CSV
and place it in the bible-gateway package directory.
Here there is a file to track the progress and
the plan as a CSV file.
This is the format of the plan.
It has one line for the date and
the chapters to read.
You can either read today's reading by pressing
the red cross here in the mode line or using the
transient menu.
The cross in the mode line can be added by
enabling the bible-gateway-modeline-mode.
This is the Bible reading plan for today.
You can go to the next verses by pressing n.
Once you read the passages for the day,
the cross will turn green and the date will be
added in the progress file.
bible-gateway-memorise
enables you to combine memorizing scripture with
a touch typing practice mode
with live color-coded feedback as you type.
It shows your typing speed when you finish
and store the verses you practice
with a short preview.
To practice touch typing while memorizing Bible verses,
you can either use the function or press m
from the bible-gateway transient menu.
In the minibuffer, you can see a list of the verses
that you're practicing
along with a short preview for each verse.
If you'd like to choose a new verse to practice,
then you can click this.
The first time you practice that verse,
it will be stored in a cache with a short preview.
Let's choose John 3:16 to memorize.
The frame splits into two buffers:
the target verse on top, which is read only, and
the typing area below where the cursor starts.
As we type, each character is colored green if
it's correct or red if it's incorrect.
The session only completes once every character
has been typed correctly.
Once finished, you can see the typing speed in words
per minute and the elapsed time.
We can press C-c C-r to retry this verse,
C-c RET for a new verse, and C-c C-c to quit.
Questions or comments? Please e-mail kristjoc@uio.no
