-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Post soft-launch fixes * cargo readme * Readme updates * cargo format * fix typo * add og image
- Loading branch information
Showing
12 changed files
with
131 additions
and
57 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import { ImageResponse } from 'next/og' | ||
import PlaneLogo from '../../components/logo' | ||
import { NextRequest } from 'next/server'; | ||
|
||
export const config = { | ||
runtime: 'edge', | ||
} | ||
|
||
export default async function handler(request: NextRequest) { | ||
const { searchParams } = new URL(request.url); | ||
|
||
const fontData = await fetch( | ||
new URL('OpenSans-SemiBold.ttf', import.meta.url), | ||
).then((res) => res.arrayBuffer()); | ||
|
||
const title = searchParams.get('title') | ||
|
||
return new ImageResponse( | ||
( | ||
<div | ||
style={{ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
width: '100%', | ||
height: '100%', | ||
background: '#011029', | ||
color: 'white', | ||
fontFamily: 'Open Sans', | ||
}} | ||
> | ||
<PlaneLogo height={180} /> | ||
{title && ( | ||
<div style={{ marginTop: 50, fontSize: 60, display: 'flex' }}> | ||
<span style={{color: '#555'}}>docs/</span>{title} | ||
</div> | ||
)} | ||
</div> | ||
), | ||
{ | ||
fonts: [ | ||
{ | ||
name: 'Open Sans', | ||
data: fontData, | ||
style: 'normal', | ||
} | ||
] | ||
} | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<a href="https://plane.dev"> | ||
<img src="../resources/plane-logo-light.svg" alt="Plane logo" /> | ||
</a> | ||
|
||
[![GitHub Repo stars](https://img.shields.io/github/stars/drifting-in-space/plane?style=social)](https://github.com/drifting-in-space/plane) | ||
[![Docker image](https://img.shields.io/docker/v/plane/plane)](https://hub.docker.com/r/plane/plane/tags) | ||
[![Build Docker Image](https://github.com/drifting-in-space/plane/actions/workflows/build-image.yml/badge.svg)](https://github.com/drifting-in-space/plane/actions/workflows/build-image.yml) | ||
[![Tests](https://github.com/drifting-in-space/plane/actions/workflows/tests.yml/badge.svg)](https://github.com/drifting-in-space/plane/actions/workflows/tests.yml) | ||
[![Chat on Discord](https://img.shields.io/static/v1?label=chat&message=discord&color=404eed)](https://discord.gg/N5sEpsuhh9) | ||
|
||
[Plane](https://plane.dev) is a distributed system for **running stateful WebSocket backends at scale**. Plane is heavily inspired by [Figma’s mulitplayer infrastructure](https://www.figma.com/blog/rust-in-production-at-figma/), which dynamically spawns a process for each active document. | ||
|
||
Use cases include: | ||
- Scaling up [authoritative multiplayer backends](https://driftingin.space/posts/you-might-not-need-a-crdt). | ||
- Running isolated code environments (like REPLs, code notebooks, and LLM agent sandboxes). | ||
- Data-intensive applications that need a dedicated high-RAM process for each active user session. | ||
|
||
Read more about [Plane’s architecture](https://plane.dev/concepts/architecture). | ||
|
||
[![Architecture diagram of Plane](../docs/public/arch-diagram.svg)](https://plane.dev/concepts/architecture) | ||
|
||
## Learn more | ||
|
||
- Read the [quickstart guide](https://plane.dev/quickstart-guide) | ||
- Learn about [Plane concepts](https://plane.dev/concepts/session-backends) | ||
- See instructions for [building and developing Plane locally](https://plane.dev/developing) | ||
- Read about [production deployment](https://plane.dev/deploy-to-prod) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters