Download the ppm.js file, and add it your your PATH. (Make sure to chmod +x it.)
You will need to set the POWERCORD_PATH enviroment variable to your Powercord installation, the root git repository.
(Automated installer coming soon:tm:)
Original Author: Rui Ueyama (creator of the mold linker)
Translated by @windowsboy111
Minimally edited by @lleyton
import { Rettiwt } from "npm:rettiwt-api"; | |
const fediHandle = /@[\w.-]+@[\w.-]+/; | |
const apiKey = Deno.env.get("TWITTER_API_KEY"); | |
const username = Deno.args.at(-1); | |
if (username === undefined) | |
throw new Error("You must pass your Twitter username as an argument."); |