snapshot before merge

This commit is contained in:
zqlit committed 2026-06-01 17:57:22 +08:00
1 parent 06a5f3da4d
commit 671871e0b2
145 files changed
+9786 -59

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import urllib.request, json
# Quick check via API
r = urllib.request.urlopen('http://localhost:8016/api/stats', timeout=5)
print('stats:', r.read().decode())
r = urllib.request.urlopen('http://localhost:8016/api/posts?perPage=3', timeout=5)
data = json.loads(r.read().decode())
print('posts count:', data['total'])
for p in data['posts']:
print(' -', p['slug'], p['title'][:30])