melanie / Bluesky and Mastodon to JSON Feed
0 likes
0 forks
3 files
Last active 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 likes
0 forks
2 files
Last active 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 | } |
melanie / tapestry-attachment-extraction.js
0 likes
0 forks
1 files
Last active 8 months ago
| 1 | /* |
| 2 | Attachment Extracting |
| 3 | for Iconfactory's Tapestry plugins |
| 4 | |
| 5 | Grabs urls from a string, like `content_html` in a JSON Feed, and makes them attachments. |
| 6 | |
| 7 | Made to be used in your Tapestry plugins like so: |
| 8 | |
| 9 | ```js |
| 10 | const myItem = Item.createWithUriDate(url, date); |
Newer
Older