This document provides an overview of the Neonote project structure and key components.
neonote/
├── assets/
│ ├── ai_model/ # AI model files (place Qwen2-VL-2B-Instruct-Q4_K_M.gguf here)
│ ├── fonts/ # Font files
│ └── images/ # Image assets
├── docs/
│ └── windows_integration_guide.md # Guide for Windows integration
└── lib/
├── ai/ # AI-related interfaces and utilities
├── customization/ # Theme and customization options
├── design/ # Design system components
├── ffi/ # Foreign Function Interface for llama.cpp
├── graph/ # Graph view implementation
├── md/ # Markdown parsing and rendering
├── models/ # Data models
├── platform/ # Platform-specific configurations
├── screens/ # App screens
├── services/ # Core services
├── utils/ # Utility functions and helpers
├── widgets/ # Reusable UI components
└── main.dart # App entry point
lib/ffi/llama_bindings.dart: FFI bindings for llama.cpplib/services/ai_service.dart: AI service implementationlib/ai/llm_interface.dart: Interface for language model interactions
lib/models/: Data models for pages, blocks, and workspaceslib/services/storage_service.dart: Database and file storagelib/md/markdown_parser.dart: Markdown import/export
lib/screens/: Main application screenslib/widgets/: Reusable UI componentslib/graph/graph_view.dart: Graph visualization
lib/platform/windows_config.dart: Windows-specific configurationlib/utils/file_picker_helper.dart: Cross-platform file picking
- Place the AI model file in
assets/ai_model/ - Run
flutter pub getto install dependencies - Follow the Windows integration guide in
docs/