melanie / Bluesky and Mastodon to JSON Feed

0 Kedvelések
0 forkok
3 fájlok
Utoljára aktív 1741068833

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 Kedvelések
0 forkok
2 fájlok
Utoljára aktív 1741105149
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 }
Újabb Régebbi