Twitter Bookmark Exporter is a Chrome extension that allows you to export your bookmarks from Twitter (now X) to a JSON file.
- Export all your Twitter bookmarks with a single click
- Saves bookmarks as a JSON file
- Includes tweet text, timestamp, and media information
- Handles pagination to fetch all bookmarks
- Clone this repository or download the source code.
- Open Chrome and navigate to
chrome://extensions/
. - Enable "Developer mode" in the top right corner.
- Click "Load unpacked" and select the directory containing the extension files.
- Click on the extension icon in your Chrome toolbar to open the popup.
- Click the "Export Bookmarks" button.
- The extension will open a new tab to Twitter's bookmarks page.
- Wait for the export process to complete. The status will be shown in the popup.
- Once finished, a JSON file containing your bookmarks will be downloaded automatically.
manifest.json
: Extension configurationpopup.html
: HTML for the extension popuppopup.js
: JavaScript for the popup functionalitybackground.js
: Background script for handling bookmark export
This extension requires the following permissions:
scripting
: To interact with web pagesdownloads
: To save the exported bookmarks filestorage
: To store necessary data locallywebRequest
: To intercept and handle web requests
To modify or extend this extension:
- Update the manifest.json file for any new permissions or features.
- Modify popup.html and popup.js for changes to the user interface.
- Edit background.js to alter the bookmark fetching and processing logic.
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License
This extension is not affiliated with, endorsed, or sponsored by Twitter, Inc. Use at your own risk.