How We Transformed CNRS Graphoskop into a Scalable, Browser-Based Web Application

Transforming a fragmented, legacy desktop plugin into a modern, highly scalable academic research platform capable of processing hundreds of manuscript images natively in the browser.

Project Overview

Product
Graphoskop Web Platform
Industry
Academic Research
Services Provided

Technologies

React
Tailwind CSS
shadcn/ui
Docker
HTML Canvas
Nginx

Summary

IRHT – Institut de recherche et d’histoire des textes needed to modernize Graphoskop, a legacy Java plugin originally built as an extension of ImageJ for analyzing medieval manuscript images. What began as a fragile, desktop-bound tool used for manual geometric and text measurements has now evolved into a robust web application. Integrated seamlessly into the ARCA MSS visualization platform, the modernized Graphoskop allows distributed research teams to seamlessly analyze up to 200 manuscript images per session directly from their web browsers.

The Challenge

The legacy Graphoskop plugin was highly functional but operationally fragmented. Researchers relied on it to measure critical historical metrics such as line spacing, margins, letter angles, and writing surface density. However, utilizing the tool created major technical bottlenecks. 

To conduct an analysis, researchers were forced to:

  1. Install complex Java dependencies manually.
  2. Configure local ImageJ and OpenOffice environments.
  3. Upload and manage large manuscript images locally.
  4. Perform measurements entirely by hand.
  5. Manually export all results into offline spreadsheets.

This localized, fragmented workflow resulted in severe pain points:

  • Operational Inefficiency: Researchers spent more time setting up IT environments than conducting actual scientific analysis.
  • Scalability Limitations: The plugin frequently crashed and was not built to handle large image batches (up to 200 images per session).
  • Accessibility Constraints: As a desktop-bound tool, it was incredibly difficult for distributed, non-technical academic teams to collaborate.
  • Maintainability Risks: Developed by a former student, the original codebase lacked documentation and long-term architectural scalability.

The legacy Graphoskop plugin was functional but highly fragmented. Researchers spent significant time setting up tools instead of conducting analysis. Desktop interactions didn’t translate well to distributed academic teams, and the tool simply wasn't built for handling large image batches.

The Objectives

To eliminate these barriers, we targeted four primary goals:

  1. Modernize Legacy Software: Convert the outdated Java/ImageJ desktop plugin into a seamless browser-based application.
  2. Improve Accessibility: Remove the need for local installations so researchers can universally access the platform.
  3. Maintain Scientific Accuracy: Ensure all measurement logic, algorithms, and statistical outputs remain precisely faithful to legacy benchmarks.
  4. Improve Scalability: Build an architecture capable of supporting batch processing natively within the browser.

The Solution: A 3-Phase Transformation

CNRS Solution

We approached the modernization systematically to ensure scientific precision, eliminate risks, and drastically improve usability.

Phase 1: Product Discovery & Scope Definition

With no formal specifications available for the legacy code, our initial focus was deep discovery to prevent scope creep.

  • Activities: We audited the legacy Java plugin, reverse-engineered its hidden workflows, mathematically mapped its measurement capabilities, and conducted requirement workshops with CNRS researchers.
  • Deliverables: We produced a comprehensive functional specification document, a prioritized feature roadmap, budget estimation, and sprint planning structures to remove all ambiguity before development began.

Phase 2: Web Product Development

We wholly translated clunky legacy desktop interactions into fluid, browser-native functionalities:

  • Image Upload System: Engineered to handle bulk uploads and massive, high-resolution manuscript image files without crashing.
  • Calibration Tool: Developed a precise feature allowing researchers to calibrate the image scale based on real-world manuscript dimensions.
  • 10 Specialized Measurement Tools: Successfully replicated and modernized legacy capabilities, including line spacing, margin measurement, word spacing, writing angle, surface density, generic measurements, curvature calculations, and automated statistical analysis.

Phase 3: Modern Architecture Implementation

To guarantee high performance and future scalability, we implemented a robust modern technology stack:

  • Frontend Ecosystem: Built with React 19, TypeScript, Vite, Tailwind CSS, and shadcn/ui.
  • State Management: React Context API for streamlined cross-component data handling.
  • Image Rendering: Deployed HTML Canvas integration to overcome browser lag, drastically improving rendering speed for large image batches.
  • Infrastructure & Export: Set up a secure deployment architecture via Docker and Nginx, integrated with automated Excel export support to eliminate manual spreadsheet data entry.

Overcoming Key Challenges

  • Legacy Code Understanding: Because the original plugin lacked documentation, we meticulously reverse-engineered the workflows, mapped out the measurement logic, and created robust internal documentation from scratch.
  • Preserving Scientific Accuracy: Minor algorithmic deviations could invalidate real-world historical research. We carefully rebuilt the algorithms, conducted repeated validation tests, and compared outputs directly against the legacy plugin to ensure 100% precision.
  • Large Image Processing: Rendering hundreds of high-res images natively in a browser typically causes severe lag. By optimizing frontend rendering logic and leveraging HTML Canvas, we successfully achieved smooth batch processing.
  • Web UX Modernization: We redesigned complex desktop user interactions into intuitive web workflows, making onboarding radically easier for non-technical researchers.

Impact & Results

The Graphoskop web transformation successfully balanced accuracy, scalability, and usability, vastly improving the day-to-day workflow for academic researchers.

Metrics of Success:

  • User Onboarding Time:
    ↓ 80% reduction (frictionless, zero-setup onboarding)
  • Average Processing Time:
    ↓ 50% faster turnaround due to automated exports and streamlined workflows
  • Measurement Accuracy:
    ≥ 100% match to legacy benchmarks
  • Export Completion Rate:
    > 95%
  • Platform Uptime:
    > 99%
  • Adoption Rate:
    Consistent Month-over-Month (MoM) growth across CNRS teams.

Key Learnings

  1. Discovery Matters Most in Legacy Modernization: Skipping the discovery phase would have triggered major scope risks given the lack of documentation.
  2. Precision Over Speed: Academic software requires rigorous validation—speed to market is secondary to scientific accuracy.
  3. UX is a Major Value Driver: The biggest transformation wasn’t merely technical; drastically improving the user experience was the defining win for researchers.
  4. Incremental Migration Reduces Risk: Rebuilding the platform feature-by-feature isolated issues and minimized deployment failures.

Future Opportunities

With a future-proof React architecture now firmly in place, the platform is ready to scale with powerful new features:

  • AI-Assisted Manuscript Detection: Automatically detecting manuscript boundaries and outlining critical measurement areas using AI.
  • OCR Integration: Extracting deep historical text automatically for richer analysis.
  • Collaboration Layer: Allowing multiple global researchers to annotate the same manuscripts simultaneously.
  • Cloud Storage & Analytics: Centrally storing historical datasets to run complex trend analysis across massive manuscript collections.

Conclusion

This project serves as a masterclass in legacy modernization and scientific SaaS transformation. What began as an isolated, fragile desktop tool has successfully evolved into a highly accessible, scalable research platform for CNRS. By meticulously balancing scientific accuracy, scalability, and usability, this project proves that legacy academic software can be modernized into premium digital products without ever losing their domain-specific precision.

Ready to Modernize Your Legacy Systems?

Is legacy software slowing down your workflow? Riseup Labs creates custom solutions that scale operations, improve accessibility, and modernize UX, all while preserving your data and precision.

Related Project

CNRS Graphoskop: Scientific Image Analysis Web Application

Transformed a legacy Java desktop plugin into a scalable, browser-based scientific web app.
TO TOP
Contact Us Now
Welcome! My team and I personally ensure every project gets world-class attention, backed by experience you can trust.
CEO Photo
Welcome! My team and I personally ensure every project gets world-class attention, backed by experience you can trust.
Ershadul Hoque
CEO, Riseup Labs
Contact Us Now

Start a conversation with our team to solve complex challenges and move forward with confidence.

Welcome! My team and I personally ensure every project gets world-class attention, backed by experience you can trust.
CEO Photo
Welcome! My team and I personally ensure every project gets world-class attention, backed by experience you can trust.
Ershadul Hoque
CEO, Riseup Labs









    By proceeding, you agree to our Privacy Policy

    Thank you for filling out our contact form.
    A Riseup Labs representative will contact you shortly.

    You can also schedule a meeting with Riseup Labs team:

    Md. Moshiur Rahman, General Manager, Business Development at Riseup Labs

    Md. Moshiur Rahman

    General Manager, Business Development

    Md. Moshiur Rahman is the General Manager of Business Development at Riseup Labs, with over 13 years of experience across sales, marketing, operations, and strategic growth. Over his 8+ years at the company, he has advanced through key leadership roles including Assistant Manager of Training, Management Officer, and Operations Manager (Sales & Marketing). In his current role, Moshiur drives business expansion, client acquisition, and long-term partnerships while aligning technology-driven solutions with evolving market demands.

    Md. Rezwanul Haque, Head of Operations, Admin & Compliance at Riseup Labs

    Md. Rezwanul Haque

    Head of Operations, Admin & Compliance

    Md. Rezwanul Haque is the Head of Operations, Admin & Compliance at Riseup Labs, where he oversees administration, finance, budgeting, process improvement, and regulatory compliance. With strong expertise in operations management and strategic planning, he ensures financial discipline and legal compliance while streamlining processes for sustainable growth. Rezwanul also leads recruitment, onboarding, and performance management, and guides compliance frameworks including VAT, taxation, and internal controls.

    Maria Santos, VP of Sales, Global Market (Philippines) of Riseup Labs

    Maria Santos

    VP of Sales, Global Market (Philippines)

    Maria Santos is the Vice President of Global Sales at Riseup Labs, representing the company from the Philippines to international clients. With expertise in BPO, ITO, and KPO, she helps organizations scale operations, optimize processes, and achieve measurable results. Her career spans outsourcing, technology solutions, and knowledge services, covering the full client lifecycle from acquisition to long-term partnerships. Before outsourcing, Maria worked as a scientist and product developer, sharpening her analytical and problem-solving skills.

    Christophe M. David, VP, Business Development (Europe) of Riseup Labs

    Christophe M. David

    VP, Business Development (Europe)

    Christophe M. David is the Vice President of Business Development for Europe at Riseup Labs, where he drives commercial strategies and client relationships across the region. With a diverse career in executive roles, he combines strategic vision, business effectiveness, and human sensitivity. In the early 2000s, he discovered Bangladesh and was inspired by the humanity, commitment, and resilience of its people. This experience led him to engage in meaningful projects supporting economic and industrial development.

    Michael Longwell, VP, Business Development (US) of Riseup Labs

    Michael Longwell

    VP, Business Development (US)

    Michael S. Longwell is the Vice President of Sales, North America at Riseup Labs, with more than 20 years of experience in consultative contact center BPO solutions. He helps organizations enhance customer experience and lifetime value through front-office, back-office, and KPO services. Before joining Riseup Labs, Michael was Sales Director for North America at SuccessKPI, a SaaS analytics platform using AI to transform contact center performance.

    Hamim Zakaria, Head of Business Development, Global Market at Riseup Labs

    Hamim Zakaria

    Head of Business Development, Global Market

    Hamim Zakaria is the Head of Business Development at Riseup Labs, bringing 17 years of experience across software, game development, staffing solutions, and the BPO industry. Joining the company as a Business Development Manager, he played a pivotal role in shaping its transition into global B2B services and steadily rose to his current leadership role.

    Enamul Hoque Ratul, Head of Operations, Growth & Strategy at Riseup Labs

    Enamul Hoque Ratul

    Head of Operations, Growth & Strategy

    Enamul Hoque is the Head of Operations, Growth & Strategy at Riseup Labs, where he drives operational excellence, business expansion, and long-term growth initiatives. With over nine years at the company, he has advanced through roles including Operations Manager and Product Manager, building expertise in streamlining processes and aligning strategies with organizational goals.

    Ariful Islam Shakil, Director of Business Development at Riseup Labs

    Ariful Islam Shakil

    Director, Business Development

    Ariful Islam Shakil is the Director of Business Development at Riseup Labs, with 15 years of extensive experience in strengthening local market presence and driving sustainable growth in Bangladesh’s technology sector. He specializes in building strategic partnerships, expanding client networks, and delivering innovative digital solutions tailored to client needs.

    Md. Rafiquzzaman, Director of Product & Technology at Riseup Labs

    Md. Rafiquzzaman

    Director, Product & Technology

    Md. Rafiquzzaman is the Director of Product & Technology at Riseup Labs, with more than 15 years of experience driving innovation in digital solutions. A graduate in Computer Science and Engineering from Shahjalal University of Science & Technology, he is skilled in app, game, and web development, product analysis, and project management.

    Ershadul Hoque, CEO of Riseup Labs

    Ershadul Hoque

    Founder & CEO

    Ershadul Hoque is the Founder & CEO of Riseup Labs, a tech entrepreneur, innovator, and builder with nearly two decades of experience leading digital transformation projects worldwide. He has played a pivotal role in designing and delivering intelligent solutions across software, games, immersive technologies, BPO services, and AI-powered platforms.