Skip to content
robinv8Public

About

Local-first Chrome extension: History for X — posts you open, like, repost, or carefully read. MIT.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

X History

Chrome Web Store License: MIT Manifest V3

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.

Features

  • 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.local only — up to ~500 recent items
  • No X official API, no analytics SDK

Install (development)

  1. Chrome → chrome://extensions → Developer mode
  2. Load unpacked → select this repo root
  3. Open x.com and hard-refresh

Install (store)

Install from the Chrome Web Store.

Updates and history

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).

Package / publish

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:

Project layout

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

Open source

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 --push

Enable GitHub Pages → branch main → /docs, custom domain x-history.robinren.me (see docs/CNAME).

Notes

  • 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

Version

Current: 1.3.1

About

Local-first Chrome extension: History for X — posts you open, like, repost, or carefully read. MIT.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages