This server turns Salah Adawi's Hacker News AI Detector into a cached JSON API. Big thanks to Salah (i assume that he had to sell multiple internal organs to pay for his pangram usage).

Please keep in mind that Salah is (as of the time of writing) using Pangram v3.3, which isnt the most up to date model from pangram.

Request one or more posts: curl 'https://hnslop.nilsherzig.com/v1/posts?ids=49582582,49541888' | jq # { # "posts": [ # { # "id": 49582582, # "detector": { # "ai_score": 33, # "url": "https://www.salahadawi.com/hacker-news-ai-detector/49582582" # }, # "cache_status": "hit" # }, # { # "id": 49541888, # "detector": { # "ai_score": 99, # "url": "https://www.salahadawi.com/hacker-news-ai-detector/49541888" # }, # "cache_status": "hit" # } # ] # } curl 'https://hnslop.nilsherzig.com/v1/posts/49582582' | jq # { # "id": 49582582, # "detector": { # "ai_score": 33, # "url": "https://www.salahadawi.com/hacker-news-ai-detector/49582582" # }, # "cache_status": "hit" # }

Example userscript client

userscript client demo