Skip to content

A lightweight browser extension that lets you quickly switch between projects in the OpenStack Horizon dashboard. Supports multiple Horizon instances by allowing the user to add domains dynamically.

License

Notifications You must be signed in to change notification settings

Xenion1987/openstack-project-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenStack Project Switcher

CI License Maintained

A lightweight browser extension that lets you quickly switch between projects in the OpenStack Horizon dashboard. Supports multiple Horizon instances by allowing the user to add domains dynamically.

Features

  • 🔀 Switch between OpenStack projects directly from the extension popup
  • 🌙 Light/Dark mode toggle
  • 🔍 Search projects by name or description
  • 📦 Domain support for multiple OpenStack instances

Installation

Regular installation (packed extension)

  1. Build or download the .zip package of the extension.
  2. Install it in your browser:
  • Chrome / Chromium-based browsers:
    • Go to chrome://extensions, enable Developer mode, click Load unpacked or Install packed extension, and select the zip file.
  • Firefox (automatically):
    • Go to the Releases page and click on the link containing the .xpi file
    • Allow to install the extension
  • Firefox (manually):
    • Go to about:addons
    • Click on the ⚙️ icon
    • Install Add-on From File… and select the .xpi file (zipped package).

Domain permissions

The extension does not hardcode domains. Instead, you can add new OpenStack instances dynamically.

Chrome / Chromium

  • Open the extension's Options page.
  • Enter a domain (e.g. https://openstack.domain.tld/) and click Add.
  • Chrome will show a permission dialog – confirm it to allow the extension access to that domain.

Firefox

  • Open the Addon's Preferences page
  • Add all your URLs to any OpenStack Horizon Dashboard (e.g. https://openstack.domain.tld/)
  • Firefox will show a permission dial - confirm it to allow the extension access to that domain.

Development notes

  • The extension detects whether your Horizon is hosted under /horizon or /dashboard.
  • Project switching is done via Horizon’s /auth/switch/<project_id>/?next=… endpoint.
  • Projects are cached locally for 24h to reduce reload time.

License

MIT

About

A lightweight browser extension that lets you quickly switch between projects in the OpenStack Horizon dashboard. Supports multiple Horizon instances by allowing the user to add domains dynamically.

Topics

Resources

License

Stars

Watchers

Forks