freestylefly avatar

Canghe Danger Gemini Web

This is a reverse-engineered Gemini Web API client that generates both text and images without going through official channels. It handles multi-turn conversations, accepts reference images for vision tasks, and supports models like gemini-3-pro and gemini-2.5-flash. The implementation requires explicit user consent before first use, which is appropriate given the nature of reverse-engineered APIs. Cookie management happens automatically through browser authentication, and sessions persist across conversations. It's useful when you need Gemini's image generation capabilities or want to prototype against Google's models without dealing with official API keys and billing, though you're accepting the usual risks that come with unofficial endpoints.

skills.sh installs
497
GitHub stars
474
last updated
Aug 21, 2026

Install

$ npx -y skills add freestylefly/canghe-skills --skill canghe-danger-gemini-web --agent claude-code

Installs into .claude/skills of the current project.

Files

Gemini Web Client

Text/image generation via Gemini Web API. Supports reference images and multi-turn conversations.

Script Directory

Important: All scripts are located in the scripts/ subdirectory of this skill.

Agent Execution Instructions:

  1. Determine this SKILL.md file's directory path as SKILL_DIR
  2. Script path = ${SKILL_DIR}/scripts/<script-name>.ts
  3. Replace all ${SKILL_DIR} in this document with the actual path

Script Reference:

ScriptPurpose
scripts/main.tsCLI entry point for text/image generation
scripts/gemini-webapi/*TypeScript port of gemini_webapi (GeminiClient, types, utils)

Consent Check (REQUIRED)

Before first use, verify user consent for reverse-engineered API usage.

Consent file locations:

  • macOS: ~/Library/Application Support/canghe-skills/gemini-web/consent.json
  • Linux: ~/.local/share/canghe-skills/gemini-web/consent.json
  • Windows: %APPDATA%\canghe-skills\gemini-web\consent.json

Sponsors

Details

Repository
github.com/freestylefly/canghe-skills
Category
Backend & APIs
First seen
Jun 3, 2026

More from freestylefly/canghe-skills

All 29
1webmaxru avatarenonic-nextxp-integrationwebmaxru/enonic-agent-skillsGuides setup, development, and troubleshooting of the Next.js and Enonic XP headless integration (Next.XP framework). Covers Enonic adapter configuration, conte488skills.sh installs
2hummingbot avatarhummingbot-deployhummingbot/skillsDeploy Hummingbot trading infrastructure including API server, MCP server, and Condor Telegram bot. Use this skill when the user wants to install, deploy, set u486skills.sh installs
3openstatushq avatardata-table-filtersopenstatushq/data-table-filtersInstall and extend data-table-filters — a React data table system with faceted filters (checkbox, input, slider, timerange), sorting, infinite scroll, virtualiz485skills.sh installs
4webmaxru avatarenonic-guillotine-query-builderwebmaxru/enonic-agent-skillsComposes, debugs, and optimizes Guillotine GraphQL queries for Enonic XP headless content delivery. Covers query construction, variable usage, filtering, aggreg483skills.sh installs
5prowler-cloud avatardjango-drfprowler-cloud/prowlerDjango REST Framework patterns. Trigger: When implementing generic DRF APIs (ViewSets, serializers, routers, permissions, filtersets). For Prowler API specifics482skills.sh installs
6jezweb avatarai-sdk-corejezweb/claude-skillsBuild backend AI with Vercel AI SDK v6 stable. Covers Output API (replaces generateObject/streamObject), speech synthesis, transcription, embeddings, MCP tools 479skills.sh installs