nilsherzig/hnslop

0

stars

6

commits

Go

primary language

Sep 7, 2026

updated

hnslop.nilsherzig.com

README

hnslop

hnslop 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 at [./userscript.js]:

userscript client demo

Contributors

nilsherzig

6 commits

nilsherzig/hnslop

0

stars

6

commits

Go

primary language

Sep 7, 2026

updated

hnslop.nilsherzig.com

README

hnslop

hnslop 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 at [./userscript.js]:

userscript client demo

See what people are saying

Contributors

nilsherzig

6 commits

Languages

Go

75.7%

JavaScript

20.9%

HTML

2.9%