HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
chunky
sqlite3todot
C2021–2021
chunky / sqlite3todot

sqlite3todot

Convert sqlite3 databases to directed graph .dot files

2Distinct people
2Mentions
0Explicit recommenders
52GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Convert sqlite3 databases to directed graph .dot files

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day2 dated mentions

Observed mentions: 2021-04-05 00:08:44 UTC to 2021-04-15 08:10:10 UTC.

012021-04-05 00:00:00 UTC to 2021-04-06 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 52021-04-06 00:00:00 UTC to 2021-04-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-04-07 00:00:00 UTC to 2021-04-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-04-08 00:00:00 UTC to 2021-04-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-04-09 00:00:00 UTC to 2021-04-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-04-10 00:00:00 UTC to 2021-04-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsApr 102021-04-11 00:00:00 UTC to 2021-04-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-04-12 00:00:00 UTC to 2021-04-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-04-13 00:00:00 UTC to 2021-04-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-04-14 00:00:00 UTC to 2021-04-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-04-15 00:00:00 UTC to 2021-04-16 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 15

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Apr 52021-04-05 00:00:00 UTC2021-04-06 00:00:00 UTC101
Apr 62021-04-06 00:00:00 UTC2021-04-07 00:00:00 UTC000
Apr 72021-04-07 00:00:00 UTC2021-04-08 00:00:00 UTC000
Apr 82021-04-08 00:00:00 UTC2021-04-09 00:00:00 UTC000
Apr 92021-04-09 00:00:00 UTC2021-04-10 00:00:00 UTC000
Apr 102021-04-10 00:00:00 UTC2021-04-11 00:00:00 UTC000
Apr 112021-04-11 00:00:00 UTC2021-04-12 00:00:00 UTC000
Apr 122021-04-12 00:00:00 UTC2021-04-13 00:00:00 UTC000
Apr 132021-04-13 00:00:00 UTC2021-04-14 00:00:00 UTC000
Apr 142021-04-14 00:00:00 UTC2021-04-15 00:00:00 UTC000
Apr 152021-04-15 00:00:00 UTC2021-04-16 00:00:00 UTC101

What Hacker News says

2 sources
Postgres is better in the I-need-concurrency case -- I think it's the greatest RDBMS that's ever been made and would like someone to prove me wrong some day. SQLite's amazing too though, when you don't need concurrency (and most websites don't really -- especially the ones that should be scaling vertically instead of horizontally). Anyway here's some cool SQLite stuff: - https://github.com/CanonicalLtd/dqlite - https://github.com/rqlite/rqlite - https://datasette.readthedocs.io/en/stable/ - https://www.sqlite.org/rtree.html - https://github.com/sqlcipher/sqlcipher - https://github.com/benbjohnson/litestream - https://github.com/aergoio/aergolite - https://sqlite.org/lang_with.html#rcex3 - https://github.com/sql-js/sql.js - https://www.gaia-gis.it/fossil/libspatialite/index - https://github.com/h3rald/litestore - https://github.com/adamlou
Read the rest
In SQLite the only database you will ever need in most cases
I implemented a DB visualisation tool like this for sqlite3, also using graphviz. It's called, unimaginatively, sqlite3todot [1] The couple tricks it has that I really like are a) it shows the table itself [which isn't uncommon], but also b) has the ability to group up tables, which for me turns out to be a devastatingly killer feature that no other tool has. When I'm working on a schema [especially one I've not seen before], one of the things that drives me insane is not being able to say "these six go together. Group them". Then you can simply look at arrows that enter or leave that grouping for your next exploration step. By the time I'm done, anything not-categorised stands out [it's simply in the space between groups]; any boxes that have an excess of arrows between them can mean my mental model is wrong [or the schema has some nonop
Read the rest
timalities]. There's an example here; it only has two groupings ["input" and "output"], but it immediately gets the point across: https://icculus.org/~chunky/stuff/sqlite3_example/sqlitesche... [1] https://github.com/chunky/sqlite3todot
In Exploring Databases Visually

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.