Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ By [21st.dev](https://21st.dev) team
- **Integrated Terminal** - Full terminal access within the app
- **Change Tracking** - Visual diffs and PR management

## 🔌 Plugin System (Experimental)

1Code includes an experimental plugin architecture that allows extending functionality
without modifying core code.

Plugins can:
- Register custom commands
- Hook into application lifecycle
- Enable future extensions like linters, formatters, and AI tools

See `src/shared/plugins/samplePlugin.ts` for a minimal example.


## Installation

### Option 1: Build from source (free)
Expand Down Expand Up @@ -45,6 +58,32 @@ bun run claude:download # First time only
bun run dev
```

## Codespaces & Linux Notes

When running the Electron app inside **GitHub Codespaces**, Docker containers,
or minimal Linux environments, the UI may fail to launch due to the absence of
an X11 display server.

This is expected behavior and does **not** block development or builds.

If you encounter dependency resolution issues, use:

```bash
npm install --legacy-peer-deps
```

On Linux, Electron may require additional system libraries:

```bash
sudo apt-get install -y libatk1.0-0 libgtk-3-0 libnss3 libxss1 libasound2
```

You can still validate your changes by running:

```bash
npm run build
```

## Feedback & Community

Join our [Discord](https://discord.gg/8ektTZGnj4) for support and discussions.
Expand Down
Loading