Skip to main content
David Loor
项目博客工具书籍联系
←Back to Blog

#Api

3 posts with this tag

已找到 3 篇文章
2025-11-25
8 min read

我选择使用 Server-Sent Events 而非 WebSockets 来流式传输 AI 响应的原因

在构建实时功能时,开发者通常默认选择 WebSockets。但对于流式传输 AI 响应,Server-Sent Events 结果证明是更好的选择。以下是我在 Kindle ChatGPT 项目中实现 SSE 时学到的经验。

web-developmentai-toolsjavascriptnext-js
2025-11-23
12 min read

Building Secure APIs with Token Authentication and OpenAPI

I built an API token system and OpenAPI docs for my project. Here's what I learned about secure token generation, authentication, and making it work with ChatGPT and other tools.

DevelopmentAPI+1
2025-11-03
5 min read

Putting my step count on my website

I built a public step counter using Google Fit API and Cloudflare Workers. It shows my daily steps, weekly totals, and streak on my website. Here's how I did it and why public accountability works.

web-developmentapi-integration+1

保持更新

在您的收件箱中获取最新的文章和见解。

Unsubscribe anytime. No spam, ever.

© 2025 David Loor. All rights reserved.