Skip to content

Repository files navigation

Online Ruler – Free Virtual Screen Ruler

Live Site GitHub stars

Use RuleScale, a 100% accurate, highly polished online ruler and virtual ruler app to measure on screen in real-time. This free ruler tool calibrates instantly to your screen size, allowing you to accurately measure real-world objects in inches, centimeters (cm), millimeters (mm), and pixels (px) directly inside your web browser.


📸 Screenshots & Preview

RuleScale App Preview (Replace with your repository screenshot)


🎯 Table of Contents


🌟 Features

  • 100% Accurate Scale Calibration: Calibrate dynamically with a physical object (credit card, driving license, or coin) or look up your specific device model automatically.
  • Multiple Units & Modes: Toggle effortlessly between cm ruler online, inch ruler online, millimeters (mm), and screen pixels (px).
  • No Installation Required: A lightweight, offline-first ruler app browser experience that launches in under a second.
  • Full-Screen Edge Ruler Overlay: An immersive interactive mode lining up rulers on all four display edges with draggable measuring guides.
  • Responsive Fluid Interface: Full support for both desktop monitors and mobile touch screens, styled with a modern aesthetic including an eye-safe Dark Mode.

🛠️ Interactive Measuring Tools

Beyond the standard screen ruler, RuleScale provides a robust suite of virtual tools:

  1. 360-Degree Protractor: Measure physical or digital angles on-screen with precision.
  2. Ring Sizer Chart: Find your exact US/UK ring size using a physical ring placed directly on your display.
  3. Creative Web Grid Overlay: Essential grid layout utility for web design prototyping.
  4. Instant Unit Converter: Seamless conversion between metric and imperial dimensions.
  5. Scale-Accurate Printable Rulers: Generate precise, printable PDF templates for real-world measuring.

📏 How to Calibrate for 100% Accuracy

To make your virtual ruler measure real-world units perfectly:

  1. Click the Calibrate button.
  2. Choose your calibration helper object (e.g., standard Credit Card or Coin).
  3. Place the physical object against your screen and adjust the slider until the virtual boundary matches your physical object perfectly.
  4. Your online ruler is now fully calibrated!

⚡ Tech Stack

This ultra-fast application was developed using cutting-edge tools:

  • AI Assistance: Built with Google AI Studio (Gemini) for rapid, optimized component design.
  • Frontend Framework: React 18+ (using Vite build tool)
  • Styling: Tailwind CSS (Responsive utility-first design)
  • Language: TypeScript (Type-safe robust architecture)

🛠️ Local Setup & Installation

To run this project locally on your machine for development or custom builds:

Prerequisites

Ensure you have Node.js (v16+) and npm installed.

1. Clone the Repository

git clone https://github.com/zeeuskhan/onlineruler.git
cd onlineruler

2. Install Dependencies

npm install

3. Run the Development Server

npm run dev

Open http://localhost:3000 in your browser to see the live application.

4. Build for Production

npm run build

🤝 Contributing

Contributions are what make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License. See LICENSE for more details.


RuleScale is a free-to-use, browser-based measuring companion built for designers, developers, students, and crafters worldwide. Turn any monitor into a digital measurement station.

About

Free online ruler tool — measure length in inches, cm, and pixels directly in your browser, accurately calibrated to your screen

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages