gitwtfhub

wtf is sam-table-filter?

marchtala/sam-table-filter — explained in plain English

Analysis updated 2026-05-18

0JavaScriptAudience · generalComplexity · 2/5LicenseSetup · easy

TL;DR

An unofficial browser extension that adds filtering, sorting, search and CSV export to the Truly Rich Club SAM stock recommendation table.

Mindmap

mindmap
  root((sam table filter))
    What it does
      Filters stock table
      Sorts by metrics
      Exports CSV
    Tech stack
      JavaScript
      Chrome extension
      Manifest V3
    Use cases
      Filter recommendations
      Export filtered CSV
      View cached snapshot
    Audience
      Club members
      Retail investors

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Filter and sort your club's stock recommendations by action, category, growth or dividend yield from the toolbar.

REASON 2

Export the currently filtered SAM Table to a CSV file for your own tracking or spreadsheets.

REASON 3

View a cached snapshot of the table when you are offline or logged out of the members site.

What's in the stack?

JavaScriptChrome ExtensionManifest V3

How it stacks up

marchtala/sam-table-filter00kaku/gallery-slider-block0xkinno/vellum
Stars00
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-05-19
MaintenanceDormant
Setup difficultyeasyeasyhard
Complexity2/52/54/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Requires an active Truly Rich Club membership and being logged in to the members site.

Wtf does this do

This is an unofficial browser extension built for members of Truly Rich Club, a stock advisory service for Philippine Stock Exchange investors. It pulls up the club's SAM Table, a list of stock recommendations, directly in your browser toolbar and adds filtering, sorting, search and CSV export that the official members site does not offer on its own. The extension only works if you already have an active membership and are logged in on the site, since it reads the table using your own existing browser session rather than storing any password. In the popup, stocks are grouped by category such as growth stocks, dividend stocks and real estate funds, and you can filter by recommended action, filter by category, search by ticker or fund name, and sort by expected growth, dividend yield, or distance from the target price. Each stock card shows details like current price, buy below price, target price and dividend yield, and tapping it opens a more detailed view. You can star favorite stocks to pin them, switch between light, dark and system themes, and export whatever list you currently have filtered to a CSV file. Behind the scenes, it tries to read the live page first if it is your active tab, otherwise it fetches the page in the background using your existing session cookie, and if the site's tables do not appear in that fetched page because they are built with JavaScript, it falls back to briefly opening a hidden tab to render and scrape them. If all of that fails, for example when you are offline or logged out, it shows the last successful snapshot with a clear notice that the data is cached. The author states plainly that no credentials are ever stored, there are no analytics or outside network requests beyond the club's own site, and the project is not affiliated with or endorsed by Truly Rich Club.

Yoink these prompts

Prompt 1
Walk me through loading this extension unpacked in Chrome for local testing.
Prompt 2
Explain how the background fetch and hidden tab fallback work together to read the table.
Prompt 3
Help me adjust the header regex in parser.js so it still finds the Action column if the site's markup changes.
Prompt 4
How do I fix the Firefox permission issue where the background fetch is blocked after install?

Frequently asked questions

wtf is sam-table-filter?

An unofficial browser extension that adds filtering, sorting, search and CSV export to the Truly Rich Club SAM stock recommendation table.

What language is sam-table-filter written in?

Mainly JavaScript. The stack also includes JavaScript, Chrome Extension, Manifest V3.

How hard is sam-table-filter to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is sam-table-filter for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.