A sophisticated document management system designed for institutional memory, featuring a "Digital Paper" aesthetic and a deep-extraction search engine.
Deep search and text extraction in action.
- Digital Paper UI/UX: Architected a refined academic aesthetic using Tailwind CSS v4 and Playfair Display typography, focusing on high-contrast readability and "paper-like" tactile feedback.
- Deep Search Engine: Engineered a specialized ActiveRecord scope that parses natural language date fragments (e.g., "Jan", "2026") and performs cross-table joins for metadata discovery.
- Automated Content Extraction: Integrated
pdftotextvia Active Storage lifecycle hooks to automatically extract, store, and index searchable text from PDF and TXT uploads. - Relational Data Logic: Implemented complex sorting systems handling cross-table data, including sorting by department/category relationships and actual file blob sizes.
- Security & Authorization: Fine-grained access control implemented via Pundit, ensuring staff can only manage documents within their assigned departments.
- Framework: Ruby on Rails 8.1
- Styling: Tailwind CSS 4.0
- Database: SQLite (Development/Test)
- Authentication: Devise (Custom Styled)
- Authorization: Pundit
- File Storage: Active Storage
- Testing: Minitest (Integration & Policy coverage)
# Clone the repository
git clone https://github.com/arthiccc/arc-doc.git
cd arc-doc
# Install dependencies
bundle install
# Setup database and seed 100 realistic documents
bin/rails db:setup
bin/rails db:seed
# Start development server (Rails + Tailwind Watcher)
./bin/devThe project includes a robust suite of controller and policy tests.
bin/rails testCreated by arthiccc — Jan 2026