Sanchaya is working on building an Index for Kannada fonts to locate the usable fonts for identifying, previewing and possibly fixing the fonts for the best of its abilities. This project would be crowdsourced from the community.
Fonts stored here in this project are exclusively for educational and research purposes only. We have retained the license information for each font in respective folders.
- Node.js (v14 or higher)
- npm (comes with Node.js)
-
Clone the repository
git clone <repository-url> cd fonts
-
Install dependencies
npm install
-
Start the server
node index.js
-
Access the application
- Open your browser and go to:
http://localhost:4040
- Open your browser and go to:
- Default port:
4040 - To change the port, set the
PORTenvironment variable:PORT=3000 node index.js
The application includes an admin panel for managing font metadata.
- Go to
/login - Default credentials:
- Username:
admin - Password:
fontsadmin123
- Username:
- 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 in index.js before deploying to production.
After adding a new font to the static/Fonts folder, run:
node fontAdded.js- Log in to the admin panel at
/admin - Click "Export" to download the font data with metadata
- Copy the exported JSON to your GitHub Pages repository
Feel free to contribute to the project by:
- Adding new fonts
- Improving font metadata
- Fixing bugs
- Enhancing the UI/UX
fonts/
├── index.js # Main Express server
├── fonts.json # Font data (auto-generated)
├── fontMetadata.json # Font metadata (admin-managed)
├── configuration.js # Configuration settings
├── Main/ # Core application logic
│ └── fontSelectedPage/
├── static/ # Static assets
│ ├── css/ # Stylesheets
│ ├── Fonts/ # Font files
│ ├── img/ # Images
│ └── js/ # JavaScript files
└── views/ # EJS templates
├── admin.ejs # Admin panel
├── fontSelectedPage/ # Font detail views
└── family/ # Family page views