https://github.com/benhid/lazyop
OpenProject TUI
https://github.com/benhid/lazyop
openproject terminal-ui tui tview
Last synced: 3 months ago
JSON representation
OpenProject TUI
- Host: GitHub
- URL: https://github.com/benhid/lazyop
- Owner: benhid
- Created: 2024-05-21T07:42:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-21T08:44:04.000Z (about 1 year ago)
- Last Synced: 2025-01-30T05:42:04.470Z (4 months ago)
- Topics: openproject, terminal-ui, tui, tview
- Language: Go
- Homepage:
- Size: 2.46 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lazyop

`lazyop` is a command line tool that allows you to interact with [OpenProject](https://www.openproject.org) from the terminal.
It does not support all the features of OpenProject (nor does it intend to), but it is a good starting point:
* View open work packages assigned to you.
* Create/Read/Update/Delete time entries (logged time).## Setup
To configure `lazyop`, create a configuration file in `~/.config/lazyop/config.json` or your current working directory
with the following content:```go
{
"base_url": "https://your.openproject.url/api/v3/",
"user_id": 0, // your OpenProject user ID, which can be found on your profile page URL
"api_key": "your-api-key" // this can be generated from your OpenProject account settings
}
```## Build
Build the project with the following command:
```bash
go build
```Alternatively build it as a Docker image with:
```bash
docker build . -t benhid/lazyop
```
## RunRun from your terminal with the following command:
```bash
lazyop
```Or using the Docker image:
```bash
docker run -it -v $(pwd)/config.json:/config.json benhid/lazyop
```