Coder Social home page Coder Social logo

altruisto / altruisto Goto Github PK

View Code? Open in Web Editor NEW
37.0 4.0 11.0 70.54 MB

A browser extension that allows raising money for charities through online shoppings

License: GNU General Public License v3.0

CSS 1.81% JavaScript 15.12% HTML 28.71% TypeScript 41.43% Handlebars 0.10% SCSS 12.84%
javascript browser-extension chrome-extension firefox-addon non-profit charity

altruisto's Introduction

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 partners' stores, a special notification is displayed. After clicking the "start raising money" button, the user needs to confirm the choice and is then 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

Special thank you for contributions:

Ardent Code

AppLover

altruisto's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

altruisto's Issues

Add login / register feature to website

Altruisto browser extension has already implemented login or register feature.
This task is about extending website with same functionality.

To be considered:

  • as browser extension is written in JS/React it could be relatively easy to reuse that code
  • if the code would be reused there is another question on how to do it properly (do not copy/paste but actually reuse)

obraz

Too benevolent plugin permissions

The permissions "Read and change data on all the sites you visit" are too broad to be safely acceptable. While the users may trust you, this can be exploited indirectly. Please consider narrowing it to affected domains or other means of activation.

npm run deploy crashes

tested on Linux and Ubuntu with similar result

AzureAD+ArturKozubek@vostro MINGW64 ~/projects/github/altruisto/website (feat/pwa-a2hs-landing)
$ npm run deploy

> [email protected] deploy C:\Users\ArturKozubek\projects\github\altruisto\website
> ts-node --project tsconfig.server.json scripts/deploy.ts

>> deploy: copied `./shared`
>> deploy: replacement results: [
  { file: 'server.ts', hasChanged: true },
  { file: 'pages/contact.tsx', hasChanged: false },
  { file: 'pages/email-subscriber-confirm.tsx', hasChanged: false },
  { file: 'pages/email-subscriber-thankyou.tsx', hasChanged: false },
  { file: 'pages/privacy-policy.tsx', hasChanged: false },
  { file: 'pages/terms-of-service.tsx', hasChanged: false },
  { file: 'pages/waiting.tsx', hasChanged: false },
  { file: 'pages/welcome.tsx', hasChanged: false },
  {
    file: 'pages/confirm-email/[email-verification-token].tsx',
    hasChanged: false
  },
  { file: 'pages/partners/[domain].tsx', hasChanged: false },
  { file: 'pages/partners/index.tsx', hasChanged: true }
]
>> deploy: commit created
>> deploy: pushing new branch to the homepage repo
>> deploy: branch pushed
>> deploy: reseting branch with master so it can be easily merged
error: pathspec 'deploy-22_4_2020_3_35_PM' did not match any file(s) known to git

(node:29896) UnhandledPromiseRejectionWarning: Error: error: pathspec 'deploy-22_4_2020_3_35_PM' did not match any file(s) known to git

    at toError (C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\promise.js:90:14)
    at C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\promise.js:61:36
    at Git.<anonymous> (C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\src\git.js:517:18)
    at Function.Git.fail (C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\src\git.js:1475:18)
    at fail (C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\src\git.js:1433:20)
    at C:\Users\ArturKozubek\projects\github\altruisto\website\node_modules\simple-git\src\git.js:1442:16
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:29896) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:29896) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Support list of disabled domains

I'd really like to disable altruisto on a few domains that I visit frequently for things other than online shopping (e.g. microsoft.com, which I normally visit to read technical support articles).
Rakuten's extension, which is similar to Altruisto, supports a custom list of domains to disable the extension on.

Thanks for your consideration!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.