MCPcopy Index your code
hub / github.com/Altruisto/altruisto

github.com/Altruisto/altruisto @2.1.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.1.8 ↗ · + Follow
27 symbols 55 edges 14 files 12 documented · 44%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Altruisto logo

What is altruisto?

It's a browser extension that allows users to raise money for charities through their online shoppings with no extra costs. When a user visits one of our parnters' stores, a special notification is displayed. After clicking the "start raising money" button, the user needs to confirm the choice and then is redirected back to the store through an affiliate link. When she or he buys something, the commission earned from affiliate program is donated to carefully chosen charities that have been thouroughly researched by GiveWell.org. The charities are: GiveDirectly, Against Malaria Foundation, Schistosomiasis Control Initiative.

Install

Chrome logo

Install altruisto from Chrome Webstore or Mozilla Addons

Quick start

  1. Clone the repository
$ git clone https://github.com/Altruisto/altruisto.git
  1. Navigate to project directory and install node packages
$ cd altruisto
$ npm install -d
  1. Start hacking

Edit the files in ./src directory

  1. Run build
$ npm run build

Core symbols most depended-on inside this repo

extractDomain
called by 5
src/helpers/extract-domain.js
getPartnersList
called by 2
src/helpers/get-partners-list.js
isAltruistoLink
called by 2
src/background/recognize-other-affiliates.js
isAffiliateRedirectLink
called by 2
src/background/recognize-other-affiliates.js
hideTopbar
called by 2
src/content/topbar.js
getInnerHTML
called by 2
src/content/topbar.js
renderTopbar
called by 2
src/content/topbar.js
isAlreadyActivated
called by 2
src/content/topbar.js

Shape

Function 27

Languages

TypeScript100%

Modules by API surface

src/content/topbar.js9 symbols
src/pages/options.js4 symbols
src/background/recognize-other-affiliates.js4 symbols
src/background/deactivate-monetizing.js3 symbols
src/background/activate-monetizing.js2 symbols
src/helpers/truncate-string.js1 symbols
src/helpers/get-partners-list.js1 symbols
src/helpers/extract-domain.js1 symbols
src/background/on-installed.js1 symbols
src/background/on-alarm.js1 symbols

For agents

$ claude mcp add altruisto \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page