@ifyour/ipac

🗻 Self-use mainland China domain whitelist, full of bias.

Usage no npm install needed!

<script type="module">
  import ifyourIpac from 'https://cdn.skypack.dev/@ifyour/ipac';
</script>

README

🗻 iPac

gitpod logo npm contributors prs license

Another China domain whitelist for the SwitchyOmega plugin.

Feature

  • Custom server IP address
  • Custom port
  • Cached query result set
  • Service rollback downgrade
  • Easy-to-maintain website library

Usage

usage demo

  • Open SwitchyOmega and select New Profile
  • Select the PAC profile option with any name you want.
  • PAC web site filled in https://ipac.now.sh/ or https://unpkg.com/@ifyour/ipac
  • Click update immediately, then save

API

GET /

Param Type Default Require Description
socks5 number 1080 false SOCKS5 port, short: s
http number 1087 false HTTP port, short: h
ip string 127.0.0.1 false Default proxy host

Example

Note: https://unpkg.com/@ifyour/ipac does not support changing proxy IP and port numbers.

Sponsors

License

Licensed under The WTFPL License