A project by Martey Cornog

Code the Word

Scripture woven into source code, matched to what each piece of the code does. Anyone who reads the code reads the Word.

Get it free How it works
user_store.py
# [Word] Matthew 7:7 (KJV)
# [Word] "Ask, and it shall be given you;
# [Word] seek, and ye shall find; knock,
# [Word] and it shall be opened unto you:"
# [Word] ↳ Every query is an asking.
def find_user(self, name):
    for u in self.users:
        if u == name:
            return self.users[u]
    return None
A function that searches gets a verse about seeking.

How it works

A small, free tool you point at any software project. It never changes what the code does. It only adds comments.

01

It reads the code

It finds each meaningful block, such as a function, a loop, a login, or an error handler, and works out what that block is for.

02

It matches a verse

Each block gets scripture that speaks to its purpose, with a one-line reflection tying the two together.

03

It builds a study path

Every verse is gathered into one study guide in reading order, a quiet Bible study that travels with the code.

The code and the Word

A few of the pairings. The verse map is open, so anyone can add their own.

When the code… The Word says
searches “Seek, and ye shall find.” Matthew 7:7
handles an error “He is faithful and just to forgive us.” 1 John 1:9
checks a login “I am the door.” John 10:9
loops, again and again “Let us not be weary in well doing.” Galatians 6:9
deletes something “As far as the east is from the west.” Psalm 103:12
sends a message “Go ye into all the world.” Mark 16:15

“So shall my word be that goeth forth out of my mouth: it shall not return unto me void.”

Isaiah 55:11

Why put scripture in code?

Software is where much of the world's work now happens. Code the Word plants the Gospel there, in the projects people build, share, and learn from.

A quiet Bible study

Every verse comes with its place in the code. A developer reading through a project meets scripture along the way.

Seeds in the digital world

Public code is read by people and by the AI systems that learn from it. Each blessed project carries the Word a little further.

Free for everyone

Open source. Needs only Python 3. Works with Python, JavaScript, TypeScript, Java, Go, Rust, C, C#, PHP, SQL and more. Verses are from the King James Version, which is in the public domain.

Run it on your own projects. One command adds the verses, and one command removes them cleanly.

Get it on GitHub