Chrome / Edge extension that adds a Local History entry to the X (Twitter) sidebar — distinct from X’s own History tab (bookmarks, likes, videos, articles).
It keeps a local-only history of posts you care about — detail pages you open, plus likes, reposts, replies, bookmarks, and careful timeline reads — with search. Nothing is uploaded by default.
Website: https://x-history.robinren.me · Privacy: https://x-history.robinren.me/privacy.html
Hosted on GitHub Pages (docs/) with custom domain via Cloudflare DNS.
- Sidebar Local History item (matches X home / icon-rail layouts; sits next to X’s History/Bookmarks)
- Records:
- Post detail pages you open
- Like / repost / reply / bookmark from the timeline
- Careful reads (stable focus ~3s+; not every scroll-by)
- Search, avatars, relative time, source badges & filters
- Multi-language UI (follows page / browser when possible)
chrome.storage.localonly — up to ~500 recent items- No X official API, no analytics SDK
- Chrome →
chrome://extensions→ Developer mode - Load unpacked → select this repo root
- Open x.com and hard-refresh
Install from the Chrome Web Store.
History lives in chrome.storage.local for this extension’s Chrome Web Store ID (jijknbffmnjebeklhmmfldhgkefgcdoo). Chrome keeps that data when it updates the same ID (store → store).
manifest.json includes the store public key, so Load unpacked uses that same ID. Installing from the store on top of an unpacked build is an in-place update — history stays. Do not uninstall first when moving from unpacked to the store: uninstall still deletes storage (Chrome’s behavior).
chmod +x store/pack.sh store/publish.sh
./store/pack.sh # → dist/x-history-<version>.zip
./store/publish.sh # pack + upload (needs .env — see store/AUTOMATE.md)Store materials:
- store/PUBLISH.md — first-time listing checklist
- store/AUTOMATE.md — API auto-release
- store/LISTING.md — copy for the developer dashboard
- store/privacy.html — privacy policy (host publicly for the store)
x-history/
├── manifest.json
├── icons/
├── src/
│ ├── background.js # SPA navigation bridge
│ ├── page-hook.js # MAIN-world history hooks
│ ├── storage.js # local CRUD + sources
│ ├── content.js # UI, focus, capture
│ └── content.css
├── docs/ # GitHub Pages landing
├── store/ # listing, pack, privacy
├── LICENSE
└── README.md
MIT — see LICENSE. Issues and PRs welcome once the repo is on GitHub.
Suggested remote:
git init
git add .
git commit -m "chore: release v1.3.0"
gh repo create robinv8/x-history --public --source=. --remote=origin --pushEnable GitHub Pages → branch main → /docs, custom domain x-history.robinren.me (see docs/CNAME).
- Web only (not the official mobile apps)
- X has a native History tab (bookmarks / likes / videos / articles). This extension is a local browse history of posts you opened or engaged with — different purpose, stored on your device
- X layout changes may temporarily break the sidebar inject
- Does not call the X API
Current: 1.3.1