Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterwilli/lemmemovetolemmy
It will send your posts to any given Lemmy Instance or Community
https://github.com/peterwilli/lemmemovetolemmy
lemmy reddit
Last synced: 3 months ago
JSON representation
It will send your posts to any given Lemmy Instance or Community
- Host: GitHub
- URL: https://github.com/peterwilli/lemmemovetolemmy
- Owner: peterwilli
- License: mit
- Created: 2023-07-27T19:23:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-28T09:33:03.000Z (over 1 year ago)
- Last Synced: 2024-07-03T17:02:51.903Z (4 months ago)
- Topics: lemmy, reddit
- Language: JavaScript
- Homepage: https://lemmy.emerald.show/c/lemmemovetolemmy
- Size: 14.6 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-lemmy - lemmemovetolemmy - activity/y/peterwilli/lemmemovetolemmy) (Projects / Tools)
README
# Lemme move to Lemmy!
Easily move your own posts from any subreddit to any Lemmy community!
## ⚠️ Word of warning ⚠️
Be careful when using this tool in communities that aren't running on your own instance, some communities like Beehaw will get you banned for spamming. Even if the community or instance is meant for archiving, always ask the mods for permission first!
I used this tool on my own instance to archive my dream content, which meant that nobody was going to stop me.
Thanks to [@[email protected]](https://lemmy.emerald.show/comment/3871) for bringing this to my attention!
## How it works
We call the Reddit API to fetch any post made by a given username (you) and then call the Lemmy instance API in question to repost the post on Lemmy.
## Advantages
- You can use your new account on Lemmy to share your Reddit post, and it physically rests on Lemmy, effectively supporting migration for users.
- You don't need to own a Lemmy instance or be a database admin or crawl webpages because we call Lemmy API directly.
## How to use it?
- Make sure to install nodejs first!
- See examples below, for more combinations, run `npx lemmemovetolemmy --help`## Examples
Migrate all dreams by testuser on Reddit /r/dreams to testuser2 Lemmy "dreaming" community, and prompt for a password
```
npx lemmemovetolemmy --instance-url https://lemmy.emerald.show --username testuser2 --subreddit Dreams --reddit-username testuser --lemmy-community-name dreaming
```Migrate all dreams by testuser on Reddit /r/dreams to testuser2 Lemmy "dreaming" community, and prompt for a password and 2 factor authentication token.
```
npx lemmemovetolemmy --instance-url https://lemmy.emerald.show --username testuser2 --subreddit Dreams --reddit-username testuser --lemmy-community-name dreaming --totp-token prompt
```Migrate all dreams by testuser on Reddit /r/dreams to testuser2 Lemmy "dreaming" community, and pre-enter password
```
npx lemmemovetolemmy --instance-url https://lemmy.emerald.show --username testuser2 --subreddit Dreams --reddit-username testuser --lemmy-community-name dreaming --password=secret
```# Sponsoring development
If my tool was helpful to you, please consider supporting my channel on [Patreon](https://patreon.com/emerald_show), with discounts and lots of behind the scenes footage on dev streams where projects such as this one come to life.
Hope to see you there!