Erioifpuderio.hashnode.dev·Nov 14, 2024慎用 Tauri 读取文件TL;DR 一句话,要么升级 v2,要么吃屎 这篇文章真的是加急写出来的,因为 Tauri v1 的 readBinaryFile API 太蠢了,我受不了了。 问题 这个 API 会有内存泄漏的问题,而且 v1 版本是避免不了的,举个例子就是读取 400M 左右的文件,进程会吃 18G 左右,读取完成后再慢慢清理回来。 在做测试的过程中,我一开始是直接读文件,读一半因为这个问题,程序崩溃了两回,后面我调整了写法才避免了崩溃,但吃内存的问题还是无法解决。 我查了 issue 才发现,这个...DiscussTauri
Kistkist.hashnode.dev·Nov 10, 2024Best Electron Alternatives for Desktop DevelopmentIf Electron feels too heavy or problematic, alternatives like NW.js, Neutralino.js, Tauri, or even a lightweight Python or C# solution might suit your needs. Here’s a breakdown of these options: NW.js Advantages: Similar to Electron but with a light...DiscussNW.js
Erioifpuderio.hashnode.dev·Oct 25, 2024Tauri v1 fs 访问任意文件的 bug在 Tauri 开发中,前端的 native 操作主要有两种实现方式: 一是直接通过 JS API,使用 Tauri 自己封装的那些方法 二是自己在 Rust 核心层进行开发,再通过 JS API 去 invoke 相关函数 第一种方式比较方便,但需要在 Tauri 配置文件中开放相关权限,作用域的和API 操作的(一方面是安全,另一方面可能是为了多平台运行考虑),比如: { "tauri": { "allowlist": { "fs": { "s...DiscussRust
Cyprien AVICOforRust & Liftrust-lift.hashnode.dev·Oct 13, 2024Rust & Lift : Développer une Application de Musculation avec Rust et TauriBienvenue sur Rust & Lift, mon blog dédié à la fusion entre développement logiciel et musculation ! Je m'appelle Cyprien, et à travers ce blog, je vais partager mon parcours de création d'une application de musculation en utilisant des technologies m...Discussmusculation
CrabNebulaforCrabNebulacrabnebula.hashnode.dev·Oct 10, 2024Interview with Prabhu Kiran Konda, Creator of Snail AI!Welcome to the last episode of our series “Building with Tauri”. Today, we’re discussing with Prabhu Kiran Konda about snail-ai, a ChatGPT-like app for Windows and macOS using Tauri, Svelte Kit and Shadcn-svelte. It supports Ollama, OpenAI, and Groq ...Discuss·7 likesRust
CrabNebulaforCrabNebulacrabnebula.hashnode.dev·Oct 7, 2024Interview with Klauss Andrei, Creator of FocusPocus!Welcome to the seventh episode of our series “Building with Tauri”. Today, we’re discussing with Klauss Andrei about FocusPocus, a floating sticky notes and todos app built with Tauri. Klauss is a software developer with a solid background in start-u...DiscussRust
Ranjit singhkernal.hashnode.dev·Sep 30, 2024How Rust Can Significantly Lower Cloud Costs on AWS, GCP, and AzureAs cloud computing continues to dominate the landscape of modern software deployment, developers and organizations are keenly focused on reducing cloud expenses while maintaining optimal performance. For many, the programming language chosen to build...DiscussRust
CrabNebulaforCrabNebulacrabnebula.hashnode.dev·Sep 26, 2024Interview with Eson (Seven), Creator of DocKit!Welcome to the sixth episode of our series “Building with Tauri”. Today, we’re discussing with Eson (Seven) about DocKit, an open-source desktop GUI client for Elasticsearch and OpenSearch across Mac, Windows and Linux Eson is a software developer pa...Discuss·5 likesTauri
CrabNebulaforCrabNebulacrabnebula.hashnode.dev·Sep 19, 2024Interview with Hussein Hareb, Creator of Ηw-monitor!Welcome to the fifth episode of our series “Building with Tauri”. Today, we’re discussing with Hussein Hareb about hw-monitor, a Linux desktop application designed to monitor various aspects of a computer’s hardware. Hussein is a software engineer an...Discuss·13 likesTauri
Zachary Sturmanzacharysturman.hashnode.dev·Sep 15, 2024How’s My Eating? - Part 3Introduction In my last post, I shared how I built a labeling interface using Rust and React to support the development of “How’s My Eating?”—an app designed to help people slow down their eating habits using kinetic data from Apple AirPods. Since th...Discuss·50 readsReact