Refresh project README
This commit is contained in:
1 parent
cd1e6c119c
commit
32a8aa4753
1 file changed
+27
-19
@@ -1,38 +1,46 @@
|
|||||||
# ClipForge
|
# ClipForge
|
||||||
|
|
||||||
ClipForge is a Windows-first, local-first game clipping app scaffold inspired by tools like Medal and FTHR. It implements the durable core boundaries for a serious MVP: replay buffer logic, event-based auto clipping, game detection, local library storage, upload adapters, and a Tauri-ready desktop UI.
|
ClipForge is a Windows-first, local-first game clipping app inspired by tools like Medal and FTHR. It runs as a lightweight Tauri desktop app using the system WebView2, with Rust handling capture, replay clips, local storage, game events, hotkeys, and uploads.
|
||||||
|
|
||||||
## Current State
|
## Current State
|
||||||
|
|
||||||
- Rust core compiles and is unit tested.
|
- Rolling replay capture writes short MP4 segments and manual clips extract from those segments.
|
||||||
- Vite TypeScript UI builds.
|
- Full-session recording concatenates the session segments into a saved MP4.
|
||||||
- Tauri shell files are present under `src-tauri/`.
|
- Capture prefers FFmpeg Desktop Duplication (`ddagrab`) when available and falls back to `gdigrab`.
|
||||||
- Native Windows capture and Media Foundation encoding are represented by interfaces/stubs and are the next major implementation step.
|
- FFmpeg Media Foundation H.264 is used when available.
|
||||||
|
- FFmpeg is bundled as a Tauri sidecar for installer builds, so users do not need a separate FFmpeg install.
|
||||||
|
- SQLite stores the clip library; `settings.json` stores versioned local settings.
|
||||||
|
- Global hotkeys are registered while the app runs: `F8`, `Shift+F8`, and `Alt+F7`.
|
||||||
|
- League Live Client events and Valve GSI-style events feed the auto-clip pipeline.
|
||||||
|
- Catbox, Litterbox, and custom multipart HTTP upload adapters are implemented; the UI can choose providers.
|
||||||
|
- Native Windows Graphics Capture and native Rust WASAPI mixing are still future work.
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
Use direct local binaries if the global npm shim is broken:
|
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
.\node_modules\.bin\tsc.CMD --noEmit
|
pnpm install
|
||||||
.\node_modules\.bin\vite.CMD build ui
|
|
||||||
cargo test
|
|
||||||
cargo run
|
|
||||||
```
|
|
||||||
|
|
||||||
When npm is healthy, the package scripts are:
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
pnpm run dev
|
|
||||||
pnpm run build
|
pnpm run build
|
||||||
pnpm run tauri dev
|
cargo test
|
||||||
|
cargo check --manifest-path src-tauri\Cargo.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For the desktop app:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
pnpm run tauri dev
|
||||||
|
pnpm run desktop:build
|
||||||
|
```
|
||||||
|
|
||||||
|
`pnpm run desktop:build` prepares the FFmpeg sidecar, builds the frontend, builds the Tauri app, and produces MSI/NSIS installers under `src-tauri/target/release/bundle/`.
|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
See `docs/architecture.md` and `docs/product-spec.md`.
|
See `docs/architecture.md` and `docs/product-spec.md`.
|
||||||
|
|
||||||
## Desktop Installer
|
## Desktop Installer
|
||||||
|
|
||||||
Run pnpm run desktop:build to prepare FFmpeg, build the UI, build the Tauri app, and produce MSI/NSIS installers under src-tauri/target/release/bundle/.
|
The verified build outputs are:
|
||||||
|
|
||||||
|
- `src-tauri/target/release/bundle/msi/ClipForge_0.1.0_x64_en-US.msi`
|
||||||
|
- `src-tauri/target/release/bundle/nsis/ClipForge_0.1.0_x64-setup.exe`
|
||||||
|
|
||||||
Reference in new issue
Block a user