Schedule posts to Bluesky with Cloudflare workers.
skyscheduler.work
cf
tool
bsky-tool
cloudflare
bluesky
schedule
bsky
service
social-media
cloudflare-workers
1
2export default function RefreshPostsButton() {
3 return (<>
4 <button id="refresh-posts" hx-get="/post/all" hx-target="#posts"
5 hx-trigger="refreshPosts from:body, accountUpdated from:body, click throttle:3s"
6 hx-on-htmx-before-request="this.classList.add('svgAnim');"
7 hx-on-htmx-after-request="setTimeout(() => {this.classList.remove('svgAnim')}, 3000)">
8 <span>Refresh Posts</span>
9 <img src="/icons/refresh.svg" height="20px" width="20px" alt="refresh icon" />
10 </button>
11 </>);
12};