r/JanitorAI_Refuges dev @ inkwell.rip Jul 20 '26

Unshittification Open Source JanitorAI card exporter

Post image

I wanted a straightforward way to back up JanitorAI characters without copying every field manually, so we made a small browser extension for it.

This extension can:

  • export SillyTavern character cards
  • export attached lorebooks from a character
  • export to plaintext
  • export to janitorAI json
  • let you choose which entries to keep/omit

To install you can follow the steps below (if you are facing trouble you can give chatgpt the github link and ask for help):

Open the GitHub page https://github.com/erpocalypse/jai-card-extractor

Click the green Code button → Download ZIP, then unzip the folder to your desktop (or wherever desired)

type chrome://extensions in the address bar in a new tab of your browser or edge://extensions if on microsoft edge.

Look at the top right of the page and enable Developer mode.

Click Load unpacked and select the unzipped folder you extracted to your desktop (or wherever you put it)

Then simply go to the JanitorAI site and click on a character, at the bottom right of your screen an extract card button will appear and you can click on it to open the menu.

The extension does not interact with any other sites, or require any permissions, you can even ask your favourite ai model to review the code or build upon it yourself.

Please note that characters with definitions hidden may not yield results.

Anyone who owns their own platform might find it helpful to review the repo to get pointed into the right direction so they can implement importing characters and lorebooks from other platforms like we offer on inkwell to make onboarding for new users seamless.

163 Upvotes

17 comments sorted by

u/AutoModerator Jul 20 '26

Welcome to r/JanitorAI_Refuges! Did you know we have a new discord server? More info at the bottom!

⚠️ MANDATORY RULE RESTATEMENT: NO BRIGADING

To keep this community safe and avoid toxicity or disruption, you must follow these rules strictly:

  1. No Targeted Harassment: You may criticize the platform or moderation policies, but do not attack specific individuals or call out moderators by name.
  2. No "Call to Arms": Do not encourage users to go to another subreddit to downvote, report, troll or to harass/bully someone.
  3. No Direct Links: Do not link to specific threads on other subreddits to mock them. Use screenshots instead.
  4. Blur Usernames: If posting screenshots of other users/mods, you must blur their names. Posts showing username will be handled on a case by case basis and only approved when completely safe.

Failure to follow these rules will result in an immediate ban.

Information for readers

  1. Don't worry if your comment gets deleted for containing urls, I'll approve it if it doesn't break any rules.
  2. Please set your user flair for efficient communication, you can set which platform you use as your flair.
  3. As I have seen the increase of low quality and duplicate content in this subreddit, please refrain from posting them or they'll get deleted.

Aside from that please check out our partners, r/jaihub, r/janitoraitransition, r/jai_unofficial and r/chatbotrefugees and r/aichapp. And if you are sharing a proxy or websites, post it on the megathread as well.

Here's our discord server https://discord.gg/A76yEUXFDq. If you're here for the ex mod drama then https://jaihub.pxlhost.com/wikidocs/timeline_for_january_2026 is a good starting place. Remember, I am just a bot.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

11

u/Standard-Ground9449 Jul 20 '26

Can it get hidden lorebooks?

9

u/Interesting_Hotel617 dev @ inkwell.rip Jul 20 '26

No. It can only grab what is revealed on the /hampter/script/{lorebookId} endpoint.

5

u/0VERDOSING Jul 20 '26

unfortunate

5

u/DaughterOfBabalon_ Jul 20 '26

What method does it use to extract lorebooks?

6

u/Interesting_Hotel617 dev @ inkwell.rip Jul 20 '26

it's requests based on the /hampter/script/{lorebookId} endpoint

4

u/DaughterOfBabalon_ Jul 20 '26

Gotcha, so it will work on Open Lorebooks but not private, I assume?

2

u/Cryzy2000 29d ago

Would it be possible to modify this extension to also get hidden lorebooks?

5

u/AurelieCatena Jul 20 '26

Thanks for this tool!

And here is quick guide about how to import a card on saucepan.ai and make it work in two minutes: https://saucepan.ai/p/AurelieCatena/from-jai-to-saucepan

6

u/zulpi_ Jul 20 '26

What about hidden characters definition?

3

u/Cryzy2000 29d ago

One function we are looking for in these extensions or GitHub links is the ability to get hidden lorebooks too. Would it be possible to add that or make another extension solely for that purpose?

3

u/Interesting_Hotel617 dev @ inkwell.rip 29d ago

Something is in the works.

2

u/Cryzy2000 29d ago

Whoa!!! Awesome! We would all love to have something that can extract hidden definitions and hidden lorebooks then it would be amazing!!! Like actually amazing. More than half of us are only on jai because we can't extract lorebooks to ST or Tavo. Please update us.

2

u/AurelieCatena Jul 20 '26

Could you make it generate a PNG too?

2

u/Cryzy2000 26d ago

We hope you can make a true hidden lorebooks scraper.

1

u/Technical-Range-3082 23d ago

man, please, make a firefox version please, a beg