2025-01-14 16:18:23 +01:00
|
|
|
# fj
|
|
|
|
|
2025-02-05 08:48:22 +01:00
|
|
|
A Forgejo CLI - "gh for Forgejo"
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
The application can be configured using environment variables or a .env file. Create a copy of `.env.example` as `.env` and modify the values:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cp .env.example .env
|
|
|
|
```
|
|
|
|
|
|
|
|
Required variables:
|
|
|
|
- `FJ_HOST`: Your Forgejo instance URL
|
|
|
|
- `FJ_API_TOKEN`: Your Forgejo API token
|
|
|
|
- `FJ_SSH_KEY_PATH`: Path to your SSH key
|
|
|
|
|
|
|
|
Environment variables take precedence over values in the .env file.
|