New
Apps 6,419Makers 6,403This week 7
Promote your app−30%
Tamis screenshot 1
2views in
the last 30 days

Tamis

Browser extension that filters X posts by author country, region or language

Built with Claude Code

by andreasne89 · Unclaimed · added Oct 29, 2026
no ratings0 comments
Tamis: country and language filter for X

Tamis: country & language filter for X

Tamis (formerly X Country Block) is a browser extension for Chrome, Edge and Firefox that filters posts on x.com and twitter.com by the author's country or region, or by the post's language. Matching posts are hidden, or highlighted if you want to look first.

What it does

Open the popup and tick countries, regions or languages. Changes apply straight away, with no reload.

  • Hide matching posts, or highlight them: an outline plus a short note inside the post that says why it matched, with a one-tap "Always show @handle". In Hide mode, reposts and quotes of a match are hidden too.
  • 250 countries and territories, 20 regions and the 69 languages X detects, with search. A region covers every country in it.
  • The toolbar badge shows how many posts on the page are filtered.
  • Pause filtering with one switch; your picks are kept. Accounts you add to "Always show these accounts" are never hidden or highlighted.
  • Works on the home timeline, search, profiles and notifications.
  • Focus mode (Pro, $5.99 once, 7-day free trial): show only posts from the places and languages you tick and set the rest aside; each set-aside post folds to a one-line "Tamis · Not in your Focus picks". Payment is a Stripe Payment Link; there is no Tamis account.

How it decides

Tamis only uses data X has already loaded in the page. It makes no requests of its own.

  • The post's language tag and the account's language.
  • The "Account based in" or "Connected via" line from X's About this account. When X sends it, it wins.
  • The profile location (legacy.location, or location.location in the 2026 data), which fills the gap on the timeline: "Boston, MA" means the United States, not Morocco. Vanity text such as "Mar-a-Lago" does not invent a country.
  • A post's place tag, and region words.

In Hide mode a post with no location signal stays visible. In Focus mode only proven matches stay and everything else is set aside, including posts with no signal; with nothing ticked, everything shows. A quote from a ticked place does not keep a parent post from elsewhere.

X's location labels can be wrong, for example for people who use a VPN or travel. Tamis passes them on as they are. It adds no flags or labels next to anyone's name; Highlight mode adds a note inside matched posts, shown only to you, saying why they matched.

Privacy

Everything runs in your browser. Tamis has no servers and no analytics. Your picks, your Focus mode status and a cache of public profile data for accounts already shown stay in chrome.storage.local on your device, and uninstalling removes them. The cache keeps only accounts with a location signal, at most 5,000, each for 30 days; it is trimmed every time you open X in a normal window, even while filtering is paused, and the larger cache from 0.1.x is cleared on the first run. Private windows add nothing to it. See the privacy policy.

Develop

Requires Node.js 22.

npm ci
npm test              # version check, then unit tests
npm run typecheck     # tsc --noEmit
npm run build         # development build of dist/ (Chrome, Edge)
npm run build:firefox # development build of dist-firefox/

Development builds are unminified and show a Test unlock button for Focus mode. Never upload them.

Load unpacked

  • Chrome or Edge: chrome://extensions, turn on Developer mode, Load unpacked, select dist/.
  • Firefox 140 or newer: about:debugging#/runtime/this-firefox, Load Temporary Add-on, select dist-firefox/manifest.json.

Release packages

Command Output Upload to
npm run build:prod release/x-country-block-0.2.0-chrome.zip Chrome Web Store, Edge Add-ons
npm run build:firefox:prod release/x-country-block-0.2.0-firefox.zip Firefox Add-ons
npm run source:zip release/x-country-block-0.2.0-source.zip Firefox Add-ons (source code)

Mozilla reviewers: BUILD.md explains how to rebuild the Firefox package from the source archive.

To release a new version, update package.json and package-lock.json (npm version <x.y.z> --no-git-tag-version), both manifests, the zip names in this README, BUILD.md and store/listing.md, and add a CHANGELOG heading. npm run check-version fails until they all agree, and so do the tests and builds.

Brand and store assets

brand/ holds the logo masters and store/ the store art and copy (store/listing.md). node scripts/render-brand.mjs regenerates brand/, icons/ and store/ images with headless Chrome; see brand/README.md. node scripts/store-screenshots.mjs renders the five store screenshots into store/screenshots/: 1, 3, 4 and 5 from the production popup, 2 from your capture of x.com.

Before updating the store listings, capture screenshot 2 on x.com and run node scripts/store-screenshots.mjs, as described in store/screenshots/README.md. All five screenshots listed in store/listing.md must exist first.

Layout

Path Purpose
src/hook/ Runs in the page on x.com and reads the GraphQL responses X already receives
src/content/ Matches posts, hides or highlights them, reports the badge count
src/background/ Toolbar badge and the Focus mode unlock
src/popup/ Popup UI
src/shared/ Matching, settings, parsing, country, region and language data
docs/privacy.html Privacy policy and Stripe success page. Source only: publish by copying it to x-country-block/privacy.html in AndreasNE89/AndreasNE89.github.io
scripts/ Build, packaging, version check, brand art and store screenshots
test/, scripts/test/ Unit tests (vitest)

Tamis is not affiliated with or endorsed by X Corp.

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#browser-extension · #twitter · #filter