Huakun bb9a46935c
Feature: add drizzle (#264)
* feat: add drizzle orm

* feat: update drizzle configuration and schema management

- Added a check for DB_FILE_NAME in drizzle.config.ts to ensure it's set.
- Updated package.json to change the package name to @kksh/drizzle and added exports for schema and relations.
- Enhanced README.md with instructions for using the schema generation.
- Refactored schema.ts for improved readability and organization of imports.

* add tauri-plugin-sql

* feat: add database select and execute commands

- Introduced `select` and `execute` functions in the database module to facilitate querying and executing SQL commands.
- Updated the Tauri plugin to expose these commands, allowing for database interactions from the frontend.
- Added corresponding permissions for the new commands in the permissions configuration.
- Enhanced the database library with JSON value handling for query parameters.

* fix: sqlite select command

* drizzle ORM verified working

* refactor: clean up database module by removing unused SelectQueryResult type and disabling eslint for explicit any usage

* pnpm lock update

* Update enum definition for type safety

- Changed enum to use 'as const' for better type inference
- Ensured more robust handling of extension publish sources

* reimplemented most db command functions with ORM (migrate from tauri command invoke

* fixed searchExtensionData orm function

* Refactor ORM commands and searchExtensionData function for improved readability and consistency

- Reformatted import statements for better organization.
- Cleaned up whitespace and indentation in searchExtensionData function.
- Enhanced readability of SQL conditions and query building logic.
- Disabled eslint for explicit any usage in the troubleshooters page.

* Fix test assertions in database module to use array indexing for results

format rust code

* update deno lock

* move drizzle from desktop to drizzle package

* update pnpm version and lock

* refactor: migrate db tauri commands to drizzle

* refactor: remove unused extension and command CRUD operations from db module
2025-04-01 06:15:10 -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
2025-04-01 06:15:10 -04: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-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.8%
Svelte 26%
Rust 23.7%
JavaScript 2%
CSS 0.8%
Other 0.7%