8000 [pull] main from jason5ng32:main by pull[bot] · Pull Request #24 · comanche2008/MyIP · GitHub
[go: up one dir, main page]

Skip to content
Merged
8000
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
38a0db7
Update Packages
jason5ng32 Jul 8, 2026
88bf252
Add Slider
jason5ng32 Jul 8, 2026
674cf78
Feat(store): carry location / ASN / org details on allIPs entries
jason5ng32 Jul 8, 2026
6a3af94
Feat(ip-history): local IP detection history panel with H shortcut
jason5ng32 Jul 8, 2026
46a30bf
Feat(preferences): IP history toggle and retention-days slider
jason5ng32 Jul 8, 2026
7f46d6c
Improvements
jason5ng32 Jul 8, 2026
f4bcbfa
Improvements
jason5ng32 Jul 8, 2026
4179f2c
Feat(ui): collapse mobile FAB stack into an ellipsis toggle
jason5ng32 Jul 8, 2026
81869ee
Style(fab): color spec — semantics only, no decoration
jason5ng32 Jul 8, 2026
0559229
Improvements
jason5ng32 Jul 8, 2026
922ac2f
Improvements
jason5ng32 Jul 8, 2026
3a2e2a3
Improvements
jason5ng32 Jul 8, 2026
94862fd
Refactor(achievements): move triggers to an event-subscription engine
jason5ng32 Jul 8, 2026
2a2a22f
Refactor(country-name): replace hand-maintained table with Intl.Displ…
jason5ng32 Jul 9, 2026
d8cecc4
Chore(build): drop stale sourceChunkGroups entries
jason5ng32 Jul 9, 2026
5aef4ef
Feat(ip-history): add IP type and country tag filters
jason5ng32 Jul 9, 2026
134b7e9
Style(toggle): high-contrast pressed state for toggle primitives
jason5ng32 Jul 9, 2026
c3734d5
Bug Fixed
jason5ng32 Jul 9, 2026
0dee579
Improvements
jason5ng32 Jul 9, 2026
6743c15
Improvements
jason5ng32 Jul 9, 2026
49c2729
Chore(server): timestamp the blacklist ledger in Asia/Singapore
jason5ng32 Jul 12, 2026
9bfbf21
Feat(monitoring): integrate Sentry across frontend and backend, env-g…
jason5ng32 Jul 12, 2026
e633e81
Chore(docs): document the Sentry conventions and slim down all AGENTS.md
jason5ng32 Jul 12, 2026
7e79e8f
Feat(privacy): disclose error & performance telemetry in the privacy …
jason5ng32 Jul 12, 2026
6fb6493
Fix(monitoring): stop reporting pure-v6 source failures from IPv4-onl…
jason5ng32 Jul 12, 2026
49d6f95
Feat(monitoring): unmask error-replay page text and disclose it in th…
jason5ng32 Jul 12, 2026
2963ee5
Improvements
jason5ng32 Jul 12, 2026
1fd6eee
Improvements
jason5ng32 Jul 12, 2026
6016964
Fix(webrtc): treat missing RTCPeerConnection as a finding, not an error
jason5ng32 Jul 12, 2026
032007d
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 12, 2026
f6ff36f
Improvements
jason5ng32 Jul 12, 2026
0746ebb
Fix(ui): give the IP error icon explicit dimensions so Firefox stops …
jason5ng32 Jul 12, 2026
676ad3d
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 12, 2026
9fb6561
Fix(invisibility): translate upstream 404 into a pending answer for t…
jason5ng32 Jul 12, 2026
a05fb0f
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 12, 2026
c13c05f
Fix(monitoring): drop visitor-connectivity noise from frontend telemetry
jason5ng32 Jul 12, 2026
75a6480
Fix(whois): treat a TLD with no RDAP endpoint as a capability boundar…
jason5ng32 Jul 12, 2026
65d2c54
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 12, 2026
95d9257
Fix(speedtest): stop chart init racing itself onto the same canvas
jason5ng32 Jul 12, 2026
d9e5d41
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 12, 2026
46d6d08
Fix(webrtc): treat NotAllowedError construction as the unavailable state
jason5ng32 Jul 12, 2026
3222bb9
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 12, 2026
03e7199
Fix(monitoring): drop the DNS-leak chain-exhaustion noise
jason5ng32 Jul 12, 2026
24db8ad
Improvements
jason5ng32 Jul 12, 2026
425d7e0
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 12, 2026
f0493eb
Improvements
jason5ng32 Jul 12, 2026
24a05ac
Fix(monitoring): ignore Firebase auth network noise
jason5ng32 Jul 12, 2026
6028a81
Fix(invisibility): fail gracefully when the result never becomes ready
jason5ng32 Jul 12, 2026
75a5bb4
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 12, 2026
f972490
Fix(getips): return null-IP shape from Upai on failure
jason5ng32 Jul 12, 2026
535b96e
Fix(speedtest): detach engine callbacks with no-ops instead of null
jason5ng32 Jul 12, 2026
7384318
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 12, 2026
7976e38
Fix(monitoring): ignore Firebase auth popup noise
jason5ng32 Jul 12, 2026
683a3f8
Fix(speedtest): surface a persistent error state when the engine give…
jason5ng32 Jul 12, 2026
172be3a
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 12, 2026
0e9f54d
Fix(user): tolerate missing achievements in user info payload
jason5ng32 Jul 13, 2026
e0148b6
Fix(api): fail cf-radar on non-OK upstream status before JSON parse
jason5ng32 Jul 13, 2026
add784a
Fix(invisibilitytest): abort the run when the probe script fails to load
jason5ng32 Jul 13, 2026
2df6d9e
Chore: simplify jsconfig path mapping
jason5ng32 Jul 13, 2026
bebf124
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 13, 2026
506972e
Fix(monitoring): stop reporting IP source chain exhaustion
jason5ng32 Jul 13, 2026
cc86fc2
Fix(ipinfos): fall back to the first enabled source when the preferre…
jason5ng32 Jul 13, 2026
e697106
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 13, 2026
94b6950
Fix(monitoring): drop the per-IP all-sources-failed console signal
jason5ng32 Jul 13, 2026
19c604f
Ignore popup blocked
jason5ng32 Jul 13, 2026
923f944
Fix(api): fail geo handlers on non-OK upstream status before JSON parse
jason5ng32 Jul 13, 2026
b102fbc
Fix(webrtc): treat non-constructable RTCPeerConnection as unavailable
jason5ng32 Jul 13, 2026
f7802e7
Merge branch 'dev' into feat/monitoring
jason5ng32 Jul 13, 2026
81b25da
Fix(monitoring): redact API-key query params from backend Sentry tele…
jason5ng32 Jul 13, 2026
f2ff0c1
Improvements
jason5ng32 Jul 13, 2026
d26ae95
Improvements
jason5ng32 Jul 13, 2026
2883aeb
Improvements
jason5ng32 Jul 13, 2026
11bf0c8
Merge pull request #351 from jason5ng32/feat/monitoring
jason5ng32 Jul 13, 2026
b542a4c
Update Readmes
jason5ng32 Jul 13, 2026
6a2d134
Improvements
jason5ng32 Jul 13, 2026
cb82085
Improvements
jason5ng32 Jul 13, 2026
8d7478d
Update Readme
jason5ng32 Jul 13, 2026
64d75d7
Improvements
jason5ng32 Jul 13, 2026
dbe42c0
Improvements
jason5ng32 Jul 13, 2026
b40eefb
Improvements
jason5ng32 Jul 13, 2026
39c051c
Improvements
jason5ng32 Jul 13, 2026
419f730
Merge pull request #352 from jason5ng32/dev
jason5ng32 Jul 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 31 additions & 15 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
BACKEND_PORT="11966"
FRONTEND_PORT="18966"
ALLOWED_DOMAINS=""
# APIs
# THIRD-PARTY APIs
GOOGLE_MAP_API_KEY=""
IPINFO_API_TOKEN=""
CLOUDFLARE_API=""
IPINFO_API_KEY=""
CLOUDFLARE_API_KEY=""
IPAPIIS_API_KEY=""
IP2LOCATION_API_KEY=""
IPCHECKING_API_KEY=""
MAC_LOOKUP_API_KEY=""
IPCHECKING_API_ENDPOINT=""
RIPESTAT_SOURCE_APP=""
# Security related
SECURITY_BLACKLIST_LOG_FILE_PATH=""
SECURITY_RATE_LIMIT=""
SECURITY_DELAY_AFTER=""
# MaxMind
MAXMIND_ACCOUNT_ID=""
MAXMIND_LICENSE_KEY=""
MAXMIND_AUTO_UPDATE="false"
# CAIDA
CAIDA_AUTO_UPDATE="false"
# SITE
VITE_SITE_URL="https://ipcheck.ing"
# CURL API
Expand All @@ -24,12 +24,28 @@ VITE_CURL_IPV6_DOMAIN=""
VITE_CURL_IPV64_DOMAIN=""
# Google Analytics
VITE_GOOGLE_ANALYTICS_ID=""
# MaxMind
MAXMIND_ACCOUNT_ID=""
MAXMIND_LICENSE_KEY=""
MAXMIND_AUTO_UPDATE="false"
# CAIDA
CAIDA_AUTO_UPDATE="false"
# Security related
# SECURITY_BLACKLIST_LOG_FILE_PATH: opt-in on-disk ledger of rate-limited IPs
# (e.g. "logs/blacklist-ip.log"). Empty = no file; the event is always logged
# via the shared logger either way (and mirrored to Sentry when configured).
SECURITY_BLACKLIST_LOG_FILE_PATH=""
SECURITY_RATE_LIMIT=""
SECURITY_DELAY_AFTER=""
# Sentry — all optional; leave empty and no Sentry code ships or runs at all.
# VITE_SENTRY_DSN_FRONTEND: frontend DSN (build-time; baked into the bundle;
# also read by the backend at runtime as the allowlist for /api/monitoring,
# the first-party tunnel that relays envelopes past ad blockers)
# SENTRY_DSN_BACKEND: backend DSN (runtime; read by sentry-instrument.js)
# SENTRY_ENVIRONMENT: backend environment tag — unset means "production",
# set "development" on dev machines (frontend tags itself automatically)
# SENTRY_ORG / SENTRY_PROJECT_FRONTEND / SENTRY_AUTH_TOKEN: source-map upload
# at build time only — the token is a secret, never exposed to the browser
VITE_SENTRY_DSN_FRONTEND=""
SENTRY_DSN_BACKEND=""
SENTRY_ENVIRONMENT=""
SENTRY_ORG=""
SENTRY_PROJECT_FRONTEND=""
SENTRY_AUTH_TOKEN=""
# Logging — LOG_LEVEL: debug/info/warn/error (default info)
# LOG_FORMAT: "json" for log shippers, anything else = pretty
# LOG_HTTP: "true" to enable per-request /api logging (off by default)
Expand Down
149 changes: 80 additions & 69 deletions AGENTS.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ COPY --from=build-stage /app/package.json ./
COPY --from=build-stage /app/dist ./dist
COPY --from=build-stage /app/backend-server.js ./
COPY --from=build-stage /app/frontend-server.js ./
# npm start boots the backend with `--import ./sentry-instrument.js`
COPY --from=build-stage /app/sentry-instrument.js ./
COPY --from=build-stage /app/api ./api
COPY --from=build-stage /app/common ./common

Expand Down
40 changes: 18 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,22 @@ Download `GeoLite2-City.mmdb` and `GeoLite2-ASN.mmdb` from your MaxMind account
| `FRONTEND_PORT` | No | `"18966"` | The running port of the frontend part of the program |
| `SECURITY_RATE_LIMIT` | No | `"0"` | Controls the number of requests an IP can make to the backend server every 60 minutes (set to 0 for no limit) |
| `SECURITY_DELAY_AFTER` | No | `"0"` | Controls the first X requests from an IP every 20 minutes that are not subject to speed limits, and after X requests, the delay will increase |
| `SECURITY_BLACKLIST_LOG_FILE_PATH` | No | `"logs/blacklist-ip.log"` | Path setting. Records the list of IPs that triggered the limit after SECURITY_RATE_LIMIT is enabled |
| `SECURITY_BLACKLIST_LOG_FILE_PATH` | No | `""` | Opt-in on-disk ledger of rate-limited IPs (e.g. `"logs/blacklist-ip.log"`). Empty = no file is written; the event is always logged via the shared logger either way |
| `LOG_LEVEL` | No | `"info"` | Minimum log level (`debug` / `info` / `warn` / `error`). Lower-level messages are suppressed. |
| `LOG_FORMAT` | No | pretty | Set to `"json"` to emit one JSON event per line (for log aggregators / jq). Any other value (or unset) keeps the colored pretty output used in dev and pm2 log tails. |
| `LOG_HTTP` | No | `"false"` | Set to `"true"` to enable per-request HTTP logging on `/api/*` (method, URL, status, response time). Off by default to keep pm2 logs lean. Handler-level 4xx/5xx errors are always logged regardless of this flag. |
| `VITE_SENTRY_DSN_FRONTEND` | No | `""` | Sentry DSN for the frontend (build-time). When empty, no Sentry code is included in the bundle at all. Also read by the backend at runtime as the allowlist for `/api/monitoring`, the first-party tunnel that relays Sentry envelopes past ad blockers. If you bake it into a self-built Docker image at build time, pass the same value to the container at runtime too — otherwise the tunnel route stays disabled |
| `SENTRY_DSN_BACKEND` | No | `""` | Sentry DSN for the backend (runtime). When empty, the Sentry SDK is never loaded |
| `SENTRY_ENVIRONMENT` | No | `"production"` | Environment tag on backend Sentry events. Set to `"development"` on dev machines; the frontend tags itself automatically |
| `SENTRY_ORG` | No | `""` | Sentry organization slug, used with `SENTRY_PROJECT_FRONTEND` and `SENTRY_AUTH_TOKEN` to upload source maps at build time |
| `SENTRY_PROJECT_FRONTEND` | No | `""` | Sentry project slug of the frontend project, for build-time source map upload |
| `SENTRY_AUTH_TOKEN` | No | `""` | Sentry auth token enabling source map upload at build time. Build-time secret only — never exposed to the browser |
| `ALLOWED_DOMAINS` | No | `""` | Allowed domains for access, separated by commas, used to prevent misuse of the backend API |
| `GOOGLE_MAP_API_KEY` | No | `""` | API Key for Google Maps, used to display the location of the IP on a map |
| `IPCHECKING_API_ENDPOINT` | No | `""` | API endpoint for IPCheck.ing database, used to obtain accurate IP geolocation information |
| `IPCHECKING_API_KEY` | No | `""` | API Key for IPCheck.ing database, used to obtain accurate IP geolocation information |
| `IPINFO_API_TOKEN` | No | `""` | API Token for IPInfo.io, used to obtain IP geolocation information through IPInfo.io |
| `IPINFO_API_KEY` | No | `""` | API Token for IPInfo.io, used to obtain IP geolocation information through IPInfo.io |
| `IPAPIIS_API_KEY` | No | `""` | API Key for IPAPI.is, used to obtain IP geolocation information through IPAPI.is |
| `IP2LOCATION_API_KEY` | No | `""` | API Key for IP2Location.io, used to obtain IP geolocation information through IP2Location.io |
| `CLOUDFLARE_API` | No | `""` | API Key for Cloudflare, used to obtain AS system information through Cloudflare |
| `CLOUDFLARE_API_KEY` | No | `""` | API Key for Cloudflare, used to obtain AS system information through Cloudflare |
| `RIPESTAT_SOURCE_APP` | No | `""` | Source app name for RIPE.net, used to obtain ASN history information through RIPE.net |
| `MAC_LOOKUP_API_KEY` | No | `""` | API Key for MAC Lookup, used to obtain MAC address information |
| `VITE_CURL_IPV4_DOMAIN` | No | `""` | Provides the IPv4 domain for the CURL API to users |
Expand All @@ -170,7 +174,7 @@ MAXMIND_ACCOUNT_ID="YOUR_ACCOUNT_ID"
MAXMIND_LICENSE_KEY="YOUR_LICENSE_KEY"
MAXMIND_AUTO_UPDATE="true"
GOOGLE_MAP_API_KEY="YOUR_KEY_HERE"
ALLOWED_DOMAINS="example.com"
ALLOWED_DOMAINS="example.com,example.org"
```

Then restart the backend service.
Expand All @@ -185,7 +189,7 @@ docker run -d -p 18966:18966 \
-e MAXMIND_LICENSE_KEY="YOUR_LICENSE_KEY" \
-e MAXMIND_AUTO_UPDATE="true" \
-e GOOGLE_MAP_API_KEY="YOUR_KEY_HERE" \
-e ALLOWED_DOMAINS="example.com" \
-e ALLOWED_DOMAINS="example.com,example.org" \
--name myip \
jason5ng32/myip:latest

Expand All @@ -212,24 +216,16 @@ DOMAIN,ptest-7.ipcheck.ing,Proxy7
DOMAIN,ptest-8.ipcheck.ing,Proxy8
```

## 😶‍🌫️ Additional Notes

When version 2.0 was released, I said that 70% of the code for this program was not written by me, but by AI. After about 90 interactions, plus some minor manual adjustments, the entire codebase was completed.

Of course, the architecture and UI still required my own design.

With the release of version 3.0 and subsequent versions, the proportion of code written with the help of AI has gradually decreased, now estimated to be between 40% and 50%. On the contrary, in this process, I went from having no knowledge of JavaScript and Vue to being able to understand most of the JS code, and I can now write some on my own.

Thanks to AI, it has given me, an unemployed product manager, a rapid opportunity to learn programming.
## 💖 Sponsors

## 🌟 Star History
As a open source project, I'm very grateful to the following sponsors for their support:

[![Star History Chart](https://api.star-history.com/svg?repos=jason5ng32/MyIP&type=Date)](https://star-history.com/#jason5ng32/MyIP&Date)
<a href="https://www.digitalocean.com/?refcode=fd2634a3981b&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge"><img src="https://res.ipcheck.ing/img/digitalocean_logo.png" width="240px" title="DigitalOcean" /></a>

## 💖 Sponsors
<a href="https://www.1password.com"><img src="https://res.ipcheck.ing/img/1password_logo.png" alt="1Password" title="1Password" width="240px" /></a>

As a open source project, I'm very grateful to the following sponsors for their support:
<a href="https://www.greptile.com/"><img src="https://res.ipcheck.ing/img/greptile_logo.png" alt="Greptile" title="Greptile" width="240px" /></a>

<a href="https://www.digitalocean.com/?refcode=fd2634a3981b&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge"><img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg" height="40px" title="DigitalOcean" /></a>
<a href="https://www.sentry.io"><img src="https://res.ipcheck.ing/img/sentry_logo.png" alt="Sentry" title="Sentry" width="240px" /></a>

<a href="https://www.cloudflare.com/lp/project-alexandria/"><img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/69RwBidpiEHCDZ9rFVVk7T/092507edbed698420b89658e5a6d5105/CF_logo_stacked_blktype.png" alt="Cloudflare Project Alexandria" title="Cloudflare Project Alexandria" height="60px" /></a>
<a href="https://www.cloudflare.com/lp/project-alexandria/"><img src="https://res.ipcheck.ing/img/cloudflare_logo.png" alt="Cloudflare Project Alexandria" title="Cloudflare Project Alexandria" width="240px" /></a>
40 changes: 18 additions & 22 deletions README_FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,22 @@ Téléchargez `GeoLite2-City.mmdb` et `GeoLite2-ASN.mmdb` depuis votre compte Ma
| `FRONTEND_PORT` | Non | `"18966"` | Le port d'exécution de la partie frontend du programme |
| `SECURITY_RATE_LIMIT` | Non | `"0"` | Contrôle le nombre de requêtes qu'une adresse IP peut faire au serveur backend toutes les 60 minutes (réglé sur 0 pour aucune limite) |
| `SECURITY_DELAY_AFTER` | Non | `"0"` | Contrôle les premières X requêtes d'une adresse IP toutes les 20 minutes qui ne sont pas soumises à des limites de vitesse, et après X requêtes, le délai augmentera |
| `SECURITY_BLACKLIST_LOG_FILE_PATH` | Non | `"logs/blacklist-ip.log"` | Paramètre de chemin. Enregistre la liste des adresses IP qui ont déclenché la limite après que `SECURITY_RATE_LIMIT` soit activé |
| `SECURITY_BLACKLIST_LOG_FILE_PATH` | Non | `""` | Registre local optionnel des IP limitées (ex. `"logs/blacklist-ip.log"`). Vide = aucun fichier n'est écrit ; l'événement est de toute façon toujours journalisé via le logger partagé |
| `LOG_LEVEL` | Non | `"info"` | Niveau minimum des journaux (`debug` / `info` / `warn` / `error`). Les messages de niveau inférieur sont supprimés. |
| `LOG_FORMAT` | Non | pretty | Définir sur `"json"` pour émettre un événement JSON par ligne (agrégateurs de logs / jq). Toute autre valeur (ou non défini) conserve la sortie colorée lisible utilisée en dev et lors du tail des logs pm2. |
| `LOG_HTTP` | Non | `"false"` | Définir sur `"true"` pour activer la journalisation par requête HTTP sur `/api/*` (méthode, URL, statut, temps de réponse). Désactivé par défaut pour garder les logs pm2 légers. Les erreurs 4xx/5xx côté handler sont toujours loguées, que ce drapeau soit activé ou non. |
| `VITE_SENTRY_DSN_FRONTEND` | Non | `""` | DSN Sentry du frontend (au moment du build). Si vide, aucun code Sentry n'est inclus dans le bundle. Également lu par le backend à l'exécution comme liste blanche pour `/api/monitoring`, le tunnel first-party qui fait passer les enveloppes Sentry malgré les bloqueurs de publicité. Si vous l'intégrez dans une image Docker auto-construite au moment du build, passez aussi la même valeur au conteneur à l'exécution — sinon la route du tunnel reste désactivée |
| `SENTRY_DSN_BACKEND` | Non | `""` | DSN Sentry du backend (à l'exécution). Si vide, le SDK Sentry n'est jamais chargé |
| `SENTRY_ENVIRONMENT` | Non | `"production"` | Étiquette d'environnement des événements Sentry du backend. Définir sur `"development"` sur les machines de développement ; le frontend s'étiquette automatiquement |
| `SENTRY_ORG` | Non | `""` | Slug de l'organisation Sentry, utilisé avec `SENTRY_PROJECT_FRONTEND` et `SENTRY_AUTH_TOKEN` pour téléverser les source maps au moment du build |
| `SENTRY_PROJECT_FRONTEND` | Non | `""` | Slug du projet Sentry du frontend, pour le téléversement des source maps au moment du build |
| `SENTRY_AUTH_TOKEN` | Non | `""` | Jeton Sentry activant le téléversement des source maps au moment du build. Secret de build uniquement — jamais exposé au navigateur |
| `ALLOWED_DOMAINS` | Non | `""` | Domaines autorisés pour l'accès, séparés par des virgules, utilisés pour empêcher une utilisation abusive de l'API backend |
| `GOOGLE_MAP_API_KEY` | Non | `""` | Clé API pour Google Maps, utilisée pour afficher l'emplacement de l'adresse IP sur une carte |
| `IPCHECKING_API_ENDPOINT` | Non | `""` | endpoint de l'API pour IPCheck.ing database, utilisée pour obtenir des informations de géolocalisation précises sur l'adresse IP |
| `IPCHECKING_API_KEY` | Non | `""` | Clé API pour IPCheck.ing, utilisée pour obtenir des informations de géolocalisation précises sur l'adresse IP |
| `IPINFO_API_TOKEN` | Non | `""` | Jeton API pour IPInfo.io, utilisé pour obtenir des informations de géolocalisation sur l'adresse IP via IPInfo.io |
| `IPINFO_API_KEY` | Non | `""` | Jeton API pour IPInfo.io, utilisé pour obtenir des informations de géolocalisation sur l'adresse IP via IPInfo.io |
| `IPAPIIS_API_KEY` | Non | `""` | Clé API pour IPAPI.is, utilisée pour obtenir des informations de géolocalisation sur l'adresse IP via IPAPI.is |
| `IP2LOCATION_API_KEY` | Non | `""` | Clé API pour IP2Location.io, utilisée pour obtenir des informations de géolocalisation sur l'adresse IP via IP2Location.io |
| `CLOUDFLARE_API` | Non | `""` | Clé API pour Cloudflare, utilisée pour obtenir des informations sur le système AS via Cloudflare |
| `CLOUDFLARE_API_KEY` | Non | `""` | Clé API pour Cloudflare, utilisée pour obtenir des informations sur le système AS via Cloudflare |
| `RIPESTAT_SOURCE_APP` | Non | `""` | Nom de l'application source pour RIPE.net, utilisé pour obtenir des informations sur l'historique ASN via RIPE.net |
| `MAC_LOOKUP_API_KEY` | Non | `""` | Clé API pour MAC Lookup, utilisée pour obtenir des informations sur l'adresse MAC via MAC Lookup |
| `VITE_CURL_IPV4_DOMAIN` | Non | `""` | Fournit aux utilisateurs le domaine IPv4 pour l'API CURL |
Expand All @@ -170,7 +174,7 @@ MAXMIND_ACCOUNT_ID="YOUR_ACCOUNT_ID"
MAXMIND_LICENSE_KEY="YOUR_LICENSE_KEY"
MAXMIND_AUTO_UPDATE="true"
GOOGLE_MAP_API_KEY="YOUR_KEY_HERE"
ALLOWED_DOMAINS="example.com"
ALLOWED_DOMAINS="example.com,example.org"
```

Ensuite, redémarrez le service backend.
Expand All @@ -185,7 +189,7 @@ docker run -d -p 18966:18966 \
-e MAXMIND_LICENSE_KEY="YOUR_LICENSE_KEY" \
-e MAXMIND_AUTO_UPDATE="true" \
-e GOOGLE_MAP_API_KEY="YOUR_KEY_HERE" \
-e ALLOWED_DOMAINS="example.com" \
-e ALLOWED_DOMAINS="example.com,example.org" \
--name myip \
jason5ng32/myip:latest

Expand All @@ -212,24 +216,16 @@ DOMAIN,ptest-7.ipcheck.ing,Proxy7
DOMAIN,ptest-8.ipcheck.ing,Proxy8
```

## 😶‍🌫️ Explications supplémentaires

Lors de la sortie de la version 2.0, j'avais dit que 70% du code de ce programme n'était pas de moi, mais écrit par AI. Après environ 90 interactions, plus quelques ajustements manuels mineurs, tout le code a été complété.

Bien sûr, l'architecture et l'UI nécessitaient toujours ma propre conception.

Avec la sortie de la version 3.0 et des versions ultérieures, la proportion de code écrit avec l'aide de AI a progressivement diminué, maintenant estimée entre 40% et 50%. Au contraire, dans ce processus, je suis passé de ne rien savoir sur JavaScript et Vue à pouvoir comprendre la plupart des codes JS, et maintenant je peux même en écrire moi-même.

Merci à l'IA, qui m'a donné, à moi, un chef de produit au chômage, une opportunité rapide d'apprendre la programmation.
## 💖 Sponsors

## 🌟 Historique des étoiles
En tant que projet open source, je suis très reconnaissant aux sponsors suivants pour leur soutien :

[![Star History Chart](https://api.star-history.com/svg?repos=jason5ng32/MyIP&type=Date)](https://star-history.com/#jason5ng32/MyIP&Date)
<a href="https://www.digitalocean.com/?refcode=fd2634a3981b&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge"><img src="https://res.ipcheck.ing/img/digitalocean_logo.png" width="240px" title="DigitalOcean" /></a>

## 💖 Sponsors
<a href="https://www.1password.com"><img src="https://res.ipcheck.ing/img/1password_logo.png" alt="1Password" title="1Password" width="240px" /></a>

En tant que projet open source, je suis très reconnaissant aux sponsors suivants pour leur soutien :
<a href="https://www.greptile.com/"><img src="https://res.ipcheck.ing/img/greptile_logo.png" alt="Greptile" title="Greptile" width="240px" /></a>

<a href="https://www.digitalocean.com/?refcode=fd2634a3981b&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge"><img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg" height="40px" title="DigitalOcean" /></a>
<a href="https://www.sentry.io"><img src="https://res.ipcheck.ing/img/sentry_logo.png" alt="Sentry" title="Sentry" width="240px" /></a>

<a href="https://www.cloudflare.com/lp/project-alexandria/"><img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/69RwBidpiEHCDZ9rFVVk7T/092507edbed698420b89658e5a6d5105/CF_logo_stacked_blktype.png" alt="Cloudflare Project Alexandria" title="Cloudflare Project Alexandria" height="60px" /></a>
<a href="https://www.cloudflare.com/lp/project-alexandria/"><img src="https://res.ipcheck.ing/img/cloudflare_logo.png" alt="Cloudflare Project Alexandria" title="Cloudflare Project Alexandria" width="240px" /></a>
Loading
Loading
0