jason
August 14, 2024, 3:05am
1
How can I export the content of a chat to a local file? Where is the chat file stored, and can it be opened with other editors
1 Like
Hi @jason ,
There have been several requests for this feature.
As far as I am aware, it is not available yet.
There is a Copy
button beneath each message that lets you save an individual message as markdown, but not the whole chat.
For reference, here are links to some of the requests:
hey guys, iām really loving cursor pro so far, just wanted to ask if thereās any way to export my chat conversations in cursor currently? does this feature exist? if not, any plans to build it?
really need this feature so I can search through past conversations easily
thanks!
How do I export or share a chat with AI?
I want to be able to share my chat with AI same as ChatGPT does in order to share it with my coworkers.
Or at least be able to export it. Currently I have to copy/paste every chat message manually and it becomes very tedious work.
Screenshot is not an option, as I need to be able to search through it, and copy/paste content.
Are there any suggestions on how can I share/export quickly chat on Cursor AI?
I want to store my understanding of code somewhere else as documentation, can you guys provide a way to export the chat and also to rename them so that we can keep track of which chat has which questions rather than just the first question. Thank you
A user has posted one possible workaround but, as I am not familiar with the inner workings of the process, I cannot comment on its safety etc:
Go to workspaceStorage. (On Windows, cd %APPDATA%\Cursor\User\workspaceStorage)
You will see a list of folders whose names are md5 hashes. Open each of them.
datasette state.vscdb
Visit āhttp://localhost:8001/state? ā in a browser and enter this query:
SELECT
rowid,
[key],
value
FROM
ItemTable
WHERE
[key] IN (āaiService.promptsā, āworkbench.panel.aichat.view.aichat.chatdataā)
Parse the json based on your use case.
4 Likes
jason
August 14, 2024, 3:22am
3
Thank you for your reply. After posting my question, I read some information about the same request. I look forward to this feature being updated soon.
1 Like
ScottVK
September 7, 2024, 7:23pm
4
Do you know where this would be on a linux system?
I made a browser for this here:
Contribute to thomas-pedersen/cursor-chat-browser development by creating an account on GitHub.
Letās you download the chats as md, pdf or html
Both Chatās and Composer logs.
Feedback appreciated.