Skip to content

Repository files navigation

FontScope

FontScope Banner

The ultimate font discovery tool for designers and developers

Next.js TypeScript Tailwind CSS Motion

Live Demo · Report Bug · Request Feature


✨ Features

  • Font Extraction - Extract all fonts from any website URL instantly
  • Live Preview - Preview each font with customizable sample text
  • One-Click Download - Download fonts in WOFF, WOFF2, TTF, and OTF formats
  • Free Alternatives - Discover free font alternatives with similarity matching
  • Multi-Source Search - Search across 9+ font websites including Google Fonts, Font Squirrel, DaFont, and more
  • Dark/Light Mode - Toggle between themes with smooth transitions
  • Futuristic UI - Animated search bar with particle effects and scan lines
  • Blazing Fast - Built with Next.js 15 App Router for optimal performance
  • Responsive - Works beautifully on all devices

🌐 Font Sources

FontScope searches across multiple free font repositories:

Source Description
Google Fonts Free fonts by Google
Font Squirrel Free fonts for commercial use
DaFont Massive free font archive
1001 Fonts Free fonts collection
Fontesk Curated free fonts
Use Modify Open-source fonts
Velvetyne Libre type foundry
OSP Foundry Open source publishing
LaTeX Font Catalogue Fonts available in LaTeX

🎨 Screenshots

Dark Mode Light Mode
Dark Mode Light Mode

⚠️ Legal Disclaimer

This tool does not grant licenses or permissions for font usage.

Users are solely responsible for ensuring they have the legal right to download and use any font files accessed through this tool. The service is provided for inspection and development purposes only.

Always verify that you have proper licensing before using downloaded fonts in your projects.

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • npm, yarn, pnpm, or bun

Installation

  1. Clone the repository

    git clone https://github.com/ShivashishY/fontscope.git
    cd fontscope
  2. Install dependencies

    npm install
    # or
    yarn install
    # or
    pnpm install
  3. Start the development server

    npm run dev
  4. Open your browser

    Navigate to http://localhost:3000

🔧 How It Works

graph LR
    A[Enter URL] --> B[Fetch Page CSS]
    B --> C[Extract Font Files]
    C --> D[Display Fonts]
    D --> E[Preview & Download]
    D --> F[Find Alternatives]
Loading
  1. Enter URL - Input any website URL in the futuristic search bar
  2. Analysis - FontScope fetches and analyzes the page's CSS and font files
  3. Display - All discovered fonts are displayed with family names, weights, and styles
  4. Preview - Click on any font to preview it with custom text
  5. Download - Download fonts individually with one click
  6. Alternatives - Find free Google Fonts with similar styling

🛠️ Tech Stack

Technology Purpose
Next.js 15 React framework with App Router
TypeScript Type-safe development
Tailwind CSS v4 Utility-first styling
Motion (Framer) Smooth animations
Playwright Web scraping & font extraction

📡 API Routes

Endpoint Method Description
/api/extract POST Extract fonts from a given URL
/api/font GET Fetch and serve font files
/api/match POST Find similar free font alternatives from multiple sources

📦 Supported Font Formats

  • WOFF2 - Web Open Font Format 2 (recommended)
  • WOFF - Web Open Font Format
  • TTF - TrueType Font
  • OTF - OpenType Font

🎯 Roadmap

  • Dark/Light mode toggle
  • Futuristic animated search bar
  • Font similarity matching
  • Multi-source font search (9+ websites)
  • Font pairing suggestions
  • Browser extension
  • Export to CSS/Figma

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  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

MIT License - See LICENSE file for details

⚡ Disclaimer

This tool is intended for educational and development purposes only. Users must comply with font licensing agreements and copyright laws. The creators of this tool are not responsible for any misuse or copyright infringement by users.


Made with ❤️ for the design community

About

A powerful tool for designers and developers to discover, analyze, and find alternatives for any website fonts.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages