npm create hono@latest
cd rss3-dsl-demo
npm install @rss3/sdk
npm run dev
//...keep other imports
import { getActivities } from '@rss3/sdk'
// Modify logics here
app.get('/', async (c) => {
const socialActivities = await getActivities({
account: "vitalik.eth",
tag: ["social"],
type: ["comment"],
platform: ["Farcaster"],
limit: 3,
});
return c.json(socialActivities)
})
// ...keep other logics
curl 'http://localhost:3000'