anshdadhich commited on
Commit
e306d7e
·
verified ·
1 Parent(s): 0184607

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -17
README.md CHANGED
@@ -1,26 +1,46 @@
1
- ---
2
- tags:
3
- - ml-intern
4
- ---
5
 
6
- # anshdadhich/finder-wpf
7
 
8
- <!-- ml-intern-provenance -->
9
- ## Generated by ML Intern
10
 
11
- This model repository was generated by [ML Intern](https://github.com/huggingface/ml-intern), an agent for machine learning research and development on the Hugging Face Hub.
 
 
12
 
13
- - Try ML Intern: https://smolagents-ml-intern.hf.space
14
- - Source code: https://github.com/huggingface/ml-intern
15
 
16
- ## Usage
 
 
 
17
 
18
- ```python
19
- from transformers import AutoModelForCausalLM, AutoTokenizer
20
 
21
- model_id = "anshdadhich/finder-wpf"
22
- tokenizer = AutoTokenizer.from_pretrained(model_id)
23
- model = AutoModelForCausalLM.from_pretrained(model_id)
24
  ```
25
 
26
- For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # FastSeek WPF
 
 
 
2
 
3
+ A Windows-only WPF port of the FastSeek instant file search tool.
4
 
5
+ ## Requirements
 
6
 
7
+ - Windows 10/11
8
+ - .NET 8 SDK or later
9
+ - Administrator privileges (required for NTFS MFT and USN journal access)
10
 
11
+ ## Build
 
12
 
13
+ ```powershell
14
+ cd FastSeekWpf
15
+ dotnet publish -c Release -r win-x64 --self-contained false
16
+ ```
17
 
18
+ Or just run from source:
 
19
 
20
+ ```powershell
21
+ cd FastSeekWpf
22
+ dotnet run
23
  ```
24
 
25
+ **Must run as Administrator.** Right-click Run as Administrator, or launch from an elevated PowerShell.
26
+
27
+ ## Usage
28
+
29
+ - **Alt+Space** — toggle the search window
30
+ - **Esc** — hide
31
+ - **Up/Down** — navigate results
32
+ - **Enter** — open selected file/folder
33
+ - **Ctrl+Enter** — open containing folder
34
+ - **Type** — search as you type (results update instantly)
35
+
36
+ ## Architecture
37
+
38
+ The app reads the NTFS Master File Table (MFT) directly via `FSCTL_ENUM_USN_DATA` / direct `$MFT` read, builds an in-memory index, and keeps it in sync via the USN Change Journal. Search is name-only with fuzzy matching and type-based ranking.
39
+
40
+ ## Known Issues / TODO
41
+
42
+ - [ ] The `SetWindowPos` + `AllowTransparency` combo doesn't give true rounded window corners on Windows 10 (use `DWMWA_WINDOW_CORNER_PREFERENCE` via P/Invoke for native DWM rounding)
43
+ - [ ] `FindWindowW` class name matching may fail if WPF doesn't register the class; use window title or `HwndSource.AddHook` for inter-process toggle
44
+ - [ ] The `ReadFile` P/Invoke for MFT direct read requires `FILE_FLAG_NO_BUFFERING` on some systems
45
+ - [ ] `PeekMessageW` in a hotkey thread should use `GetMessageW` for lower CPU usage
46
+ - [ ] Index store arena allocation during live updates (Insert/Remove) could be optimized with memory pooling instead of full reallocation