Skip to content

Latest commit

ย 

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽจ Mudra

India, in open source.

License: MIT Assets: CC BY 4.0 PRs Welcome First Timer Friendly


Mudra is an open-source, community-driven collection of authentic Indian cultural visual assets โ€” SVGs, PNGs, and structured metadata โ€” built by developers, for developers.

Starting with Kerala, Mudra aims to represent India's diverse cultures as reusable, developer-friendly digital assets.

Every asset in Mudra includes:

  • A clean, scalable SVG (or PNG)
  • Structured metadata (name, region, category, description, cultural context, licensing)
  • Automated validation to ensure quality and consistency

No more searching Google, Pinterest, or random repositories for a culturally accurate Indian asset.

Find it. Use it. Contribute it.


๐ŸŒฑ Add Your First Asset in 5 Minutes

Mudra is built for first-time contributors. Here's how:

1. Fork and clone

git clone https://github.com/blitzbugg/mudra.git
cd mudra

2. Create your asset folder

Follow the structure:

assets/<country>/<region>/<category>/<asset-name>/

Example:

mkdir -p assets/india/kerala/music/chenda

3. Add your files

assets/india/kerala/music/chenda/
โ”œโ”€โ”€ chenda.svg        # Your SVG (24ร—24 viewBox)
โ””โ”€โ”€ metadata.json     # Cultural metadata

4. Validate

npm run validate

5. Open a Pull Request

That's it. Your contribution becomes part of India's open-source visual language.

๐Ÿ“– Full guide: CONTRIBUTING.md


๐Ÿ“ Repository Structure

mudra/
โ”œโ”€โ”€ assets/
โ”‚   โ””โ”€โ”€ india/
โ”‚       โ””โ”€โ”€ kerala/
โ”‚           โ”œโ”€โ”€ architecture/
โ”‚           โ”œโ”€โ”€ art/
โ”‚           โ”œโ”€โ”€ clothing/
โ”‚           โ”œโ”€โ”€ craft/
โ”‚           โ”œโ”€โ”€ festival/
โ”‚           โ”œโ”€โ”€ food/
โ”‚           โ”œโ”€โ”€ instrument/
โ”‚           โ”œโ”€โ”€ music/
โ”‚           โ”œโ”€โ”€ object/
โ”‚           โ”œโ”€โ”€ pattern/
โ”‚           โ”œโ”€โ”€ performing-art/
โ”‚           โ”œโ”€โ”€ symbol/
โ”‚           โ”œโ”€โ”€ tradition/
โ”‚           โ””โ”€โ”€ transport/
โ”‚
โ”œโ”€โ”€ docs/
โ”‚   โ”œโ”€โ”€ ASSET_GUIDELINES.md      # How to create assets
โ”‚   โ”œโ”€โ”€ ASSET_LICENSE.md         # Licensing explained
โ”‚   โ””โ”€โ”€ schemas/
โ”‚       โ””โ”€โ”€ metadata.schema.json # Metadata JSON Schema
โ”‚
โ”œโ”€โ”€ scripts/
โ”‚   โ”œโ”€โ”€ validate-assets.mjs      # Validates all assets
โ”‚   โ”œโ”€โ”€ validate-svg.mjs         # Validates SVG files
โ”‚   โ””โ”€โ”€ validate-metadata.mjs    # Validates metadata.json
โ”‚
โ”œโ”€โ”€ packages/                    # Future: npm packages
โ”œโ”€โ”€ tests/                       # Test fixtures
โ”‚
โ”œโ”€โ”€ CONTRIBUTING.md
โ”œโ”€โ”€ CODE_OF_CONDUCT.md
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ package.json

๐Ÿ—‚๏ธ Current Categories

Each region has these asset categories:

Category Description
architecture Temples, buildings, landmarks
art Paintings, murals, visual art
clothing Traditional garments and textiles
craft Handmade objects, pottery, weaving
festival Festival visuals and elements
food Regional dishes and ingredients
instrument Musical instruments
music Musical elements and notation
object Everyday cultural objects
pattern Traditional patterns and motifs
performing-art Dance, theatre, performance
symbol Cultural and regional symbols
tradition Traditions and ceremonies
transport Traditional and modern transport

โœ… Validation

Every asset is automatically validated when you run:

npm run validate

This checks:

  • SVG quality โ€” valid SVG, viewBox present, no embedded images or scripts
  • Metadata correctness โ€” valid JSON, all required fields, correct categories and formats
  • Directory structure โ€” kebab-case naming at every level

Individual validators:

npm run validate:svg        # Validate specific SVG files
npm run validate:metadata   # Validate specific metadata files

CI runs these checks automatically on every Pull Request.


๐Ÿ“š Documentation

Document Description
CONTRIBUTING.md How to contribute (beginner-friendly)
ASSET_GUIDELINES.md Asset creation standards
ASSET_LICENSE.md Licensing explained (CC BY 4.0)
Metadata Schema JSON Schema for metadata
Code of Conduct Community standards

๐Ÿค Contributing

We welcome contributions from everyone โ€” especially first-time open-source contributors.

You can contribute by:

  • ๐ŸŽจ Creating a new cultural SVG asset
  • ๐Ÿงน Improving or optimizing an existing SVG
  • ๐Ÿ“š Adding or improving cultural metadata
  • ๐ŸŒ Adding regional or local-language names
  • ๐Ÿ“– Improving documentation
  • ๐Ÿ› Reporting issues
  • ๐Ÿ’ก Suggesting new cultural assets
  • ๐Ÿ› ๏ธ Improving validation tooling

No design experience required. No React knowledge needed.

If you can follow the guidelines and submit a useful contribution, you can contribute.

๐Ÿ“– Start here: CONTRIBUTING.md


๐ŸŽฏ Project Vision

Mudra aims to become the largest and most developer-friendly open-source collection of Indian cultural digital assets.

The long-term goal:

Make Indian culture easy to represent digitally.

Currently focused on Kerala, with plans to expand across all Indian states and regions.


๐Ÿ“œ License

Component License
Code, tooling, documentation MIT
Cultural assets (SVGs, metadata) CC BY 4.0

โค๏ธ Support

If Mudra is useful to you:

  • โญ Star the repository
  • ๐Ÿ› Report issues
  • ๐Ÿ’ก Suggest improvements
  • ๐ŸŽจ Contribute an asset
  • ๐Ÿ“ข Share with other developers

Built with โค๏ธ for India's digital future.

About

๐Ÿ‡ฎ๐Ÿ‡ณ Open-source digital assets for India's diverse cultures.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages