Skip to content

Repository files navigation

android-chrome-192x192

CSS Wizard for Gethomepage

A powerful visual CSS customization tool for Gethomepage, featuring real-time preview and an intuitive interface for creating beautiful, responsive designs.

CSS.mp4

✨ Features

  • Visual Editor: Interactive interface for CSS customization
  • Live Preview: See your changes in real-time
  • Theme Management:
    • Built-in theme presets (Matrix, Ocean Deep, Dracula, Nord, etc.)
    • Create and save custom themes
    • Import/export configurations
  • Comprehensive Styling Options:
    • Text customization (fonts, colors)
    • Border effects (static, animated gradients)
    • Element-specific styling (tabs, widgets, cards, bookmarks)
    • Interactive states (hover, focus)
    • Backdrop filters and blur effects
  • Feature Toggles: Enable/disable specific styling components
  • Dark/Light Mode: Built-in theme switching
  • Mobile-Optimized: Responsive design for all screen sizes

🚀 Getting Started

Prerequisites

  • Docker
  • Docker Compose (optional, but recommended)
  • A running instance of Gethomepage

Installation Options

Option 1: Docker Run

docker run -d \
  --name homepage-css-editor \
  -p 5556:5556 \
  -e PORT=5556 \
  ghcr.io/10mfox/gethomepage-custom-css:latest

Option 2: Docker Compose (Recommended)

  1. Create or update your docker-compose.yml:
services:
  homepage-css-editor:
    container_name: Homepage-CSS-Editor
    image: ghcr.io/10mfox/gethomepage-custom-css:latest
    ports:
      - "5556:5556"
    environment:
      - PORT=5556
    restart: unless-stopped

Alternative configuration for Linux systems:

version: "3"
services:
  homepage-css-editor:
    image: ghcr.io/10mfox/gethomepage-custom-css:latest
    container_name: Homepage-CSS-Editor
    user: "1000:1000"  # Replace with your user ID and group ID	
    ports:
      - "5556:5556"
    environment:
      - PORT=5556
    restart: unless-stopped
  1. Deploy with Docker Compose:
docker compose up -d

Important Notes

  • The port number in the container mapping (ports) must match the PORT environment variable
  • Choose any available port on your system

🎨 Using the CSS Wizard

Basic Workflow

  1. Access the Editor

    • Open http://localhost:5556 (or your configured port)
    • Switch between dark/light mode using the theme toggle
  2. Configure Features

    • Use the "Feature Toggles" dropdown to enable desired options
    • Options are grouped by function (borders, effects, appearance, etc.)
  3. Customize Styles

    • Adjust general settings (font, border width, radius, backdrop filter)
    • Use color pickers for various elements
    • Configure static or animated gradient borders
  4. Manage Themes

    • Try built-in presets from the dropdown
    • Save your configurations as custom presets
    • Import/export your settings
  5. Preview and Export

    • Use the live preview panel to verify changes
    • Export your configuration when satisfied

💾 Saving & Loading

Exported Files

When saving your configuration, two files are generated:

  1. custom.css: The generated CSS file to use with Gethomepage
  2. custom.css.json: Configuration file for the CSS Wizard

Using Your Custom CSS

  1. Save your configuration using the "Save CSS" button
  2. Copy the contents of custom.css to your Gethomepage custom CSS file
  3. Restart Gethomepage to apply changes

🛠 Technical Details

Built With

  • Frontend Framework: React 18
  • Build Tool: Vite
  • Styling: Tailwind CSS 3
  • Icons: Lucide React
  • Container: Alpine-based Docker image

Browser Compatibility

Tested and supported in:

  • Chrome/Edge 120+
  • Firefox 120+
  • Safari 17+

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

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

Development Setup

  1. Clone the repository
  2. Install dependencies: npm install
  3. Start development server: npm run dev
  4. Build for production: npm run build

Made with ❤️ for the Gethomepage community

About

No description, website, or topics provided.

Resources

Stars

62 stars

Watchers

1 watching

Forks

Packages

Used by

Contributors

Languages