Skip to content

sanchaya/fonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

193 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ಫಾಂಟ್ಸ್ ಸಂಚಯ - Kannada Fonts Showcase

Sanchaya is building an index for Kannada fonts to locate, preview, and identify fonts. This project is crowdsourced from the community.

Font License Notes

Fonts stored in this project are for educational and research purposes only. Each font retains its own license (SIL OFL, Proprietary, Free, etc.) as noted in its metadata and folder.

Project License

The project code (Express server, views, scripts) is licensed under the MIT License. See LICENSE.

Installation

Prerequisites

  • Node.js (v18 or higher)
  • npm (comes with Node.js)

Setup

  1. Clone the repository

    git clone <repository-url>
    cd fonts
  2. Install dependencies

    npm install
  3. Start the server

    node index.js
  4. Access the application

    • Open your browser and go to: http://localhost:4040

Server Configuration

  • Default port: 4040
  • To change the port, set the PORT environment variable:
    PORT=3000 node index.js

Admin Panel

The application includes an admin panel for managing font metadata.

Access Admin Panel

  1. Go to /login
  2. Default credentials:
    • Username: admin
    • Password: fontsadmin123

Admin Features

  • View and edit font metadata (author, license, source, foundry, description)
  • Export font data for GitHub Pages deployment
  • Manage font suggestions

Note: Change the default admin credentials before deploying to production.

Adding New Fonts

  1. Place the font file(s) in static/Fonts/<Font-Name>/
  2. Run the indexer:
    node fontAdded.js
  3. Update fontMetadata.json with author, license, source, and foundry info

Deployment to GitHub Pages

  1. Log in to the admin panel at /admin
  2. Click "Export" to download the font data with metadata
  3. Copy the exported JSON to your GitHub Pages repository

Contributing

Feel free to contribute by:

  • Adding new Kannada fonts
  • Improving font metadata
  • Fixing bugs
  • Enhancing the UI/UX

Project Structure

fonts/
├── index.js              # Main Express server
├── fonts.json            # Font index (auto-generated)
├── fontMetadata.json     # Font metadata (admin-managed)
├── fontAdded.js          # Font indexer script
├── configuration.js      # Configuration settings
├── LICENSE               # MIT License
├── Main/                 # Core application logic
│   └── fontSelectedPage/ # Font listing and filtering
├── static/               # Static assets
│   ├── css/              # Stylesheets
│   ├── Fonts/            # Font files (70+ families)
│   ├── img/              # Images
│   └── js/               # JavaScript files
└── views/                # EJS templates
    ├── admin.ejs         # Admin panel
    ├── fontSelectedPage/ # Font detail views
    └── home/             # Home page with filters

About

Kannada Fonts Showcase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors