{
 "app_id": "com.hoppscotch.Hoppscotch",
 "source_url": "https://raw.githubusercontent.com/ShyVortex/hoppscotch-flatpak/main/com.hoppscotch.Hoppscotch.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=ca.desrt.dconf",
  "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
  "--filesystem=xdg-run/dconf",
  "--filesystem=~/.config/dconf:ro",
  "--env=GTK_THEME=Adwaita:dark",
  "--env=WEBKIT_DISABLE_DMABUF_RENDERER=1"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-21T19:39:38.864251+00:00",
 "manifest": {
  "app-id": "com.hoppscotch.Hoppscotch",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "hoppscotch",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=ca.desrt.dconf",
   "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
   "--filesystem=xdg-run/dconf",
   "--filesystem=~/.config/dconf:ro",
   "--env=GTK_THEME=Adwaita:dark",
   "--env=WEBKIT_DISABLE_DMABUF_RENDERER=1"
  ],
  "modules": [
   {
    "name": "hoppscotch",
    "buildsystem": "simple",
    "build-commands": [
     "ar x hoppscotch.deb",
     "tar -xf data.tar.*",
     "mkdir -p /app/bin",
     "mkdir -p /app/share",
     "mkdir -p /app/share/applications",
     "mkdir -p /app/share/icons",
     "mkdir -p /app/etc/gtk-3.0",
     "install -Dm755 usr/bin/hoppscotch-desktop /app/bin/hoppscotch",
     "cp -r usr/share/icons/* /app/share/icons",
     "echo 'menubar, menubar * { min-height: 0px !important; height: 0px !important; padding: 0px !important; margin: 0px !important; border: none !important; font-size: 0px !important; color: transparent !important; background: transparent !important; background-image: none !important; box-shadow: none !important; }' > /app/etc/gtk-3.0/gtk.css\n",
     "echo -e \"[Settings]\\ngtk-shell-shows-menubar=1\\ngtk-shell-shows-app-menu=1\" > /app/etc/gtk-3.0/settings.ini\n",
     "install -Dm644 usr/share/applications/Hoppscotch.desktop /app/share/applications/com.hoppscotch.Hoppscotch.desktop",
     "install -Dm644 com.hoppscotch.Hoppscotch.metainfo.xml /app/share/metainfo/com.hoppscotch.Hoppscotch.metainfo.xml",
     "sed -i 's|^Exec=.*|Exec=hoppscotch|' /app/share/applications/com.hoppscotch.Hoppscotch.desktop",
     "sed -i 's|^Icon=.*|Icon=com.hoppscotch.Hoppscotch|' /app/share/applications/com.hoppscotch.Hoppscotch.desktop",
     "sed -i '/^StartupWMClass=/d' /app/share/applications/com.hoppscotch.Hoppscotch.desktop",
     "echo \"StartupWMClass=hoppscotch\" >> /app/share/applications/com.hoppscotch.Hoppscotch.desktop",
     "sed -i '/^Categories=/d' /app/share/applications/com.hoppscotch.Hoppscotch.desktop",
     "echo \"Categories=Development;WebDevelopment;Utility;\" >> /app/share/applications/com.hoppscotch.Hoppscotch.desktop",
     "find /app/share/icons -name \"hoppscotch*.png\" -execdir mv {} com.hoppscotch.Hoppscotch.png \\;"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/hoppscotch/releases/releases/download/v26.8.1-0/Hoppscotch_linux_x64.deb",
      "sha256": "5d3da9a9c6d6c27ec044476b66523119bc32892fa0178efce8ed54b55aede3d0",
      "dest-filename": "hoppscotch.deb"
     },
     {
      "type": "file",
      "path": "com.hoppscotch.Hoppscotch.metainfo.xml"
     }
    ]
   }
  ]
 }
}