Skip to content

aadibajpai/university

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

university request detection proof of concept

proof of concept

find catchier title maybe

should detect university if you visit this from a university

imagine if I had this last year during college application szn

API

URL: https://uni.aadibajpai.workers.dev

status code 200 with university name as text body if found.

Else, 404 not found

Eg. {status: 200, "Columbia University"} or {status: 404, "not found"}

No rate limits or anything, go wild. Okay, Cloudflare Workers have a limit of 100,000 requests a day so maybe keep that into account.

For requests made through a backend, you can pass the IP address in a x-lookup-ip header.

API source code: https://github.com/aadibajpai/university-worker

Example Usage

See index.html

I set it up for my website too as a possible implementation to slightly modify text if a university visitor is detected.

Look at that here.

Why?

I thought about this last year while doing college applications. Was easier to implement than I expected and fun. I think it has potential.

Isn't this overkill?

no u


Thanks to my friend Nisala for help with making and testing this <3

About

proof of concept to detect website visits from a university

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages