frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: CrabCamera – Cross-platform camera plugin for Tauri desktop apps

https://crates.io/crates/crabcamera
1•MKuykendall•3h ago
After building several Tauri desktop apps, I kept hitting the same wall: there's no reliable way to access cameras across Windows, macOS, and Linux. Every project meant reinventing camera integration, dealing with platform-specific APIs, and debugging permission issues.

  So I built CrabCamera – a Tauri plugin that handles all the camera complexity for you.

  What it does:

  - One API, three platforms: Same Rust code works on Windows (DirectShow), macOS (AVFoundation), and Linux (V4L2)
  - Permission handling: Automatically requests camera permissions on each platform
  - Format conversion: Takes care of the messy bits between platform formats and what your app needs
  - Error handling: Proper Rust error types instead of mysterious crashes
  - Hot-plugging: Detects when cameras are connected/disconnected

  The problem it solves:

  Before CrabCamera, adding camera support to a Tauri app meant:
  1. Writing separate native code for each platform
  2. Managing three different permission systems
  3. Handling format conversions manually
  4. Debugging platform-specific edge cases
  5. Maintaining it all as OS APIs change

  Now it's just:
  use crabcamera::Camera;

  let camera = Camera::new()?;
  let frame = camera.capture_frame().await?;

  Why I built it:

  I was working on a plant monitoring app (botanica) that needed reliable camera access for time-lapse photography. Existing solutions were either abandoned, platform-specific, or required complex native
  bindings.

  The Tauri ecosystem is growing fast, but camera support was this obvious gap. Every desktop app eventually needs camera access – video calls, document scanning, AR features, security monitoring.

  Technical highlights:

  - Uses nokhwa for the heavy lifting but wraps it in Tauri-friendly APIs
  - Proper async/await support throughout
  - Memory-efficient streaming for video capture
  - Built-in image processing pipeline
  - Extensible plugin architecture

  What's next:

  - WebRTC integration for video calls
  - Built-in barcode/QR code scanning
  - Face detection hooks
  - Performance optimizations for 4K streams

  The crate is MIT licensed and available on crates.io. I'd love feedback from other Tauri developers who've wrestled with camera integration.

  Links:
  - Crates.io: https://crates.io/crates/crabcamera
  - GitHub: https://github.com/Michael-A-Kuykendall/crabcamera
  - Documentation: https://docs.rs/crabcamera

Flat-panel laser displays through large-scale photonic integrated circuits

https://www.nature.com/articles/s41586-025-09107-7
1•PaulHoule•17s ago•0 comments

The CoPilot Productivity Paradox

https://www.marginalia.nu/log/a_125_ai_assistants/
1•Improvement•2m ago•0 comments

New trend: extreme hours at AI startups

https://blog.pragmaticengineer.com/new-trend-extreme-hours-at-ai-startups/
1•amazonhut•2m ago•0 comments

Cassette Logic: Technology That Never Dies but Is Already Dead

https://www.differentshelf.com/cassette-logic/
1•seductivebarry•2m ago•1 comments

Nominees: The fastest legal way to lose your company

https://johnnydoe.is/threads/nominees-the-fastest-legal-way-to-lose-your-company.42278/
1•ceo-eu•4m ago•1 comments

Difdef: Utility to do an N-way diff and N-way merge, for N>2

https://github.com/Quuxplusone/difdef
1•Bogdanp•5m ago•0 comments

Where Is the Shovelware?

https://substack.com/home/post/p-172538377
1•besil•8m ago•0 comments

Second known tanker carrying sanctioned Russian Arctic LNG berths in China

https://www.reuters.com/world/china/second-known-tanker-carrying-sanctioned-russian-arctic-lng-be...
1•keepamovin•16m ago•0 comments

Show HN: This trick short-circuited my anxiety

1•chetansorted•16m ago•0 comments

KDE Linux Enters Alpha as Reference Linux Distribution for the KDE Desktop

https://www.phoronix.com/news/KDE-Linux-Alpha
2•fork-bomber•17m ago•0 comments

Show HN: I built a modern iGoogle-like new tab extension

https://newtabwidgets.com
1•ctrlt•22m ago•0 comments

Teen gamer who 'performed miracles' set to become first millennial saint

https://www.bbc.com/news/articles/c5yg5me8dvlo
2•defrost•24m ago•1 comments

GitHub introduces Spark, Agentic Copilot built and hosted at GitHub

https://github.com/features/spark
1•NaomiLehman•26m ago•0 comments

As Xi and Putin chase immortality, let's talk about digital presidents-for-life

https://www.theregister.com/2025/09/07/immortal_digital_dictators/
1•YeGoblynQueenne•26m ago•0 comments

Ask HN: Do companies use SAFe to prepare for offshoring?

1•unknownsky•35m ago•0 comments

The Design of the Apple AirPod – Nebula

https://nebula.tv/videos/realengineering-the-hidden-design-of-the-apple-airpod/
1•9woc•36m ago•0 comments

Jeremy Corbyn predicted Labour's Palestine Action ban decades ago [video]

https://www.youtube.com/watch?v=BQ7zdnZSxoQ
1•vfclists•37m ago•0 comments

Can a regex match valid card numbers?

https://abstractnonsense.xyz/blog/2025-08-31-can-a-regex-match-valid-card-numbers/
1•subset•37m ago•1 comments

Evolution of the ELF object file format

https://maskray.me/blog/2024-05-26-evolution-of-elf-object-file-format
1•fanf2•41m ago•0 comments

Tempo Launch Announcement: The Blockchain Designed for Payments

https://tempo.xyz/launch-announcement
1•lsferreira42•42m ago•0 comments

Memory Safety in ProcASM

https://temware.site/html/blogs/procasm_memory_safety.html
1•Temdog007•45m ago•0 comments

Samhenrigold/LidAngleSensor: MacBook Screen Angle Sensor Reader

https://github.com/samhenrigold/LidAngleSensor
1•rcarmo•45m ago•1 comments

Visualizing the Vocabulary of an LLM

https://alessiodevoto.github.io/LLM-Embedding-Space/
1•vinhnx•46m ago•0 comments

Burger King security issues DMCA-ed and taken down

https://infosec.exchange/@bobdahacker/115158347003096276
1•vintagedave•47m ago•1 comments

2025 AI Darwin Award Nominees – Worst AI Failures of the Year

https://aidarwinawards.org/nominees-2025.html
1•rcarmo•47m ago•0 comments

GPT-5 Thinking in ChatGPT (a.k.a. Research Goblin) is shockingly good at search

https://simonwillison.net/2025/Sep/6/research-goblin/
3•thunderbong•51m ago•0 comments

I hacked India's GST portal–11.8M taxpayers exposed; enabling stock manipulation

https://aseem-shrey.medium.com/manipulating-indias-stock-market-the-gst-portal-data-leak-b5437c81...
3•LuD1161•52m ago•1 comments

Things you can do with a debugger but not with print debugging

https://mahesh-hegde.github.io/posts/what_debugger_can/
1•never_inline•1h ago•0 comments

ECJ strengthens data protection: Pseudonymization alone is not always enough

https://www.heise.de/en/news/ECJ-strengthens-data-protection-Pseudonymization-alone-is-not-always...
2•moritzruth•1h ago•0 comments

From quantum foundations via natural language meaning to a theory of everything

https://arxiv.org/abs/1602.07618
1•hackandthink•1h ago•0 comments