rudeshark.net/packages
コルセット姫@がんばらない cae6ba0edb feat: Add media to Mastodon and Calckey post imports (#10496)
### What does this PR do?

Adding files fields in the export notes option, and corresponding import notes

Current the mastodon import does not import any attachments, this pr will use the "upload from url" feature to include medias if its a valid URL.

There are many way to convert the outbox.json file, can be simple as upload media_attachments to any web hosting and do string replace on the json file.

I also create a tool that upload the tar.gz file with auto convert and host the media as simplify the process at https://tempfile.moegirl.live

Detail example can be found at https://fedi.moegirl.live/notes/9h76gtqnp2gwl5dz

https://r2temp.moegirl.live/2023/7/15/15356683-050f-423a-b331-c9a05561f52a/shana-settings-_-meng-zhai-le-yuan-xyou-yu-ou-xiang-de-luo-ke-ke-wu-yan-moe-otaku-elysian-x-gloomily-idol-s-rococo-luncheon----mozilla-firefox-private-browsing-2023-07-15-18-36-37.mp4

Co-authored-by: CGsama <CGsama@outlook.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10496
Co-authored-by: コルセット姫@がんばらない <cgsama@noreply.codeberg.org>
Co-committed-by: コルセット姫@がんばらない <cgsama@noreply.codeberg.org>
2023-07-15 22:56:09 +00:00
..
backend feat: Add media to Mastodon and Calckey post imports (#10496) 2023-07-15 22:56:09 +00:00
calckey-js refactor: ♻️ substr -> slice 2023-07-12 23:56:22 -07:00
client fix: move nowrap to proper place 2023-07-15 15:26:15 -04:00
megalodon refactor: 🗑️ deprecate DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 00:06:42 -07:00
sw Refactor sw (#10579) 2023-07-13 16:52:04 -07:00
meta.json refactoring 2021-11-12 02:02:25 +09:00
README.md revert 679d89fa59 2023-07-08 16:56:54 +00:00

📦 Packages

This directory contains all of the packages Calckey uses.

  • backend: Main backend code written in TypeScript for NodeJS
  • backend/native-utils: Backend code written in Rust, bound to NodeJS by NAPI-RS
  • client: Web interface written in Vue3 and TypeScript
  • sw: Web Service Worker written in TypeScript
  • calckey-js: TypeScript SDK for both backend and client, also published on NPM for public use
  • megalodon: TypeScript library used for partial Mastodon API compatibility