apache / apache/maka

Add the WakaTime integration to export usage data to `muety/wakapi` or `wakatime.com`

Open
#4,735 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
5.4k
Forks
502
Avg merge
1d 2h
Merged PRs (30d)
715

Description

### Problem

- Currently, https://github.com/apache/maka/blob/main/packages/cli/README.md does not mention any functionality integrated with WakaTime. For other IDEs or agents, WakaTime support should ideally be implemented via a plugin-like mechanism; however, https://github.com/apache/maka/blob/main/packages/cli/README.md makes no mention of a plugin system.
- As an explanation, within https://github.com/anomalyco/opencode , the configuration for `anomalyco/opencode` to export and use data to a custom backend instance ( https://github.com/muety/wakapi ) is done in Bash,
```bash
tee ~/.wakatime.cfg <<'EOF'
[settings]
api_key = some-api-key
api_url = https://wakapi.dev/api
EOF

opencode plugin --global --force opencode-wakatime@latest
```
- Image
- Early discussions can be found at https://x.com/linghengqian/status/2090453772862656944?s=20 , https://wakatime.com/plugins , https://wakapi.dev/ and https://github.com/angristan/opencode-wakatime .

### Desired outcome

- Add the WakaTime integration to export usage data to `muety/wakapi` or `wakatime.com`.

### Alternatives or workarounds

- This issue might be somewhat related to https://github.com/apache/maka/issues/3757 ; however, WakaTime and OpenTelemetry are actually unrelated, aside from a superficial resemblance in the direction of data flow.

Contributor guide

Open the contributing guide

Research direction

Start with packages/cli/README.md and inspect the CLI’s existing integration or plugin entry points, if any. Compare the documented Bash configuration and the linked opencode-wakatime project to determine the required WakaTime or Wakapi behavior. Done means Maka can export usage data to wakatime.com or a muety/wakapi instance, with the integration documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.