https://github.com/davidgraeff/timesheets
For creating my timesheets. Rust backend and svelte frontend
https://github.com/davidgraeff/timesheets
Last synced: over 1 year ago
JSON representation
For creating my timesheets. Rust backend and svelte frontend
- Host: GitHub
- URL: https://github.com/davidgraeff/timesheets
- Owner: davidgraeff
- Created: 2023-04-04T07:24:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T15:03:08.000Z (over 2 years ago)
- Last Synced: 2025-01-17T12:16:00.723Z (over 1 year ago)
- Language: Svelte
- Size: 284 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Timesheet web tool
A personal project to quickly create monthly timesheets and render them for pdf printing.
Outlook calendar entries can be imported and Gitlab activity is shown for each day.
An optional API backend is used for cloud syncronization and Outlook calendar imports.
The http backend is written in Rust using Axum for the http server and `ical` as well as `rrule` crates for
parsing Internet Calendar Scheduling (ics) Outlook URLs.
The web frontend is based on Svelte and SvelteKit/Vite. The sources are written in Typescript,
styling is applied in Scss.
# Cross compile to RPI4 on Fedora and install to home assistant
```
TARGET_CC=aarch64-linux-gnu-gcc cargo build --target aarch64-unknown-linux-musl
cp ./target/aarch64-unknown-linux-musl/debug/timesheet-backend homeassistant-package/usr/bin/timesheet-backend
llvm-strip homeassistant-package/usr/bin/timesheet-backend
scp -r homeassistant-package/* root@homeassistant.local:/root/addons/timesheet-web/
```