├── .eslintrc.json ├── .github ├── dependabot.yml └── workflows │ ├── deploy-demo-to-pages.yml │ ├── development.yml │ ├── published-simulation.yml │ ├── test-analyze.yml │ └── test.yml ├── .gitignore ├── .husky └── pre-commit ├── .prettierignore ├── LICENSE ├── README.md ├── builtin-plugins ├── commonheadings.mjs ├── depth.mjs ├── pres.mjs ├── size.mjs └── wordcount.mjs ├── cli └── index.mjs ├── example-directories ├── github-docs-sample.tgz └── my-jamstack-site │ └── index.md ├── example-plugins └── my-docsql-plugins │ └── chocolate-icecream-mentions.mjs ├── justfile ├── lib └── analyze.mjs ├── next-env.d.ts ├── next.config.js ├── package.json ├── public ├── .nojekyll ├── favicon-16x16.png ├── favicon-32x32.png └── favicon.ico ├── screenshots ├── click-to-open.png ├── dark-mode.png ├── download.png ├── downloaded-csv.png ├── downloaded-json.png ├── example-queries.png ├── less-trivial-query.png ├── open-help.png ├── opened-in-vscode.png ├── post-pretty-format.png ├── pre-pretty-format.png ├── sample-plugin.png ├── saved-queries.png ├── simple-query.png └── urls.png ├── src ├── components │ ├── about-metadata.tsx │ ├── code-input.tsx │ ├── demo-alert.tsx │ ├── download-found-records.tsx │ ├── example-queries.tsx │ ├── footer.tsx │ ├── found-records.tsx │ ├── help.tsx │ ├── home.tsx │ ├── saved-queries.tsx │ ├── searchable-data.tsx │ ├── theme-switcher.tsx │ ├── toolbar-menu.tsx │ └── toolbar.tsx ├── contexts │ └── possible-keys.ts ├── hooks │ └── use-router-replace.ts ├── lib │ └── sources.ts ├── pages │ ├── _app.tsx │ ├── _document.tsx │ ├── api │ │ └── open.ts │ └── index.tsx ├── styles │ ├── about-metadata.module.css │ ├── code-input.module.css │ ├── example-queries.module.css │ ├── footer.module.css │ ├── found-records.module.css │ ├── globals.css │ ├── home.module.css │ └── saved-queries.module.css ├── types.ts └── utils │ └── syntax-highlighter.tsx └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-demo-to-pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/.github/workflows/deploy-demo-to-pages.yml -------------------------------------------------------------------------------- /.github/workflows/development.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/.github/workflows/development.yml -------------------------------------------------------------------------------- /.github/workflows/published-simulation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/.github/workflows/published-simulation.yml -------------------------------------------------------------------------------- /.github/workflows/test-analyze.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/.github/workflows/test-analyze.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .next/ 2 | out/ 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/README.md -------------------------------------------------------------------------------- /builtin-plugins/commonheadings.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/builtin-plugins/commonheadings.mjs -------------------------------------------------------------------------------- /builtin-plugins/depth.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/builtin-plugins/depth.mjs -------------------------------------------------------------------------------- /builtin-plugins/pres.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/builtin-plugins/pres.mjs -------------------------------------------------------------------------------- /builtin-plugins/size.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/builtin-plugins/size.mjs -------------------------------------------------------------------------------- /builtin-plugins/wordcount.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/builtin-plugins/wordcount.mjs -------------------------------------------------------------------------------- /cli/index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/cli/index.mjs -------------------------------------------------------------------------------- /example-directories/github-docs-sample.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/example-directories/github-docs-sample.tgz -------------------------------------------------------------------------------- /example-directories/my-jamstack-site/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/example-directories/my-jamstack-site/index.md -------------------------------------------------------------------------------- /example-plugins/my-docsql-plugins/chocolate-icecream-mentions.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/example-plugins/my-docsql-plugins/chocolate-icecream-mentions.mjs -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/justfile -------------------------------------------------------------------------------- /lib/analyze.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/lib/analyze.mjs -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/package.json -------------------------------------------------------------------------------- /public/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/public/favicon-16x16.png -------------------------------------------------------------------------------- /public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/public/favicon-32x32.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /screenshots/click-to-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/click-to-open.png -------------------------------------------------------------------------------- /screenshots/dark-mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/dark-mode.png -------------------------------------------------------------------------------- /screenshots/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/download.png -------------------------------------------------------------------------------- /screenshots/downloaded-csv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/downloaded-csv.png -------------------------------------------------------------------------------- /screenshots/downloaded-json.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/downloaded-json.png -------------------------------------------------------------------------------- /screenshots/example-queries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/example-queries.png -------------------------------------------------------------------------------- /screenshots/less-trivial-query.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/less-trivial-query.png -------------------------------------------------------------------------------- /screenshots/open-help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/open-help.png -------------------------------------------------------------------------------- /screenshots/opened-in-vscode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/opened-in-vscode.png -------------------------------------------------------------------------------- /screenshots/post-pretty-format.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/post-pretty-format.png -------------------------------------------------------------------------------- /screenshots/pre-pretty-format.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/pre-pretty-format.png -------------------------------------------------------------------------------- /screenshots/sample-plugin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/sample-plugin.png -------------------------------------------------------------------------------- /screenshots/saved-queries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/saved-queries.png -------------------------------------------------------------------------------- /screenshots/simple-query.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/simple-query.png -------------------------------------------------------------------------------- /screenshots/urls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/screenshots/urls.png -------------------------------------------------------------------------------- /src/components/about-metadata.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/about-metadata.tsx -------------------------------------------------------------------------------- /src/components/code-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/code-input.tsx -------------------------------------------------------------------------------- /src/components/demo-alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/demo-alert.tsx -------------------------------------------------------------------------------- /src/components/download-found-records.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/download-found-records.tsx -------------------------------------------------------------------------------- /src/components/example-queries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/example-queries.tsx -------------------------------------------------------------------------------- /src/components/footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/footer.tsx -------------------------------------------------------------------------------- /src/components/found-records.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/found-records.tsx -------------------------------------------------------------------------------- /src/components/help.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/help.tsx -------------------------------------------------------------------------------- /src/components/home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/home.tsx -------------------------------------------------------------------------------- /src/components/saved-queries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/saved-queries.tsx -------------------------------------------------------------------------------- /src/components/searchable-data.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/searchable-data.tsx -------------------------------------------------------------------------------- /src/components/theme-switcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/theme-switcher.tsx -------------------------------------------------------------------------------- /src/components/toolbar-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/toolbar-menu.tsx -------------------------------------------------------------------------------- /src/components/toolbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/components/toolbar.tsx -------------------------------------------------------------------------------- /src/contexts/possible-keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/contexts/possible-keys.ts -------------------------------------------------------------------------------- /src/hooks/use-router-replace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/hooks/use-router-replace.ts -------------------------------------------------------------------------------- /src/lib/sources.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/lib/sources.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/api/open.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/pages/api/open.ts -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/styles/about-metadata.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/styles/about-metadata.module.css -------------------------------------------------------------------------------- /src/styles/code-input.module.css: -------------------------------------------------------------------------------- 1 | .textarea { 2 | width: 100%; 3 | margin-bottom: 5px; 4 | } 5 | -------------------------------------------------------------------------------- /src/styles/example-queries.module.css: -------------------------------------------------------------------------------- 1 | .example { 2 | margin: 40px 5px; 3 | } 4 | -------------------------------------------------------------------------------- /src/styles/footer.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/styles/footer.module.css -------------------------------------------------------------------------------- /src/styles/found-records.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/styles/found-records.module.css -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/styles/home.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/styles/home.module.css -------------------------------------------------------------------------------- /src/styles/saved-queries.module.css: -------------------------------------------------------------------------------- 1 | .saved_query { 2 | margin: 40px 5px; 3 | } 4 | -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/syntax-highlighter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/src/utils/syntax-highlighter.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peterbe/docsql/HEAD/tsconfig.json --------------------------------------------------------------------------------