Manifest.json Overview - Opera GX Mods
Learn about the structure and fields in the manifest.json file, the core configuration for Opera GX mods.
The manifest.json
file is the backbone of your Opera GX mod. It defines the mod’s structure, assets, and functionality.
📝 What is manifest.json
?
The manifest.json
is a JSON file that:
- Describes your mod's metadata.
- Declares assets like wallpapers, themes, sounds, and more.
- Specifies how your mod interacts with Opera GX.
🛠️ Key Sections
1. Metadata
Basic details about your mod:
2. Mod Configuration
The mod
object contains all the assets and settings:
3. Mods Interface
Wallpapers
Define wallpapers for light and dark themes:
Themes
Customize colors for light and dark modes:
4. Mods Sounds
Background Music
Add looping tracks to your mod:
Browser Sounds
Define custom sounds for browser interactions:
5. Mods Effects
Shaders
Add animated effects using shaders:
Fonts
Include custom fonts in your mod:
Keyboard Sounds
Define custom sounds for keyboard interactions:
Page Styles
Apply custom CSS to specific pages:
Splash Screen
Add a custom splash screen:
Mobile Image Overrides
Override images for mobile devices:
Stickers
Include custom stickers:
🧰 Best Practices
- Validate Your JSON Use a JSON Validator to avoid errors.
- Use Relative Paths Refer to assets with paths relative to your mod’s root directory.
- Keep It Organized Group related assets together for better management.
- Test Your Mod Ensure your mod works as expected in Opera GX.
📖 Learn More
- Check the GX Mods Reference Docs.
- Explore our Mods Interface section for detailed guides on wallpapers, themes, and more.
🚀 With a well-structured manifest.json
, your mod is ready to shine in Opera GX!