schollz/cowyo is a security-focused project on GitHub with 984 stars, written primarily in Go. A feature-rich wiki webserver for minimalists :cow: :speech_balloon:
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
cowyo is a self-contained shared scratchpad that makes jotting notes easy
and fast. Open a page, type, and it saves automatically. Share the URL to edit
with other people in real time.
For private notes, choose Private scratchpad before typing. Every save is
encrypted in your browser; keep the complete #key link safe because lost
keys cannot be recovered.
Try it at cowyo.com.
Getting started
Build and run:
make serve
Then open localhost:8001. Use -port to choose a
different port.
cowyo uses SQLite by default. To use PostgreSQL, set DATABASE_URL as shown
in .env.example. In production, set SITE_URL to the site's public origin
(for example, https://cowyo.com) so canonical links, social previews,
returned paste URLs, robots.txt, and the sitemap always use the authoritative
domain. To enable Umami analytics on every browser-rendered page, including
permanent private pages, set UMAMI_URL to the Umami origin and
UMAMI_WEBSITE_ID to the Cowyo website ID from the Umami dashboard. To load
Google AdSense on those pages, set GOOGLE_ADSENSE to the
ca-pub-XXXXXXXXXXXXXXXX client ID supplied by AdSense. Set GOOGLE_ADS_TXT
to the authorized digital seller declaration that should be served verbatim
from /ads.txt.
Features
Editing
Pages save automatically, and people viewing the same page see edits in real
time. Each other editor's caret appears as a dim gray line and disappears when
they leave. Visiting / creates a page with a memorable alliterative name such
as calm-cat. The browser tab identifies the page as
calm-cat | cowyo scratchpad, or calm-cat | cowyo private scratchpad for a
permanent private page.
Permanent private pages (E2EE)
Choose Private scratchpad on the landing page to create a page whose
plaintext is never sent to cowyo, or use the key icon to irreversibly convert
an existing unlocked page. The clean browser client generates a random 256-bit
master key and keeps it in the URL fragment:
https://cowyo.com/calm-cat#key=<base64url-key>
The fragment is not included in HTTP requests or WebSocket URLs. The browser
uses page-scoped HKDF-SHA-256 derivation to create independent content and
write-capability keys, encrypts the complete document with
XChaCha20-Poly1305, and sends only ciphertext plus the write capability. The
server stores only the ciphertext and SHA-256(write-capability).
The complete private URL grants both read and write access. It cannot be
recovered if lost, and there is no downgrade to an ordinary page. A visitor
without the correct key sees read-only ciphertext. Private pages cannot be
published, changed through curl or the page-control API, or use the older
password-encrypted-block action. Page locking and self-destruct remain
available after the private URL authenticates the browser.
Starting private means the server never received plaintext. Converting an
existing page is not retroactive: plaintext already transmitted may remain in
database history, backups, or logs. E2EE protects against server-side storage
disclosure, but a server capable of replacing the JavaScript delivered to the
browser is outside this browser-client threat model. Configured AdSense and
Umami scripts also run on private pages and, like any same-page script, can
access the URL fragment and decrypted editor content. Enable only providers
you trust with that access.
Password-encrypted blocks
Ordinary pages can still encrypt their current text into a
COWYO ENCRYPTED BLOCK V1. Encryption happens entirely on the client—the
browser does it for the editor. The password is never sent to the server, and
encrypted text cannot be recovered if the password is lost. This feature can
preserve ordinary plaintext around encrypted blocks and does not permanently
change the page type.
Password fields are hidden by default and have an eye button to reveal them.
On mobile, the password dialog stays inside the visible area as the on-screen
keyboard opens.
Page locking
A page lock prevents editing without hiding the page's contents. Anyone with
the URL can still read it.
Publishing
Pages are unpublished by default and excluded from the sitemap. Publishing
makes a page discoverable to search engines and gives it a unique search
description based on its plaintext content. Unpublishing removes the content
from search and social-preview metadata, but does not make its URL private.
Self-destructing pages
An ordinary self-destructing page is returned one final time on its next
browser or curl GET, then deleted. A private self-destructing page withholds
ciphertext from unauthenticated GETs and is atomically deleted only after a
browser proves it has the write capability; exactly that authorized client
receives the final ciphertext over WebSocket.
Other conveniences
The cow menu can copy the page text and switch between light and dark themes.
Web addresses in the text are clickable.
See About cowyo for a more complete guide.
Using curl
cowyo works as a plain-text command-line endpoint without an SDK, JSON
wrapping, or an API token. A GET prints the exact stored text, so it can be
piped to another command or redirected to a file:
For permanent private pages, curl receives only the E2EE ciphertext envelope.
It cannot decrypt, edit, operate, or consume a private self-destruct page
because URL fragments are client-side and never sent in an HTTP request.
POST a file to / to create a randomly named page. The response is its
shareable URL:
curl --data-binary @notes.txt https://cowyo.com/
POST to a named path to create or replace that page. @- reads the body from
stdin:
A named POST replaces the page's complete contents. Locked pages reject normal
command-line writes until they are unlocked in the browser or through the
page-control API.
Page-control API
Existing pages can be published, locked, encrypted, or armed for self destruct
through the versioned operations endpoint:
POST /api/v1/pages/{page}/operations
Content-Type: application/json
The supported operations are publish, unpublish, lock, unlock,
encrypt, decrypt, self-destruct, and cancel-self-destruct. Lock and
unlock requests include a password:
curl --json '{"operation":"lock","password":"use a strong password"}' \
https://cowyo.com/api/v1/pages/my-notes/operations
Avoid putting a real password in shell history; send JSON from a protected file
or stdin instead. Use HTTPS so page-lock passwords are protected in transit.
These operations apply only to ordinary pages. Permanent private pages reject
all page-control API mutations, including requests carrying the admin POST key.
Encryption stays client-side. An encrypt request supplies one complete,
locally generated COWYO ENCRYPTED BLOCK V1 in the text field; decrypt
supplies the locally decrypted result. The API rejects encryption passwords:
Successful requests return JSON with the page URL and its current published,
self-destruct, locked, encrypted-block, and permanent E2EE states. The endpoint
only changes existing ordinary pages, accepts strict JSON, limits transformed
text to 16 KiB, and caps the complete request at 64 KiB.
API mutations share the normal per-client POST limit of 10 per minute with a
burst of 5. Page operations also have per-client and per-page token buckets;
lock and unlock attempts have tighter client-plus-page and page-wide limits to
slow password guessing and distributed state-flipping. Rate-limited responses
return HTTP 429 with Retry-After.
The most recent commit recorded on schollz/cowyo was 3 months ago, based on the GitHub push timestamp. The repository has 67 forks — one of the better signals of community interest.
How many stars does schollz/cowyo have?
schollz/cowyo has 984 GitHub stars — refresh the page for the live number, or check github.com/schollz/cowyo. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is schollz/cowyo open source?
TopGit's metadata for schollz/cowyo does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What else is in the Security space?
schollz/cowyo is tracked by TopGit under the Security category, alongside 5 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What topics is schollz/cowyo associated with?
GitHub's repository topics for schollz/cowyo: "encryption", "minimalist", "pastebin", "server", "wiki". TopGit's editorial category is Security.
Where can I see schollz/cowyo in action?
The project maintains a homepage at https://cowyo.com/. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about schollz/cowyo?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/schollz/cowyo is the definitive source.
Read full README in the tab above.
Is cowyo worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of cowyo.