melanie / Bluesky and Mastodon to JSON Feed
0 喜欢
0 派生
3 文件
最后活跃于 8 months ago
From the blog post I Made a Mastodon and Bluesky Client
Usage
Bluesky
Install dependencies
npm i --save @atproto/api
melanie / Pixelfed Export Downloader to Markdown
0 喜欢
0 派生
2 文件
最后活跃于 8 months ago
Takes the outbox.json Pixelfed export data and downloads the files and creates markdown files. Great for use with something like 11ty or Astro.
| 1 | import { stringify } from "yaml"; |
| 2 | import fs from "node:fs"; |
| 3 | import https from "node:https"; |
| 4 | import sanitize from "sanitize-html"; |
| 5 | |
| 6 | function omit(obj, props) { |
| 7 | obj = { ...obj }; |
| 8 | props.forEach((prop) => delete obj[prop]); |
| 9 | return obj; |
| 10 | } |
上一页
下一页