Skip to content

Campus archive repository with Digital Paper aesthetic, deep search capabilities, and automated document extraction

Notifications You must be signed in to change notification settings

arthiccc/arc-doc

Repository files navigation

ARC-DOC | Campus Archive Repository

Ruby on Rails Tailwind CSS

A sophisticated document management system designed for institutional memory, featuring a "Digital Paper" aesthetic and a deep-extraction search engine.

[ 60-Second Technical Demo ]

Deep search and text extraction in action.

🚀 Technical Highlights

  • 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 pdftotext via 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.

🛠 Tech Stack

  • 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)

⚙️ Setup & Installation

# 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/dev

🧪 Running Tests

The project includes a robust suite of controller and policy tests.

bin/rails test

Created by arthiccc — Jan 2026

Releases

No releases published

Packages

No packages published