Skip to content

Commit 0aa79e3

Browse files
committed
Merge branch 'main' into chore/update_buildroot_version
2 parents 1ea5fda + 83307ac commit 0aa79e3

File tree

1,196 files changed

+20440
-34
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,196 files changed

+20440
-34
lines changed

README.md

+26-16
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,36 @@
1-
# :elephant: PostgreSQL, in your browser :globe_with_meridians:
2-
3-
`postgres-browser` uses WASM to run a full Postgres database inside the browser.
4-
5-
## :zap: Getting started
6-
7-
```bash
8-
cd packages/pg-browser && npx serve
1+
<div align="center">
2+
<h1 align="center">Postgres WASM</h1>
3+
<p align="center">A PostgresQL server instance running in a virtual machine running in the browser<br />
4+
<i>by Supabase &amp; Snaplet</i></p>
5+
<img align="center" src="https://user-images.githubusercontent.com/44849/192262287-29d1ecb2-8ff7-40cb-bd1f-68d707493a86.png" alt="Snaplet, Supabase and friends" width="480">
6+
<br /><br />
7+
<a href="https://postgres-wasm.netlify.com">Demo</a>
8+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
9+
<a href="https://app.snaplet.dev/chat">Discord</a>
10+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
11+
<a href="https://www.snaplet.dev/">Snaplet</a>
12+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
13+
<a href="https://www.supabase.com">Supabase</a>
14+
</div>
15+
<br />
16+
17+
## Quickstart
18+
19+
```terminal
20+
cd packages/runtime && npx serve
921
```
1022

1123
Go to http://localhost:3000 and have fun!
1224

13-
## :brain: Architecture
14-
15-
> TODO
25+
## Packages
1626

17-
## :eyes: Going further
27+
This repo is split into three packages that build up the environment for running PostgresQL in the browser.
1828

19-
- [pg-browser](/packages/pg-browser)
20-
- [Buildroot](/packages/buildroot)
21-
- [Websockproxy](/packages/websockproxy)
29+
- [runtime](/packages/runtime): The v86 emulator that starts the `buildroot` image
30+
- [Buildroot](/packages/buildroot): Scripts to build the CPU and memory snapshot run by v86.
31+
- [Websockproxy](/packages/websockproxy): Networking
2232

23-
## :clap: Acknowledgements
33+
## Acknowledgements
2434

2535
- [v86](https://github.com/copy/v86) which is **the** emulator for running x86 operating systems in the browser, without it none of the following projects would be possible
2636
- [crunchydata playground](https://www.crunchydata.com/developers/playground) for leading the way and showing the world that it was possible to run PostgreSQL in the browser

packages/buildroot/legal-info/host-licenses/acl-2.3.1/doc/COPYING

+347
Large diffs are not rendered by default.

packages/buildroot/legal-info/host-licenses/acl-2.3.1/doc/COPYING.LGPL

+513
Large diffs are not rendered by default.

packages/buildroot/legal-info/host-licenses/attr-2.5.1/doc/COPYING

+347
Large diffs are not rendered by default.

packages/buildroot/legal-info/host-licenses/attr-2.5.1/doc/COPYING.LGPL

+513
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
AUTOCONF CONFIGURE SCRIPT EXCEPTION
2+
Version 3.0, 18 August 2009
3+
4+
Copyright (C) 2009 Free Software Foundation, Inc. <https://fsf.org/>
5+
Everyone is permitted to copy and distribute verbatim copies
6+
of this license document, but changing it is not allowed.
7+
8+
This Exception is an additional permission under section 7 of the GNU
9+
General Public License, version 3 ("GPLv3"). It applies to a given
10+
file that bears a notice placed by the copyright holder of the file
11+
stating that the file is governed by GPLv3 along with this Exception.
12+
13+
The purpose of this Exception is to allow distribution of Autoconf's
14+
typical output under terms of the recipient's choice (including
15+
proprietary).
16+
17+
0. Definitions
18+
19+
"Covered Code" is the source or object code of a version of Autoconf
20+
that is a covered work under this License.
21+
22+
"Normally Copied Code" for a version of Autoconf means all parts of
23+
its Covered Code which that version can copy from its code (i.e., not
24+
from its input file) into its minimally verbose, non-debugging and
25+
non-tracing output.
26+
27+
"Ineligible Code" is Covered Code that is not Normally Copied Code.
28+
29+
1. Grant of Additional Permission.
30+
31+
You have permission to propagate output of Autoconf, even if such
32+
propagation would otherwise violate the terms of GPLv3. However, if
33+
by modifying Autoconf you cause any Ineligible Code of the version you
34+
received to become Normally Copied Code of your modified version, then
35+
you void this Exception for the resulting covered work. If you convey
36+
that resulting covered work, you must remove this Exception in accordance
37+
with the second paragraph of Section 7 of GPLv3.
38+
39+
2. No Weakening of Autoconf Copyleft.
40+
41+
The availability of this Exception does not imply any general presumption
42+
that third-party software is unaffected by the copyleft requirements of
43+
the license of Autoconf.

0 commit comments

Comments
 (0)