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 / ghostty-config
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 month ago
| 1 | font-family = "MonoLisaVariable Nerd Font" |
| 2 | theme = Catppuccin Mocha |
| 3 | font-size = 16 |
| 4 | window-padding-balance = true |
| 5 | background-opacity = 0.42 |
| 6 | background-blur = true |
| 7 | mouse-scroll-multiplier = 1 |
| 8 | gtk-titlebar-hide-when-maximized = true |
| 9 | gtk-toolbar-style = flat |
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 | } |
melanie / kzone-layout.json
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 8 months ago
| 1 | [ |
| 2 | { |
| 3 | "name": "Melanie Grid Pro", |
| 4 | "padding": 0, |
| 5 | "zones": [ |
| 6 | { |
| 7 | "x": 0, |
| 8 | "y": 0, |
| 9 | "height": 100, |
| 10 | "width": 25 |
melanie / tapestry-attachment-extraction.js
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 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); |
melanie / lastfm-weekly-report.ts
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 8 months ago
| 1 | const LASTFM_API_KEY = process.env.FEED_LASTFM_API_KEY || ""; |
| 2 | const LASTFM_USERNAME = process.env.FEED_LASTFM_USERNAME || ""; |
| 3 | const LASTFM_API = "https://ws.audioscrobbler.com/2.0/"; |
| 4 | |
| 5 | function formatItem({ |
| 6 | artist, |
| 7 | image, |
| 8 | name, |
| 9 | playcount, |
| 10 | url, |
melanie / last.fm-to-mastodon.js
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 8 months ago
| 1 | // Variables used by Scriptable. |
| 2 | // These must be at the very top of the file. Do not edit. |
| 3 | // icon-color: pink; icon-glyph: headphones-alt; |
| 4 | // Last.fm to Mastodon |
| 5 | // by @zicklepop@nyan.lol |
| 6 | // |
| 7 | // Set a profile field to your currently playing track |
| 8 | // |
| 9 | // Requirements: |
| 10 | // - API Key from Last.fm: https://www.last.fm/api |
melanie / bunny-ai-blocking.js
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 8 months ago
| 1 | const config = { |
| 2 | ACCESS_KEY: "", |
| 3 | CLEANUP: false, |
| 4 | DEBUG: false, |
| 5 | PULL_ZONES: [69, 420], |
| 6 | }; |
| 7 | |
| 8 | const consts = { |
| 9 | AI_ROBOTS_FILE: |
| 10 | "https://raw.githubusercontent.com/ai-robots-txt/ai.robots.txt/main/robots.txt", |
melanie / letterbird-params.md
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 8 months ago
Undocumented Query Parameters You Can Use With Letterbird URLS
Example URL: https://letterbird.co/melanie
Using every parameter in the example URL: https://letterbird.co/melanie?name=from&email=email&body=body&subject=subject&hideheader=1
hideheader=1- hides the header and profile picturename=- Pre-fills the from name fieldemail=- Pre-fills the from email fieldbody=- Pre-fills the body text area
melanie / no-ai--next.config.js
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 8 months ago
| 1 | const nextConfig = { |
| 2 | async redirects() { |
| 3 | return [ |
| 4 | { |
| 5 | source: '/(.*)', |
| 6 | has: [ |
| 7 | { |
| 8 | type: 'header', |
| 9 | key: 'User-Agent', |
| 10 | value: |
Новее
Позже