feat: add canvas dependency and implement uptime bar image generation

- Added 'canvas' dependency to package.json and package-lock.json.
- Updated getUpdatedContainer method in StatusService to be asynchronous.
- Implemented getStatusImageBar method in StatusService to generate a visual representation of uptime data.
- Modified live_status.command.ts and statut.command.ts to await the updated container.
- Created test.ts to demonstrate uptime bar generation and save it as an image.
- Updated tsconfig.json to target ES2024 and include relevant libraries.
This commit is contained in:
2025-11-25 10:22:41 +01:00
parent 5ec7187afd
commit c658881d24
9 changed files with 620 additions and 8 deletions

BIN
test.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B