learner
A Rust-powered academic research management system
Features
-
Paper Metadata Management
- Support for arXiv, IACR, and DOI sources
- Automatic source detection from URLs or identifiers
- Full metadata extraction including authors and abstracts
-
Local Database
- SQLite-based storage with full-text search
- Configurable document storage
- Platform-specific defaults
-
CLI Tool (
learnerd
)- Paper addition and retrieval
- Search functionality
- Document management
- Daemon support for background operations
Installation
Library
[]
= { = "*" } # Uses latest version
CLI Tool
which will install a binary you can reference with the command learner
.
Usage
Library Usage
use ;
async
CLI Usage
# Initialize database
# Add papers
# Manage documents
Daemon Management
learnerd
can run as a background service for paper monitoring and updates.
System Service
# Install and start
# Remove
Logs
- Linux: /var/log/learnerd/
- macOS: /Library/Logs/learnerd/
Files: learnerd.log
(main, rotated daily), stdout.log
, stderr.log
Troubleshooting
- Permission Errors: Check ownership of log directories
- Won't Start: Check system logs and remove stale PID file if present
- Installation: Run commands as root/sudo
Project Structure
-
learner
- Core library- Paper metadata extraction and management
- Database operations and search
- PDF handling and source-specific clients
- Error handling and type safety
-
learnerd
- CLI application- Paper and document management interface
- System daemon capabilities
- Logging and diagnostics
Roadmap
Core Features
- PDF management
- Content extraction
- Paper removal
- Batch operations
- Export functionality
- Enhanced search
- Custom metadata
Advanced Features
- LLM integration
- Version control and annotations
- Paper discovery
- Citation analysis
Contributing
Contributions welcome! Please open an issue before making major changes.
CI Workflow
Our automated pipeline ensures:
-
Code Quality
- rustfmt and taplo for consistent formatting
- clippy for Rust best practices
- cargo-udeps for dependency management
- cargo-semver-checks for API compatibility
-
Testing
- Full test suite across workspace and platforms
All checks must pass before merging pull requests.
Development
This project uses just as a command runner.
# Setup
# Common commands
[!TIP] Running
just setup
andjust ci
locally is a quick way to get up to speed and see that the repo is working on your system!
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- arXiv API for paper metadata
- IACR for cryptography papers
- CrossRef for DOI resolution
- SQLite for local database support
NOTES:
# General search
learner search "quantum computing"
# Detailed output
learner search "quantum" --detailed
# Author search
learner search "quantum" --author "Feynman"
# Source filter
learner search "quantum" --source arxiv
# Date filter
learner search "quantum" --before 2023-01-01
# Scope limitation
learner search "quantum" --title-only