{"id":14008511,"url":"https://github.com/inukshuk/sqleton","last_synced_at":"2025-04-08T03:17:10.408Z","repository":{"id":45947545,"uuid":"54891183","full_name":"inukshuk/sqleton","owner":"inukshuk","description":"Visualize your SQLite database schema","archived":false,"fork":false,"pushed_at":"2025-03-29T17:18:18.000Z","size":5693,"stargazers_count":115,"open_issues_count":3,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T00:02:18.687Z","etag":null,"topics":["database","sqlite","visualizer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inukshuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-28T12:37:41.000Z","updated_at":"2025-03-29T17:18:15.000Z","dependencies_parsed_at":"2024-10-01T23:34:01.210Z","dependency_job_id":"472615a9-cdd8-4c3b-94ff-287cf5fcd4f3","html_url":"https://github.com/inukshuk/sqleton","commit_stats":{"total_commits":65,"total_committers":5,"mean_commits":13.0,"dds":0.09230769230769231,"last_synced_commit":"44f793e2cb38802c3783ce0212aa0238b2090b18"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inukshuk%2Fsqleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inukshuk%2Fsqleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inukshuk%2Fsqleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inukshuk%2Fsqleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inukshuk","download_url":"https://codeload.github.com/inukshuk/sqleton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767236,"owners_count":20992548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","sqlite","visualizer"],"created_at":"2024-08-10T11:01:45.358Z","updated_at":"2025-04-08T03:17:10.374Z","avatar_url":"https://github.com/inukshuk.png","language":"JavaScript","readme":"# sqleton ['skelɪtən]\n\nVisualizes your SQLite database schema.\n\n![](https://raw.githubusercontent.com/inukshuk/sqleton/master/examples/screenshot.png)\n\n## Installation\n```bash\n$ npm install -g sqleton\n```\n\nYou need to install [graphviz](http://www.graphviz.org/) separately:\n```bash\n$ [pacman -Sy | apt-get install | brew install] graphviz\n```\n\n## Example\n```bash\n$ sqleton -o db.svg db.sqlite\n```\n\nThe format will be inferred from the name of the output file; you\ncan use any format supported by `graphviz` (png, pdf, svg, and many more).\n\n## Usage\n\n```\nUsage: sqleton [options] \u003cdb-file\u003e\n\nOptions:\n  -h, --help        Print this help text and exit\n  -v, --version     Print program version and exit\n  -L, --layout      The layout command, one of:\n                      \"neato\", \"dot\", \"circo\",\n                      \"fdp\" (default),\n                      \"osage\", \"sfdp\", \"twopi\"\n                              \n  -e, --edge-labels  Label foreign key edges\n  -t, --title        Optional title string\n  -f, --font         The font to use, by default \"Helvetica\"\n  -d, --direction    Graph direction, \"TB\" or \"LR\" (default)\n  -o, --out          Output file (determines output format)\n                     if not given DOT will be printed to stdout\n\n      --skip-index   Skip writing table indexes\n```\n\n## Fine-Tuning\n\nTo fine-tune your graph, the best option is to use `.dot` as your output\nformat and adjust the parameters in the file.\n\n## Node.js\n```js\nconst sqleton = require('sqleton')\n\n// Open your database and writable stream\n// ....\n\nsqleton(db, stream, options)\n  .then(() =\u003e { db.close() })\n  .then(() =\u003e { stream.end() })\n```\n\n## What about PostgreSQL or other databases?\n\n`sqleton` was written to visualize SQLite schemata. Having said that,\nyou can try to dump your schema and create a new SQLite database for\nvisualisation from it.\n","funding_links":[],"categories":["JavaScript","Schema Documentation Generators"],"sub_categories":["Desktop"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finukshuk%2Fsqleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finukshuk%2Fsqleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finukshuk%2Fsqleton/lists"}