mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-31 01:00:47 +08:00
0c7ea70c1be9771a9ec8a6d05abb71dc934493c4
Since the legacy config is being deprecated at the end of 2024, we should start moving to the eslint flat config. I avoided the tseslint config helper function so we avoid wrapping magic. This seems to have triggered more checking since any checks in svelte files have appeared and the $$Generic type that is being deprecated had to be rewritten. Also fixes some any types that weren't caught previously
Radicle Explorer
This user interface lets you interact with Radicle, a peer-to-peer code collaboration and publishing stack, directly from your web browser.
Deployment Options:
- Public Server: The Radicle team maintains a public instance at app.radicle.xyz
- Local-first: Run the UI locally
- Self-hosting: Deploy the UI on your own server
Local-first
Prerequisites:
Run the following commands to access the web UI locally:
git clone https://seed.radicle.xyz/z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git radicle-explorer
cd radicle-explorer
npm install
npm start
Then open http://localhost:3000 in your favourite browser.
Self-Hosting the UI
There are several ways to deploy the UI publicly. Here are two common options:
Using your own web server:
- Run
npm install && npm buildto create a build for deployment - Configure your web server to serve the contents of the
/builddirectory
Using Vercel (or similar static file hosting):
- Fork this repository to create your own version
- Configure your Vercel account to deploy the forked repository
Configuration
There's two ways to configure the UI:
Create a local.json config file
- Copy default.json to a new file in the same folder called
local.json. - Modify the properties in
local.jsonto your preference.
Environment variables
- Check custom-environment-variables.json for all available environment variables.
- Set the desired environment variables when building the UI.
For advanced configuration options, have a look at the
node-configpackage.
Contributing
- For detailed contribution guidelines, refer to the CONTRIBUTING.md file
- To propose changes, open an issue or submit a patch using Radicle
Getting in touch
To get in touch with the maintainers, sign up to our official chat on Zulip.
License
The UI is distributed under the terms of GPLv3. See LICENSE for details.
Languages
Svelte
43.6%
TypeScript
32%
Rust
19%
JavaScript
2.2%
Shell
1.2%
Other
2%