fix readme, demo

This commit is contained in:
oleg 2026-04-10 13:30:51 +03:00
parent 6c3557c71d
commit b7cb570409
3 changed files with 12 additions and 13 deletions

View File

@ -136,15 +136,5 @@ target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
${clipp_SOURCE_DIR}/include
)
target_link_directories(${CMAKE_PROJECT_NAME}
PRIVATE
${ftxui_BINARY_DIR}
${tpl_BINARY_DIR}
${xlnt_BINARY_DIR}
${fmt_BINARY_DIR}
${json_BINARY_DIR}
#{sqlite_modern_BINARY_DIR}
)
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE ftxui-component ftxui-screen ftxui-dom tiny-process-library xlnt sqlite3 spdlog::spdlog systemd z ${Boost_LIBRARIES})
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE ftxui::component ftxui::screen ftxui::dom tiny-process-library xlnt sqlite3 spdlog::spdlog systemd z ${Boost_LIBRARIES})
# target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC sqlite3 ${Boost_LIBRARIES})

View File

@ -2,7 +2,7 @@
CAN bus sniffer and SAE J1939 protocol analyzer. Reads CAN frames from an external process (e.g. `candump`), decodes them using a J1939 Digital Annex (xlsx), and presents results in an interactive terminal UI or as JSON output.
[![asciicast](https://asciinema.org/a/uliPOLa1MtVvnjvL.svg)](https://asciinema.org/a/uliPOLa1MtVvnjvL)
![demo](canscope-demo.gif)
## Features
@ -21,7 +21,16 @@ CAN bus sniffer and SAE J1939 protocol analyzer. Reads CAN frames from an extern
- CMake >= 3.13
- System libraries: boost (signals2, spirit, phoenix), sqlite3, systemd, zlib
The rest of the dependencies are fetched automatically via CMake FetchContent (FTXUI, tiny-process-library, sqlite_modern_cpp, xlnt, fmt, nlohmann/json, spdlog).
The rest of the dependencies are fetched automatically via CMake FetchContent:
- [FTXUI](https://github.com/ArthurSonzogni/FTXUI) -- terminal UI framework
- [tiny-process-library](https://gitlab.com/eidheim/tiny-process-library) -- subprocess management
- [sqlite_modern_cpp](https://github.com/SqliteModernCpp/sqlite_modern_cpp) -- modern C++ SQLite wrapper
- [xlnt](https://github.com/xlnt-community/xlnt) -- xlsx reading
- [fmt](https://github.com/fmtlib/fmt) -- text formatting
- [nlohmann/json](https://github.com/nlohmann/json) -- JSON library
- [spdlog](https://github.com/gabime/spdlog) -- logging
- [clipp](https://github.com/muellan/clipp) -- CLI argument parsing
```bash
cmake -B build -S . && cmake --build build -j$(nproc)

BIN
canscope-demo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB