Skip to content

๐Ÿš€ Save my Chatbot: Download your Phind, Perplexity and MaxAI-Google search threads into markdown files (unofficial). Now available in the Chrome Web Store and the Firefox Add-ons Store! (formerly Save my Phind)

License

Notifications You must be signed in to change notification settings

KernelBypass/SaveMyPhind-conversation-exporter

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SaveMyPhind logo Save my Chatbot - AI Conversation Exporter

๐Ÿš€ Download your Phind, Perplexity and MaxAI-Google search threads into markdown files!

๐Ÿ˜Ž Why Save my Chatbot?

  • To keep AI generated information offline,
  • To share threads with others,
  • To read and process in a knowledge base / note-taking app (like Obsidian),
  • To improve the Phind website usability.

๐Ÿ‘‰ When you are on Phind, Perplexity or Google (with MaxAI integration), simply click on the extension icon. It will automatically export the thread you are currently on into a formatted markdown file.

๐Ÿ˜ฎ This extension also adds export options directly inside the Phind interface. Now, you can export all your threads clicking on a simple button!

โœ… Enjoy!

โœ๏ธ Please note that this project is not affiliated with Phind, Perplexity nor MaxAI.


โ“ Extension usage

How to install?

Simply go to the store and click on the install button:


You can also install it manually following these steps

  • Chromium browsers:
  1. On GitHub, click on Releases (in the right side menu), go on the latest version and download the save-my-phind_x.y.z.crx file.
  2. Go on chrome://extensions (or [yourChromiumBasedBrowser]://extensions), then enable "Developer mode" (toggle on the top right) and reload the page.
  3. Drag and drop the .crx file on the page, then click on "Add extension" in the appearing popup window.
  • Firefox:
  1. On GitHub, click on Releases (in the right side menu), go on the latest version and download the save-my-phind_x.y.z.xpi file.
  2. Go on about:addons, then click on the gear icon on the top right and select "Install Add-on From File...".
  3. Select the .xpi file you just downloaded and click on "Add" in the appearing popup window.
  4. Right-click on the extension icon and select "Always allow for www.phind.com / www.perplexity.ai".

โœ… You're done!

How to use?

Simple!

  1. Go to a Phind search thread.
  2. Click on the extension icon.

๐Ÿ‘‰ It will automatically download a structured markdown file containing the conversation.


๐Ÿชถ Contribution and usages

The project

Feel free to contribute to this project by forking it and making pull requests. You can also open an issue if you find a bug or have any suggestion. However, you can't distribute this project without contacting me first.

This project is licensed under the RMD-C v1.0 License. Please check for more details.

Libraries licenses

This project uses third-party libraries. See the license list for more details about libraries' licenses.


๐Ÿ—บ๏ธ Roadmap

See the CHANGELOG file to see changes sorted by version.

Main features:

  • Phind: Export tables into markdown (Turndown rule)
  • Export ChatGPT threads
  • Improve Perplexity UI
    • Update modal
    • Donation modal
  • Donation popup when user reaches a certain number of clicks (Paypal, BuyMeACoffee, etc.) (in chrome.storage.sync)
  • Export Perplexity threads
  • Search bar above threads list to filter threads
  • Open a form when uninstalled to ask for feedback
  • Add type (Phind Search, Phind Pair, ChatGPT) between date and title in filename + in header link
  • Update modal to inform users about the new features
  • "Export All Threads": Downloading several threads at once, as text files, (into as a zip file - later).
    • All in one tab (with a "loading" message?) or open each thread in a new tab (permission tabs? + browser resources lags?)
  • Pair programmer: Put correct index before links both in sources and all search results list
  • Pair programmer: Export All Search results correctly
  • Pair programmer: Export Sources correctly => https://www.phind.com/agent?cache=clk8kpsu00011jq08l0gi6a0m
  • Make icon adapted to each site (Phind, ChatGPT, etc.)
  • Web: Export if tag main, article, => Need to think about the behavior enabling to choose if we need to export the content and what to export
  • Export webpages : Turndown rules to filter interesting content
  • Make Save my Phind available on Firefox
  • Export Phind Pair Programming conversations
  • Title stops at the first line break (and ending whitespaces are removed)
  • Copy to clipboard when clicking on the extension icon (in addition to file download)
  • Reduce file title length and move the next as the subtitle
# My title...
### ... is too long
  • Export complete user questions unfolding and refolding them (Unfold user questions before exporting and refold them after)
  • Model name instead of "AI Answer" (e.g. "GPT-3.5 Answer", "Phind Answer")
  • Source numbers next to the source links (numbered list corresponding to citations)
  • Export question above sources
  • Code type (language) specified in codeblocks (๐Ÿ‘ Thanks to @nhuhoang0701)
  • Include AI response quotes after the response
  • Export source links
  • Link to the Phind original search on the file top
  • Export conversation to markdown

Features to think about:

  • Save threads content in chrome.storage.sync to be able to search inside threads content (+ instant export all threads) => Keep only the last x threads or the last x days? Or keep all???
  • Side buttons for each response card to export it individually
    • Download
    • Copy to clipboard
    • Share to Obsidian
    • Share to Roam
    • Share to Notion
    • Share to Evernote
    • Share to Google Keep
  • Option page : choose file format (markdown, html, txt)
  • Option page : choose subfolder to save files in (or custom download location)
  • Option page: option to disable "Export all threads" button (for all/per site)
  • Option page: option to disable UI improvements (per site)
  • Link to the downloaded file in the currently opened note in Obsidian
    • Redirect link to confirm donation (variable "donation level" in sessionStorage: no popup if recurrely donating, no popup during x time if single donation, popup if not)
  • "Export All Threads": into as a zip file.
  • "Export All Threads": Modal when export is finished or stopped (with stats + CTA review/donation)
  • Help bubbles hovering on ? circles next to elements
  • Phind guide to discover the website
  • (Copy the last response to the clipboard when clicking on the extension icon (instead of the entire response) ) - Phind Search : click on the copy button - Phind Pair : export the last answer div
  • (Export next search result pages (sources side panel))
  • Automatically download the conversation?
  • Automatically copy the last response to the clipboard (without clicking on the extension icon)?

Bugs/Issues:

  • Extension icon not updated on Firefox => User needs to click or manually allow the extension to access websites
  • Detect when connected or something to anticipate and specify the "Export all threads" button usability
  • "Export All Threads": Button "Stop exporting" always visible after export is finished => Redirect to homepage when export is finished
  • (Web: Exported links beginning with # prepended by page url)
  • Export bug on Perplexity thread: https://www.perplexity.ai/search/Quel-nom-donner-TTxbvUcKQ9ib8r0O_I4tjQ?s=c
  • Perplexity: Export error when sending file https://www.perplexity.ai/search/9afe2327-9ca6-473b-8ec6-9ebcd8d862fe?s=u
  • "Rate on Chrome Web Store" for Firefox users => Specify both links in infos.json(?) and change for each browser (when bundle?)
  • Page title bug: https://www.phind.com/agent?cache=clkf6wi1n000djx074ar4fpfo
  • Fix link formatting with < and > characters
  • Fix text formatting with < and > characters
  • Update icon for already opened tabs in windows
  • Fix bug "charAt not a function" on some specific threads
  • File title error in "Pair programmer" due to removed textbox
  • Make extension icon with transparent background
  • Web: Exported links beginning with / prepended by page url
  • Too long file names can cause issues with OS or Git (cf. Reduce title length feature)
  • Import line breaks in user questions and search bar (Phind uses spaces as line breaks)
  • Long user question are cut off in the middle so are not entirely exported
  • Special characters in title are not correctly formatted (e.g. "\n" should be "\n")
  • Fix broken quotes links
  • Fix bug not exporting correctly (AI begins with backtick?, citations so the HTML structure is different?)
  • Icons instead of sources
  • Code is not correctly formatted when converting Html to md
  • Not longer exporting AI answers and source links => stronger CSS selectors (try not to use styling classes)
  • Inconsistent spaces between questions and answers
  • Fix bug "AI Answer" with user question
  • File title is the last followup question (= tab title) => title taken from search bar
  • (Prevision) Fix browser alert "Do you want this site to open external application?"

Security and maintenance:

  • Auto logs (to Sentry?)
  • Make unit/e2e tests:
  • Use the Phind (official/unofficial?) API instead of scraping the HTML?
  • CI/CD pipeline?
  • Structure UI improver files: (modules + separate files for each site)
  • New branding: new name: Save my Chatbot, and new logos (SaveMyAI + Perplexity)
  • Externalize popup text into an external file (txt, JSON?)
  • Fetch extension infos from json to chrome storage when installed
  • Divide contentScript code into modules
  • Externalize background.js functions into modules
  • Module structure improvements
  • Remove unused libraries
  • Divide code into modules
  • Use npm to manage dependencies
  • License list generation
  • Build automation
  • Comments + better code structuration
  • Update repo structure and README: extension focus
  • Add a license
  • Sanitize HTML code

About

๐Ÿš€ Save my Chatbot: Download your Phind, Perplexity and MaxAI-Google search threads into markdown files (unofficial). Now available in the Chrome Web Store and the Firefox Add-ons Store! (formerly Save my Phind)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.6%
  • CSS 3.4%