Skip to content
AanluPublic

About

Lightweight, modular terminal file explorer written in C, with a platform-agnostic core and zero external dependencies.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EFOR (File Explorer)

License Language Last Commit

🚀 Status: Interactive Alpha phase. The core architecture is defined, and the basic TUI (Text User Interface) rendering engine is functional. Directory reading and UI navigation via the Windows backend are operational.

A lightweight, modular terminal file explorer written in C. Designed with a strict focus on system architecture, platform abstraction, and memory safety, avoiding external library dependencies.

Core Architecture

  • Platform-Agnostic Core: Decoupled application logic and event handling from OS-specific file system APIs (POSIX/Win32) via abstract interfaces.
  • Centralized State Management: Strict runtime controls for configuration, themes, and UI events via app_controller and app_state.
  • Custom Parsers (WIP): Memory-safe, hand-written text parsers for initialization (.init) and configuration (.cfg) files.
  • Low-Latency Event Engine: Input capture loop with controlled screen clearing to prevent terminal flickering and input lag.

Project Structure

include/          # Public API and component interfaces (.h)
├── core/         # State management, lifecycle, and main controller
├── parsers/      # Text parsing definitions
└── platform/     # OS abstraction layers (Input & File System)
src/              # Implementation details (.c)
├── core/         # Internal logic and event delegation
├── parsers/      # Configuration parsing algorithms
├── platform/     # Native implementations (Currently Win32 WinAPI)
└── main.c        # Application entry point and initializer
config/           # User configuration profiles and localization data

Build Instructions

Requirements:

  • CMake (3.10+)
  • C Compiler (MSVC for the current Windows environment, extensible to GCC/Clang)

Build Commands (Terminal):

  1. Configure the build directory:
    cmake -B build
  2. Build the project:
    cmake --build build
  3. Run the application (Windows):
    .\build\Debug\efor.exe
    (Note: The exact path to the executable may vary depending on your local CMake generator).

Contributing

This project is in an early stage. See CONTRIBUTING.md for details on the current state and how to get involved once the architecture stabilizes.

License

This project is licensed under the MIT License.

About

Lightweight, modular terminal file explorer written in C, with a platform-agnostic core and zero external dependencies.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages