Huakun de3886d416
feat: implement clipboard data cleaning for data older than 10 days (#267)
* Update drizzle-orm to version 0.41.0 and implement clipboard cleanup functionality

- Updated drizzle-orm dependency in package.json and pnpm-lock.yaml to version 0.41.0.
- Added a new utility function `cleanClipboard` to remove clipboard entries older than 10 days.
- Integrated clipboard cleanup into the initialization process, logging success or failure.
- Refactored drizzle exports to include `proxyDB` for better access to the database proxy.
- Minor cleanup in the proxy.ts file to remove commented-out debug logs.

* Refactor clipboard cleanup logic to use configurable days parameter

- Introduced a variable `nDays` to allow dynamic adjustment of the clipboard cleanup threshold.
- Updated logging to reflect the configurable number of days for clipboard entry deletion instead of a hardcoded value.

* Enhance clipboard and database management in initialization process

- Added logging to `cleanClipboard` to indicate the number of clipboard entries older than a specified number of days.
- Introduced a new utility function `vacuumSqlite` for database maintenance, which is now called during app initialization.
- Updated the `init` function to await the completion of `cleanClipboard` and `vacuumSqlite` for better error handling and flow control.
- Ensured that the console attachment in `onMount` is awaited for proper synchronization.

* Update version in package.json from 0.1.37-beta.1 to 0.1.37

* Adds C11 standard flag for builds

Try to fix windows build beta CI
Adds the C11 standard flag to the build environment. This ensures
that the code is compiled using the C11 standard, potentially
improving compatibility and avoiding compiler-specific behavior.

* Remove CFLAGS for C11 standard from beta build workflow

This change eliminates the CFLAGS environment variable previously set for C11 standard compliance in the beta build process, streamlining the build configuration.
2025-04-03 12:42:27 -04:00
2025-03-26 08:50:55 -04:00
2025-03-02 12:51:53 -05:00
2025-04-01 06:15:10 -04:00
2024-11-24 00:45:36 -05:00
2024-11-03 13:54:44 -05:00
2025-04-01 06:15:10 -04:00
2025-04-01 06:15:10 -04:00
2025-01-10 11:14:15 -05:00
2025-04-01 06:15:10 -04:00
2025-01-05 21:12:56 -05:00

kunkun

Warning

🚧 Work in Progress 🚧 This project is still in its early stages.

We know its not perfect yet. The author is pouring heart, soul, and a few sleepless nights into fixing the issues. Your patience means everything.

Got feedback or found a bug? Open an issue—it helps more than you know.

GitHub last commit YouTube badge

Demo Video and Instructions Download Platforms
  • MacOS
  • Linux
  • Windows
Extension Request
You can Submit Extension Request request in the Extension Requests discussion section to gauge interest in your request.
If there is significant demand, the extension may be considered for implementation.
Star History Chart

Sample Extensions

Kunkun Dance

Extension Store

Battery Health

IP Info

Image Format Conversion

List of Commands

Extension Details in Store (Permission Inspector)

Video Info

Video Conversion

3D Git Skyline

Key Displayer

JWT Inspector

Image Info

Hacker News

QRCode Generator

File Transfer

Disk Speed Test

Clipboard History

Stats

Alt

Performance Stats of kunkunsh/kunkun - Last 28 days Stars trends of kunkunsh Overview of Stars earned of kunkunsh
Languages
TypeScript 46.9%
Svelte 25.9%
Rust 23.7%
JavaScript 2%
CSS 0.8%
Other 0.7%