whatisgithub

What is openpray?

jesseduffield/openpray — explained in plain English

Analysis updated 2026-05-18

24GoAudience · generalComplexity · 2/5Setup · easy

In one sentence

A satirical Go tool that pays an AI model on a schedule to generate prayers asking it to protect your server, as a joke about AI powered attackers.

Mindmap

mindmap
  root((openpray))
    What it does
      Generate prayers
      Track token spend
      Burn mode
    Tech stack
      Go
      Anthropic
      OpenAI
      Gemini
    Use cases
      Joke server protection
      Token sacrifice
    Audience
      Developers with humor
      LazyGit fans

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run a joke background service that spends API credits generating prayers for your server.

USE CASE 2

Pick from eleven religious styles for AI generated prayers on a schedule.

USE CASE 3

Use burn mode to spend tokens as a pure offering without composing an actual prayer.

What is it built with?

Go

How does it compare?

jesseduffield/openprayjiangmuran/claude-in-boxaspecttaleadapter/adobe-lightroom-classic-15-3-full
Stars242425
LanguageGoGoGo
Setup difficultyeasymoderateeasy
Complexity2/54/51/5
Audiencegeneraldevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Generates real API costs since it calls Anthropic, OpenAI, or Google Gemini on a schedule.

So what is it?

OpenPray is a joke project written in Go. It runs as a background service on a server and, at a regular interval, sends a request to an AI language model asking it to pray for the server's protection. The premise, stated plainly, is that traditional server security measures are no longer sufficient against AI-powered attackers, so the only remaining option is prayer. The project works by choosing a religion each cycle, composing a prayer addressed to whatever deity fits that tradition, and then optionally spawning several additional model calls to repeat the prayer more times. All of this costs real money in API fees, and the tool tracks the total token expenditure in a local ledger file. The author calls this a "sacrifice," meaning you are spending actual currency on AI-generated prayers to protect your server. There is also a burn mode, for users who believe AI-generated prayers are ineffective as prayers but still want to spend tokens as a form of offering. In burn mode, the model is told to produce output without composing a prayer, purely to increase the token count and therefore the financial sacrifice. The tool supports Anthropic, OpenAI, and Google Gemini as providers, and lets you configure which model to use, how often prayers happen, how many subagents repeat the prayer, and what religion to draw from. Available liturgical styles include Christian, Islamic, Jewish, Hindu, Buddhist, Shinto, Norse, Hellenic, Machine-Spirit, Cosmic-Horror, and Stoic. The default setting picks a different religion for each prayer cycle at random. This is a humorous repository from the author of LazyGit. It does nothing useful for server security. The README is written in a deadpan style that takes the premise seriously while making clear this is satire. Running it will generate real API costs.

Copy-paste prompts

Prompt 1
Set up OpenPray to send a Buddhist style prayer for my server every hour using Claude.
Prompt 2
Explain how OpenPray's token ledger tracks the cost of each prayer cycle.
Prompt 3
Configure burn mode so tokens are spent without composing an actual prayer.
Prompt 4
Show me how to limit OpenPray to a single religion instead of randomizing each cycle.

Frequently asked questions

What is openpray?

A satirical Go tool that pays an AI model on a schedule to generate prayers asking it to protect your server, as a joke about AI powered attackers.

What language is openpray written in?

Mainly Go. The stack also includes Go.

How hard is openpray to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is openpray for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.