TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A pure rust discord bot hosted on Cloudflare workers

2 点作者 sethgecko超过 2 年前
Hi HN,<p>I&#x27;ve made a discord bot template that you can clone and create your own bots.<p>It&#x27;s a serverless bot hosted on cloudflare workers which looks like a great use case for this sort of thing.<p>Using workers you have almost zero (&lt;5ms) cold start time for your functions. With a free account you get up to 100k requests per day and you can store&#x2F;access state using KV or durable objects.<p>Workers only support Javascript and WASM in their runtime. This bot is writter in pure rust which compiles to WASM and deploys your worker with a simple CLI command.<p>I&#x27;ve made a couple of bots using this template, mainly for stitching together rest APIs and the response times are pretty great.<p>That&#x27;s all, thanks!

暂无评论

暂无评论