Skip to content

Commit 12ecab6

Browse files
committed
update docs
1 parent e29238c commit 12ecab6

File tree

2 files changed

+40
-47
lines changed

2 files changed

+40
-47
lines changed

β€ŽCONTRIBUTING.md

+17-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
# Development
22

3-
TypeCell is a monorepo containing several packages. In VS Code, it's best to open `typecell.code-workspace` to open the project as a workspace.
3+
TypeCell is a monorepo containing several packages.
44

55
## Directory structure:
66

77
```
8-
blocknote
8+
typecell
99
β”œβ”€β”€ packages
10-
β”‚ β”œβ”€β”€ common - Utility functions shared across the codebase
11-
β”‚ β”œβ”€β”€ editor - The main React application
12-
β”‚ β”œβ”€β”€ engine - The live-code execution engine
13-
β”‚ β”œβ”€β”€ packager - Tool to bundle TypeCell notebook apps (WIP)
14-
β”‚ └── parsers - Helpers to convert to / from TypeCell
15-
β”œβ”€β”€ patches - patch-package patches
16-
└── test-util - Server and data for unit tests
10+
β”‚ β”œβ”€β”€ editor - The main React application
11+
β”‚ β”œβ”€β”€ engine - The live-code execution engine and Reactive Runtime
12+
β”‚ β”œβ”€β”€ frame - sandboxed iframe where end-user code evaluates
13+
β”‚ β”œβ”€β”€ packager - Tool to bundle TypeCell notebook apps (WIP)
14+
β”‚ β”œβ”€β”€ parsers - Helpers to convert to / from TypeCell documents
15+
β”‚ β”œβ”€β”€ server - HocusPocus + Supabase server for storing documents
16+
β”‚ β”œβ”€β”€ shared - TypeCell specific models shared across the codebase
17+
β”‚ β”œβ”€β”€ shared-test - Helper functions shared across the codebase for unit tests
18+
β”‚ └── util - Generic helper functions
19+
β”œβ”€β”€ patches - patch-package patches
20+
└── test-util - Data for unit tests
1721
```
1822

1923
## Running locally
@@ -22,12 +26,15 @@ Node.js is required to run this project. To download Node.js, visit [nodejs.org]
2226

2327
To run the project, open the command line in the project's root directory and enter the following commands:
2428

25-
# Install all required npm modules for lerna, and bootstrap lerna packages
29+
# Install all required npm modules
2630
npm install
2731

2832
# Initial build of all packages required by the main editor project
2933
npm run build
3034

35+
# Start the local server
36+
npm run start:server
37+
3138
# Start the main editor project
3239
npm start
3340

β€ŽREADME.md

+23-37
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
</p>
66

77
<p align="center">
8-
Welcome to TypeCell! An open source live programming environment. Together, we want to make it a lot easier to build software, and ultimately to understand, build and share knowledge.
8+
Welcome to TypeCell, where Notion meets Jupyter Notebooks - all open source. TypeCell is a fresh take on what documents and software can look like. Together, we want to make it a lot easier to build software, and ultimately to understand, build and share knowledge.
99
</p>
1010

1111
<p align="center">
12-
<a href="https://discord.gg/aDQxXezfNj"><img alt="Discord" src="https://img.shields.io/badge/Chat on discord%20-%237289DA.svg?&style=for-the-badge&logo=discord&logoColor=white"/></a> <a href="https://matrix.to/#/#typecell-space:matrix.org"><img alt="Matrix" src="https://img.shields.io/badge/Chat on matrix%20-%23000.svg?&style=for-the-badge&logo=matrix&logoColor=white"/></a>
12+
<a href="https://discord.gg/aDQxXezfNj"><img alt="Discord" src="https://img.shields.io/badge/Chat on discord%20-%237289DA.svg?&style=for-the-badge&logo=discord&logoColor=white"/></a>
1313
</p>
1414

1515
<p align="center">
@@ -20,43 +20,25 @@ Welcome to TypeCell! An open source live programming environment. Together, we w
2020

2121
# Features
2222

23-
- Open Source, cell-based notebook environment
23+
- Open Source Notion-style workspaces and documents (powered by [BlockNote](https://www.blocknotejs.org))
24+
- [Local-First](https://www.inkandswitch.com/local-first/) architecture built using [Yjs](https://github.com/yjs/yjs), with support for live multi-user collaboration
25+
- Code Blocks for a live, as-you-type coding experience enabling [End-User Programming](https://www.inkandswitch.com/end-user-programming/)
2426
- Same, powerful editing experience as VS Code
25-
- Full TypeScript support! (no weird custom language constructs)
26-
- Reactive Runtime, cells automatically re-evaluate when their dependencies update ([learn more](https://www.typecell.org/docs/manual/3.%20Reactive%20variables.md))
27-
- Import NPM packages + types just by writing an `import` statement
28-
- Support for real-time collaboration (using [Yjs](https://github.com/yjs/yjs))
27+
- Full TypeScript and React support! (no weird custom language constructs)
28+
- The Reactive Runtime makes sure code blocks automatically re-evaluate when their dependencies update ([learn more](https://www.typecell.org/docs/manual/3.%20Reactive%20variables.md))
29+
- Import NPM packages + types just by writing a regular `import` statement
2930

30-
[Try the Tutorial to get started!](https://www.typecell.org/docs/)
31+
Β» [Create your free workspace to get started!](https://www.typecell.org/)
3132

3233
# Documentation πŸ“–
3334

34-
## Tutorial
35+
Read the docs and complete the interactive tutorial to get familiar with TypeCell:
3536

36-
Complete the tutorial to get familiar with TypeCell:
37-
38-
Β» [Interactive introduction](https://www.typecell.org/docs/)
39-
40-
## Manual
41-
42-
We've written about the main functionality of TypeCell in the [manual](https://www.typecell.org/docs/manual):
43-
44-
- [Blocks and code blocks](https://www.typecell.org/docs/manual/1.%20Blocks%20and%20code%20blocks.md)
45-
- [TypeScript and exports](https://www.typecell.org/docs/manual/2.%20TypeScript%20and%20exports.md)
46-
- [Reactive variables](https://www.typecell.org/docs/manual/3.%20Reactive%20variables.md)
47-
- [Working with user input](https://www.typecell.org/docs/manual/4.%20Inputs.md)
48-
- [Imports & NPM](https://www.typecell.org/docs/manual/5.%20Imports%20and%20NPM.md)
49-
<!-- - [Collaboration](https://www.typecell.org/docs/manual/6.%20Collaboration.md) -->
50-
51-
<!-- ## Demos
52-
53-
Another good way to learn is to check out some notebooks from our community:
54-
55-
Β» [View demo notebooks](/docs/Demos.md) -->
37+
Β» [Check out the docs and Live Coding Tutorial](https://www.typecell.org/docs/)
5638

5739
# Feedback πŸ™‹β€β™‚οΈπŸ™‹β€β™€οΈ
5840

59-
We'd love to hear your thoughts and see your experiments, so [come and say hi on Discord](https://discord.gg/TcJ9TRC3SV) or [Matrix](https://matrix.to/#/#typecell-space:matrix.org).
41+
We'd love to hear your thoughts and see your experiments, so [come and say hi on Discord](https://discord.gg/TcJ9TRC3SV).
6042

6143
# Contributing πŸ™Œ
6244

@@ -67,13 +49,17 @@ TypeCell is organised as a monorepo containing several packages. Directory struc
6749
```
6850
typecell
6951
β”œβ”€β”€ packages
70-
β”‚ β”œβ”€β”€ common - Utility functions shared across the codebase
71-
β”‚ β”œβ”€β”€ editor - The main React application
72-
β”‚ β”œβ”€β”€ engine - The live-code execution engine
73-
β”‚ β”œβ”€β”€ packager - Tool to bundle TypeCell notebook apps (WIP)
74-
β”‚ └── parsers - Helpers to convert to / from TypeCell documents
75-
β”œβ”€β”€ patches - patch-package patches
76-
└── test-util - Server and data for unit tests
52+
β”‚ β”œβ”€β”€ editor - The main React application
53+
β”‚ β”œβ”€β”€ engine - The live-code execution engine and Reactive Runtime
54+
β”‚ β”œβ”€β”€ frame - sandboxed iframe where end-user code evaluates
55+
β”‚ β”œβ”€β”€ packager - Tool to bundle TypeCell notebook apps (WIP)
56+
β”‚ β”œβ”€β”€ parsers - Helpers to convert to / from TypeCell documents
57+
β”‚ β”œβ”€β”€ server - HocusPocus + Supabase server for storing documents
58+
β”‚ β”œβ”€β”€ shared - TypeCell specific models shared across the codebase
59+
β”‚ β”œβ”€β”€ shared-test - Helper functions shared across the codebase for unit tests
60+
β”‚ └── util - Generic helper functions
61+
β”œβ”€β”€ patches - patch-package patches
62+
└── test-util - Data for unit tests
7763
```
7864

7965
The codebase is automatically tested using Vitest and Playwright.

0 commit comments

Comments
Β (0)