Update 1.2.0
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# TypstDrive
|
||||
|
||||
[](https://github.com/your-username/typstdrive)
|
||||
[](https://github.com/your-username/typstdrive)
|
||||
[](https://typst.app/)
|
||||
[](https://www.rust-lang.org/)
|
||||
[](https://kit.svelte.dev/)
|
||||
[](https://tailwindcss.com/)
|
||||
[](https://bun.sh/)
|
||||
[](https://www.sqlite.org/)
|
||||
[](https://www.postgresql.org/)
|
||||
[](https://www.docker.com/)
|
||||
|
||||
TypstDrive is a collaborative web editor for Typst. With built-in dark mode, multiple themes, and a clean Google Docs-like interface, it makes creating and sharing documents effortless.
|
||||
@@ -16,9 +16,9 @@ TypstDrive is a collaborative web editor for Typst. With built-in dark mode, mul
|
||||
- **Real-Time Collaboration**: Powered by Yjs and CodeMirror 6, see changes and cursors from other users instantly.
|
||||
- **Instant Preview**: Compile Typst to SVG on the fly with sub-second latency, featuring interactive document zoom controls.
|
||||
- **Customizable Themes**: Choose from multiple editor themes (Catppuccin, Arch Linux, Cerberus) and toggle global dark mode.
|
||||
- **Export Options**: Export your compiled documents directly to PDF, PNG, or SVG.
|
||||
- **User Authentication**: Secure accounts and workspaces for all your documents.
|
||||
- **Link Sharing**: Share documents with configurable permissions (Viewer / Editor).
|
||||
- **Export Options**: Export your compiled documents directly to PDF, PNG, SVG, HTML, Markdown, Word, or LaTeX formats using internal conversion and Pandoc integrations.
|
||||
- **User Authentication & Document Access**: Secure accounts, workspaces, and sharing features via email-based collaborator invitations (Editor or Viewer roles) for all your documents.
|
||||
- **Presentation Mode**: Turn your documents into instant slideshows with built-in slide controls and a live drawing/annotation tool overlay.
|
||||
- **Asset Management**: Upload and seamlessly use custom fonts and images directly within your documents.
|
||||
|
||||
## Fonts & Images
|
||||
@@ -75,7 +75,7 @@ TypstDrive is completely self-hostable. We provide a Docker image that packages
|
||||
|
||||
### Data Storage
|
||||
|
||||
The SQLite database containing users and documents is stored in the `./data` directory relative to your `docker-compose.yml` file. This is automatically mounted by Docker Compose to ensure your data persists across container restarts.
|
||||
The PostgreSQL database containing users and documents is persisted via the Docker volume `pgdata`. This is automatically configured in `docker-compose.yml` to ensure your data persists across container restarts.
|
||||
|
||||
## Local Development
|
||||
|
||||
@@ -86,8 +86,9 @@ If you'd like to contribute or run TypstDrive without Docker:
|
||||
2. Run the dev server: `npm run dev`
|
||||
|
||||
### Backend
|
||||
1. Navigate to the `server/` directory.
|
||||
2. Build and run: `cargo run`
|
||||
1. Start the local database: `docker-compose up -d db`
|
||||
2. Navigate to the `server/` directory.
|
||||
3. Build and run: `cargo run`
|
||||
|
||||
Note: The frontend expects the backend to be running on port 3000. During local development via Vite, API calls are proxied automatically.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user