This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ARCH=$(uname -m) | |
| TINY_ARCH="" | |
| TAILSCALE_TINY_URL="https://github.com/Admonstrator/glinet-tailscale-updater/releases/latest/download/" | |
| TAILSCALE_INIT_URL="https://raw.githubusercontent.com/CH3NGYZ/tailscale-openwrt/refs/heads/chinese_mainland/etc/init.d/tailscale" | |
| # Function to extract version number from a string | |
| GET_VERSION() { | |
| echo "$1" | grep -oE '^[0-9]+\.[0-9]+\.[0-9]+(-[0-9]+)?' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var KV = kv_shared_fuclaude; | |
| const BASE_URL = `YOUR_FUCLAUDE_DOMAIN`; | |
| const AUTH_ENDPOINT = '/manage-api/auth/oauth_token'; | |
| addEventListener('fetch', event => { | |
| event.respondWith(handleRequest(event.request)) | |
| }) | |
| async function handleRequest(request) { | |
| const requestURL = new URL(request.url); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "errors" | |
| "flag" | |
| "fmt" | |
| "image" | |
| "image/color" | |
| "image/jpeg" |