aw-server-rust icon indicating copy to clipboard operation
aw-server-rust copied to clipboard

High-performance implementation of the ActivityWatch server, written in Rust

Results 62 aw-server-rust issues
Sort by recently updated
recently updated
newest added

Processing optimizations: - Have the list of events sorted by timestamp, then we could binary search the events intersecting. Doing so would significantly improve performance of transforms like filter_period_intersect and...

enhancement

## Problem Currently every time we reference a variable we are cloning the whole value to guarantee that the value of the variable cannot be modified in some function without...

enhancement

https://github.com/OlivierMary/aw-watcher-jetbrains Running activitywatch-0.9.2 There seems to be an issue with the JSON being sent, but because we don't appear to have `--log-json` in aw-server-rust I can't work out what the...

I saw you mentioned in 037d875ebd0f2b2dcdadc7618675ef0071b644d6 that Swagger support won't be reimplemented, but Swagger support is actually trivial to reimplement. It's as easy as copying the API spec generated by...

enhancement

Just made the move to aw-server-rust. Very impressed by the change. The transition went smoothly, and the queries are blazingly fast. When I used to wait maybe 30-40 seconds for...

I found this section about benchmark tests in the Rust docs and thought it might be relevant to write some for tests in aw-transforms or aw-query: https://doc.rust-lang.org/1.7.0/book/benchmark-tests.html There's also this,...

My suggested API: - Remove `DELETE /events/` endpoint - Add `POST /events/delete/by_ids` - Add `GET /events/delete/by_period?start=X&end=X` Reasons why the old delete API is bad and should be replaced completely: -...

enhancement

So it's already possible to replace events by setting the "id" property in the /insert endpoint. So why would you want to have a separate /replace endpoint? - Because /insert...

enhancement

This would likely be helpful for anyone new wanting to get into the codebase / read how it works. Maybe on https://activitywatch.readthedocs.io/ , maybe pubilsh releases as crates and have...

A couple of things: - We need to be able to create instances of the database that do not migrate/update like the local instance does (to ensure that they are...