• Stars
    star
    583
  • Rank 74,113 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 2 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Online SQLite playground

Sqlime

Sqlime is an online SQLite playground for debugging and sharing SQL snippets. Kinda like JSFiddle, but for SQL instead of JavaScript.

🌟 New! Ask AI for help with your queries.

🌟 New! Turn static SQL code in your articles into interactive examples.

Sqlime

Here are some notable features:

🔋 Full-blown database in the browser

Sqlime is backed by the latest version of SQLite via the sqlean.js project. It provides a full-featured SQL implementation, including indexes, triggers, views, transactions, CTEs, window functions and execution plans.

It also includes essential SQLite extensions, from math statistics and regular expressions to hash functions and dynamic SQL.

🔌 Connect any data source

Connect any local or remote SQLite database. Both files and URLs are supported. For example, try loading the Employees database from the GitHub repo.

🔗 Save and share with others

Sqlime saves both the database and the queries to GitHub so that you can revisit them later or share them with a colleague. The database is stored as a plain text SQL dump, so it's easy to read the code or import data into PostgreSQL, MySQL, or other databases.

For example, here is the gist for the Employees database, and here is the sharing link for it.

🤖 Ask AI

Connect an OpenAI account to get help with your queries from the state-of-the-art ChatGPT assistant. AI can explain, teach, and troubleshoot your SQL.

Ask AI

Interactive examples

With Sqlime JavaScript widgets, you can turn static SQL code in your articles or documentation into interactive examples.

📱 Mobile friendly

Most playgrounds are not meant for small screens. Sqlime was specifically designed and tested on mobile devices. No need to zoom or aim at tiny buttons — everything looks and works just fine.

🔒 Secure and private

There is no server. Sqlime works completely in the browser. GitHub and OpenAI credentials are also stored locally. Queries are saved as private GitHub gists within your account. Your data is yours only.

⌨️ Dead simple

Sqlime has zero third-party dependencies other than SQLite. Good old HTML, CSS, and vanilla JS — that's all. No frameworks, no heavy editors, no obsolete and vulnerable libraries. Just some modular open-source code, which is easy to grasp and extend.

Last but not least

⭐️ Star the project if you like it

🚀 Follow @ohmypy on Twitter to keep up with new features

🍋 Use Sqlime to debug and share SQL snippets

More Repositories

1

sqlean

The ultimate set of SQLite extensions
C
3,306
star
2

codapi

Interactive code examples for documentation, education and fun
Go
677
star
3

dataviz

Data visualization guide for presentations, reports, and dashboards
Python
428
star
4

codapi-js

Interactive code examples for documentation, education and fun.
JavaScript
396
star
5

pokitoki

Humble ChatGPT Telegram Bot
Python
288
star
6

sqlpkg-cli

SQLite package manager
Go
160
star
7

iuliia-py

Transliterate Cyrillic → Latin in every possible way
Python
109
star
8

zero

Zero Dependency Club
104
star
9

sqlpkg

SQLite extension registry
101
star
10

sqlean.py

Python's sqlite3 + extensions
C
91
star
11

iuliia-js

Transliterate Cyrillic → Latin in every possible way
TypeScript
79
star
12

podsearch-py

Let's find some podcasts!
Python
70
star
13

iuliia

Transliterate Cyrillic → Latin in every possible way
67
star
14

sqlite

SQLite / Sqlean shell builds
Makefile
57
star
15

sqlean.js

Browser-based SQLite with extensions
Makefile
48
star
16

whatbrowser

Все, что нужно знать о браузере пользователя
JavaScript
43
star
17

invoice

Ну очень простое выставление счетов для юрлиц
HTML
39
star
18

words

Word and phrase lists in CSV
Python
25
star
19

tryxinyminutes

Live code tutorials in your browser
C
15
star
20

metro

Metro lines and stations for cities in Belorussia, Kazakhstan, Russia and Ukraine
13
star
21

sqlite-stats

Statistical functions for SQLite
C
9
star
22

metalsmith-typography

A Metalsmith plugin to enhance typography
JavaScript
9
star
23

php-wasi

PHP WASI build.
JavaScript
8
star
24

sqlite-wasi

SQLite WASI build.
C
7
star
25

sqliter

SQLite на практике
JavaScript
6
star
26

python-wasi

Python WASI build.
JavaScript
6
star
27

lua-wasi

Lua WASI build.
C
5
star
28

git-by-example

Step-by-step guide to Git operations
4
star
29

runno

Runno WASI runtime.
TypeScript
4
star
30

nalgeon.github.io

Everything about SQLite, Python, open data and awesome software
JavaScript
3
star
31

asylum

«Психбольница» Купера 20 лет спустя
CSS
2
star
32

sqlite-ext

All "miscellaneous" SQLite extensions from sqlite.org
Makefile
2
star
33

nalgeon

2
star
34

sql-window-functions

SQL Window Functions Explained
2
star
35

curl-by-example

Step-by-step guide to curl operations
2
star
36

inline-css

A native CSS framework for rapid UI development.
HTML
1
star
37

wee

Toy WSGI-compatible web framework
Python
1
star
38

rosenc

HTML
1
star
39

ruby-wasi

Ruby WASI build.
JavaScript
1
star
40

actionist

GitHub Actions Playground
C
1
star
41

grep-by-example

Step-by-step guide to grep operations
1
star