Skip to main content

TweetNook

TweetNook is a self-hosted archive for your Twitter/X bookmarks, likes, and tweets that shows them almost exactly as they look on Twitter, including threads, quoted tweets, photos, videos, and Articles. Import your official Twitter archive, pull in new bookmarks and likes automatically, and search by words, author, date, or tag from any device on your network. It runs on your own computer or server and stays fast even with years of posts. TweetNook is a fork of TweetXVault.

Try the demo and browse a sample archive of real tweets.

TweetNook on desktop and mobile, showing filtered saved posts and an open conversation

Features

  • Import your official X archive to bring in your full history of tweets and likes, then let TweetNook fill in the details and download media the archive leaves out.
  • Collect new bookmarks, likes, and your own tweets automatically on a schedule you choose, or start a sync from the browser and watch its progress.
  • Everything you save stays on your own disk, photos and videos included. TweetNook can flag posts that later disappear from X, so you can browse the ones you preserved.
  • Read saved threads, quoted posts, and Articles the way they appeared on X, with photos, videos, GIFs, link previews, and Community Notes. TweetNook fills in the rest of a thread even if you only saved one post from it.
  • Find anything in seconds by searching words, authors, dates, post type, or media type. Sort likes by the order you liked them, or shuffle to rediscover old saves.
  • Organize posts with your own tags and descriptions, or use optional automated tagging to find images and videos by what they show.
  • Browse from your phone or desktop behind an optional password, customize themes, fonts, and layouts.
  • Don't need the web app? Use TweetNook entirely from the command line.

One-Step Install

Run this command to install TweetNook. It sets up Python for you and asks how you want TweetNook to start and who can access it.

bash -c "$(curl -fsSL https://github.com/gezerwezer/tweetnook/releases/latest/download/install.sh)"

On Linux with systemd, choose the background option to have TweetNook start at boot. Otherwise, start it yourself with:

tweetnook serve

Then open the address shown in the terminal, and complete the quick web setup. Import your archive or start fresh, connect your X account, choose what to sync, and set a web password. If you only want to browse an imported archive, with all media downloaded locally, you can skip connecting X.

Install with pip

For a macOS or Linux server with Python 3.12 or newer:

python -m pip install tweetnook
tweetnook serve

You can use the web app from a browser on other operating systems, including Windows. Native Windows server installations are not supported. See the getting started guide for installation and connection steps, including command-line setup.

Imports

An official X archive is a good starting point for older history. Request your data archive from X, then upload the ZIP during Setup.

The import brings in your tweets, likes, and some exported media. Some likes contain only a link or a little text; connecting your account lets TweetNook fill in what X still makes available.

To import entirely from local files without contacting X:

tweetnook import x-archive /path/to/twitter-archive.zip --offline

See imports for the download steps, supported archive contents, and ways to continue an interrupted import.

Updates

For a managed Linux background service, run:

tweetnook update

TweetNook updates and restarts the service, keeping your archive, settings, and installed add-ons. For macOS or manual installations, follow the update steps.

Syncing

A sync uses your X account to copy your newest bookmarks, likes, or tweets into your archive.

Run a sync on demand, or schedule it to run automatically. Syncs run on the computer where TweetNook is installed, not in your browser. You can close the page, and scheduled syncs keep running as long as that computer is awake.

Your first sync may take a while if you have a lot of saved posts. You can stop a sync at any time without losing anything. Posts already saved stay in your archive, and the next sync picks up where it left off. You can also run individual steps on their own: download media, fill in the rest of saved conversations, or refresh X Articles.

Live sync needs an X account and its session cookies. It can only collect what X makes available to that account, so combining sync with an official archive is useful for older history. The syncing guide covers schedules and catching up.

Browsing

Switch between Bookmarks, Likes, Your tweets, and All. Sort by post date or popularity, browse likes in liked order, or choose random order when you don't have anything particular in mind.

Open a post to read its saved conversation and quotes. On desktop, a split view keeps your feed and the open post side by side. On a phone, it looks and feels like the X app.

You can change the theme, accent color, font, and text size, and choose a grid or carousel for posts with several photos or videos. Each browser keeps its own appearance choices, so your phone and desktop can look different.

Author cards let you look through saved versions of a profile. Posts can also show Community Note changes and availability history as TweetNook observes them. Availability checks help you see whether a saved post is still on X, while keeping the material you've already archived.

See browsing for media controls, profiles, Jobs, and the rest of the web app.

Start with a word you remember, then narrow it down. The same queries work in the browser's search box and the command line:

Search Finds
"train station" That exact phrase.
coffee from:alice Posts by Alice containing coffee.
since:2025-01-01 until:2026-01-01 Posts published in 2025.
has:video -is:reply Posts with videos, excluding replies.
has:note Posts with current or past Community Notes, including on directly quoted posts.
is:uncaptured Entries whose post content has not been saved.
tag:"home cooking" Posts with that tag.
description:"red bicycle" Those words in your saved descriptions.
url:example.com Posts with matching saved links.

You can combine filters, exclude words with a minus, or use uppercase OR for alternatives. Search looks through your saved archive. Entries without captured content are hidden by default; use is:uncaptured to find them.

tweetnook search 'coffee from:alice' --limit 50 --sort newest

See search for the full list of filters and more examples.

Tags

Add tags from a post's menu, and write a description when there's something you'd like to remember or search for later. Settings > Tags lets you browse your tags, merge duplicates, and remove ones you no longer use.

Hiding a post removes it from ordinary feed and search results. Its saved copy remains available in direct links, conversations, quotes, terminal views and JSON exports. Search for is:hidden to find it and show it in your feed again.

Optional automated tagging suggests tags and can add descriptions of downloaded images and videos, including text visible in them. That lets you search for something in a picture even if the original post never mentioned it. You can review and edit the results. Manual tags and ordinary browsing, imports, and sync work without it.

See tags for organizing posts and automated tagging for setup, previews, and usage controls.

Security

TweetNook runs entirely on your own machine, and your archive is stored there. If you only use TweetNook on the computer it's installed on, set the host to 127.0.0.1 in Settings. If you plan to open it from other devices:

  • Use it on a trusted network. Anyone on your network can reach the web app, so set a web password.
  • Don't expose it to the internet. The web app serves plain HTTP. To reach it from outside your network, use a VPN such as Tailscale or a reverse proxy with HTTPS.

Documentation

Start with the user guides, or jump to what you need:

For contributions, see the developer docs. Release history is in CHANGELOG.md, and the project uses the Apache 2.0 license.

Credits

TweetNook began as a fork of TweetXVault and is developed independently. Thanks to rrika for sharing research on archive like order.

If you would like to migrate from a TweetXVault archive, follow the migration steps.

Metadata

Release files for tweetnook 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tweetnook 1.3.1
File Size Uploaded Provenance Actions
tweetnook-1.3.1.tar.gz 809.8 kB With provenance Details for tweetnook-1.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tweetnook 1.3.1
File Interpreter ABI Platform Actions
tweetnook-1.3.1-py3-none-any.whl Python 3 none any Details for tweetnook-1.3.1-py3-none-any.whl

Total release size: 1.6 MB

Release files / tweetnook-1.3.1.tar.gz

Download URL tweetnook-1.3.1.tar.gz
Size 809.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4ca57f55775c0b6bcf7b4f3202e37498e2f43cc1ac40b27369ed203c346621e7
BLAKE2b-256 checksum
How to use checksums
ce06a2a7918c27f54fcf1e24657fbf3846837a4b29cfd14438bc5456fb856752
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / tweetnook-1.3.1-py3-none-any.whl

Download URL tweetnook-1.3.1-py3-none-any.whl
Size 805.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6788376a30dcc8727b15c0f66a45323d5a28600bf31a944a44e50c10c94c0950
BLAKE2b-256 checksum
How to use checksums
6dc1d020a3f237d5ba87e19a8f3914ff3a59ff75d275c2081832270586f78772
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for tweetnook 1.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tweetnook-1.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page