Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:

- name: Build the Go application
run: |
go mod download
GOOS=linux go build -o cycles

- name: Prepare AppDir
Expand All @@ -42,10 +43,10 @@ jobs:

- name: Build AppImage
run: |
./appimagetool-x86_64.AppImage --appimage-extract-and-run AppDir/ cycles-0.3.4-x86_64.AppImage
./appimagetool-x86_64.AppImage --appimage-extract-and-run AppDir/ cycles-0.4.0-x86_64.AppImage

- name: Upload AppImage
uses: actions/upload-artifact@v2
with:
name: Cycles-AppImage
path: cycles-0.3.4-x86_64.AppImage
path: cycles-0.4.0-x86_64.AppImage
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Changelog

All notable changes to the Cycles project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2025-10-14

### Added
- Command-line flags for customization:
- `--columns`: Configure number of columns in grid layout (default: 4)
- `--interval`: Set update interval (default: 2s)
- `--history`: Configure number of historical data points (default: 30)
- `--logical`: Toggle between logical and physical cores (default: true)
- Unit tests for core functionality
- Proper error handling and logging throughout the application
- Configuration system for managing application settings

### Changed
- Refactored codebase into multiple files for better organization:
- `config.go`: Configuration management
- `theme.go`: Theme and color management
- `tile.go`: CoreTile structure and methods
- `sysinfo.go`: System information retrieval
- `graphics.go`: Graph rendering utilities
- `main.go`: Application orchestration
- Improved error messages with proper logging
- Updated version number from 0.3.4 to 0.4.0
- Enhanced code documentation and comments
- Updated README with comprehensive setup instructions

### Fixed
- Improved theme detection logic for graph colors
- Better error handling for icon loading
- More robust CPU frequency reading

### Technical Improvements
- Separated concerns for better code maintainability
- Added test coverage for formatting functions and utilities
- Cleaner main function with configuration-driven behavior
- Removed unused code and comments

## [0.3.4] - Previous Version

### Features
- Basic CPU monitoring for each core
- Real-time utilization graphs
- Frequency display for each core
- Fixed 4-column grid layout
- 2-second update interval
Loading
Loading