Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

wjxsec.github.io

Static academic homepage for Jiaxi Wang.

The site is intentionally lightweight: plain HTML, CSS, and small JavaScript loaders, designed for GitHub Pages user-site hosting at:

https://wjxsec.github.io

Contact

Structure

  • index.html - homepage content
  • assets/css/styles.css - responsive academic page styling
  • assets/js/ - privacy-respecting analytics configuration and loaders
  • assets/img/avatar.png - profile photo
  • assets/papers/mmd-power-side-channel-leakage.pdf - CCF-A paper PDF
  • analytics-worker/ - encrypted raw-IP collector, retention job, and D1 migrations
  • analytics-admin/ - Cloudflare Access-protected private administration panel
  • .nojekyll - asks GitHub Pages to serve files as-is

Publish

Create or open the GitHub repository wjxsec/wjxsec.github.io, then place these files at the repository root and push to the default branch. GitHub Pages will serve the site at https://wjxsec.github.io.

Privacy-preserving traffic analytics

The site includes Cloudflare Web Analytics for aggregate page views, visits, referrer trends, and country-level trends in the Cloudflare dashboard.

  1. In Cloudflare, open Web Analytics, choose Add a site, and register wjxsec.github.io as the hostname.
  2. Copy the site token that Cloudflare generates.
  3. Set that value as cloudflareWebAnalyticsToken in assets/js/analytics-config.js, then publish the site.

The token is intended to be public in the page source; do not put account API tokens or other secrets in this repository.

The GitHub Pages and Cloudflare Web Analytics integration itself does not collect, store, or expose a visitor's raw IP address to the site owner. GitHub Pages does not make its request IP logs available to a site owner. Country data in the analytics dashboard is aggregate and approximate.

Raw-IP visitor log (90-day retention)

The analytics-worker/ project records raw source IP addresses and IP-derived country, region, city, and ASN data for up to 90 days. It is kept separate from the static site so that the storage, access controls, and retention job are explicit. The homepage collector is enabled when its HTTPS Worker URL is configured in visitorCollectorUrl in assets/js/analytics-config.js.

Because this static GitHub Pages site cannot authenticate a cross-origin beacon, a workers.dev collector is an access-sampling endpoint rather than a cryptographically authoritative record of every homepage request. For stronger source integrity and full request coverage, use a domain you control with the Worker in front of the site.

The deployed private dashboard is served by the separate analytics-admin/ Worker and protected by Cloudflare Access for the owner's exact email identity. It lists masked addresses by default; revealing one full IP requires an explicit confirmation and writes a pseudonymized audit record. Browser code never receives the collector administrator token or encryption key.

See analytics-worker/README.md for collector and data-handling details, and analytics-admin/README.md for the private panel's security boundary. Never put Worker administrator tokens, encryption keys, or IP-hash secrets in this repository.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages