Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
clippy bits
Richie McIlroy2f7504349867
diff --git a/apps/desktop/src/routes/(window-chrome)/settings/screenshots.tsx b/apps/desktop/src/routes/(window-chrome)/settings/screenshots.tsxindex 880df5e86..cb788f88e 100644--- a/apps/desktop/src/routes/(window-chrome)/settings/screenshots.tsx+++ b/apps/desktop/src/routes/(window-chrome)/settings/screenshots.tsx@@ -1,8 +1,9 @@import { createQuery } from "@tanstack/solid-query";import { convertFileSrc } from "@tauri-apps/api/core";import { createSignal, For, Show } from "solid-js";-import { commands, events } from "~/utils/tauri";+import IconLucideEye from "~icons/lucide/eye";+import IconLucideFolder from "~icons/lucide/folder";type MediaEntry = {path: string;diff --git a/apps/desktop/src/routes/(window-chrome)/setup.tsx b/apps/desktop/src/routes/(window-chrome)/setup.tsxindex e13737eb9..1b8fd5449 100644--- a/apps/desktop/src/routes/(window-chrome)/setup.tsx+++ b/apps/desktop/src/routes/(window-chrome)/setup.tsx@@ -21,6 +21,7 @@ import {type OSPermission,type OSPermissionStatus,} from "~/utils/tauri";+import IconLucideVolumeX from "~icons/lucide/volume-x";function isPermitted(status?: OSPermissionStatus): boolean {return status === "granted" || status === "notNeeded";diff --git a/apps/desktop/src/routes/capture-area.tsx b/apps/desktop/src/routes/capture-area.tsxindex 43037488d..280ad95e2 100644--- a/apps/desktop/src/routes/capture-area.tsx+++ b/apps/desktop/src/routes/capture-area.tsx@@ -23,6 +23,7 @@ import SelectionHint from "~/components/selection-hint";import { createOptionsQuery } from "~/utils/queries";import type { DisplayId } from "~/utils/tauri";import { emitTo } from "~/utils/tauriSpectaHack";+import IconLucideExpand from "~icons/lucide/expand";const MIN_SIZE = { width: 150, height: 150 };diff --git a/apps/desktop/src/routes/recordings-overlay.tsx b/apps/desktop/src/routes/recordings-overlay.tsxindex fd2048865..32a905c4a 100644--- a/apps/desktop/src/routes/recordings-overlay.tsx+++ b/apps/desktop/src/routes/recordings-overlay.tsx@@ -33,7 +33,10 @@ import {type UploadProgress,type UploadResult,} from "~/utils/tauri";+import IconCapEditor from "~icons/cap/editor";+import IconCapUpload from "~icons/cap/upload";import IconLucideClock from "~icons/lucide/clock";+import IconLucideEye from "~icons/lucide/eye";import { FPS, OUTPUT_SIZE } from "./editor/context";type MediaEntry = {diff --git a/crates/recording/examples/recording-cli.rs b/crates/recording/examples/recording-cli.rsindex e2a9343b5..fa122661c 100644--- a/crates/recording/examples/recording-cli.rs+++ b/crates/recording/examples/recording-cli.rs@@ -1,7 +1,6 @@-use cap_recording::{feeds::*, screen_capture::ScreenCaptureTarget, *};-use kameo::Actor as _;+use cap_recording::{screen_capture::ScreenCaptureTarget, *};use scap_targets::Display;-use std::{sync::Arc, time::Duration};+use std::time::Duration;use tracing::*;#[tokio::main]diff --git a/crates/recording/src/sources/camera.rs b/crates/recording/src/sources/camera.rsindex 30ba67392..42c305f5f 100644--- a/crates/recording/src/sources/camera.rs+++ b/crates/recording/src/sources/camera.rs@@ -34,7 +34,7 @@ impl VideoSource for Camera {async fn setup(feed_lock: Self::Config,- mut video_tx: mpsc::Sender<Self::Frame>,+ video_tx: mpsc::Sender<Self::Frame>,_: &mut SetupCtx,) -> anyhow::Result<Self>where