start on README

This commit is contained in:
Jason Ly 2025-12-28 13:47:18 -05:00
parent 18ab04fef7
commit 9ad4f576f8

View File

@ -1,46 +1,37 @@
# joomer-ftxui-file-browser # joomer-efsw-file-monitoring
Terminal User Interface for file browsing using ftxui Watch folder for images and flip them
# Demonstrates # Demonstrates
- file navigation - file monitoring
# Usage # Usage
``` ```
joomer-ftxui-file-browser [path] joomer-ftxui-file-monitoring [path]
- use arrow keys or mouse to navigate directories - use arrow keys or mouse to navigate directories
- alternatively you can press the numbers on your keyboard to select directories - alternatively you can press the numbers on your keyboard to select directories
``` ```
[todo] [todo]
- create windows version
- add numbers to select
- display file size
- indicate its a folder in some way
# Build # Build
``` ```
learndir/ learndir/
└── FTXUI/ └── joomer-ftxui-file-monitoring/
└── joomer-ftxui-file-browser/
└── vcpkg/
``` ```
- Download and Install Premake
## Ubuntu Linux (kasm-ubuntu) ## Ubuntu Linux (kasm-ubuntu)
``` ```
mkdir learndir mkdir learndir
cd learndir cd learndir
git clone https://github.com/ArthurSonzogni/FTXUI git clone https://git.indoodle.com/jason/joomer-efsw-file-monitoring.git
cd FTXUI
mkdir build
cd build
cmake ..
cmake --build . --config Release
cd ..
git clone https://git.indoodle.com/jason/joomer-ftxui-file-browser.git
cd joomer-ftxui-file-browser cd joomer-ftxui-file-browser
make all make all
bin/Linux/release/joomer-ftxui-file-browser bin/Linux/release/joomer-ftxui-file-monitoring
``` ```
## Windows (win10 enterprise) ## Windows (win10 enterprise)
@ -48,20 +39,15 @@ bin/Linux/release/joomer-ftxui-file-browser
- Run VisualStudioSetup.exe - Run VisualStudioSetup.exe
- Workload = [x] Desktop developemnt with C++ - Workload = [x] Desktop developemnt with C++
- Individial components = [x] Git For Windows - Individial components = [x] Git For Windows
- cmake
Run **x64 Native Tools Command Prompt for VS 2022** Run **x64 Native Tools Command Prompt for VS 2022**
``` ```
mkdir learndir mkdir learndir
cd learndir cd learndir
git clone https://github.com/microsoft/vcpkg git clone https://git.indoodle.com/jason/joomer-ftxui-file-monitoring.git
cd vcpkg cd joomer-ftxui-file-monitoring
vcpkg install ftxui:x64-windows --triplet x64-windows msbuild joomer-ftxui-file-monitoring.vcxproj /t:Build /p:Configuration=Debug /p:Platform=x64
cd .. bin\Debug\joomer-ftxui-file-monitoring.exe
git clone https://git.indoodle.com/jason/joomer-ftxui-file-browser.git
cd joomer-ftxui-file-browser
msbuild joomer-ftxui-file-browser.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64
bin\Debug\joomer-ftxui-file-browser.exe
``` ```