GithubHelp home page GithubHelp logo

pavi2410 / tipstar Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 604 KB

A browser extension to support web creators directly

License: MIT License

JavaScript 44.09% HTML 3.74% CSS 0.51% TypeScript 51.66%
web-extension firefox supabase supabase-auth javascript nodejs web-ext vite razorpay browser browser-extension

tipstar's Introduction

tipstar

A browser extension that allows users to support the creators on the web directly using Razorpay.

Usage

  1. Click "Support this site" button in the extension popup on any active tab.
  2. If not already logged in, login using the credentials [email protected] and testpw123.
  3. After you're logged in, you'll be asked to enter an amount you want to support the site with.
  4. After that, you'll be presented the payment link with a button on which you can click to proceed to the Razopay's payment flow.
  5. Upon successful payment, you'll receive a confirmation email describing the payment information along with the invoice of the transaction.
  6. Congrats, you just supported your favourite web creator!

Instructions to Run

Folders

  • src - main source.
    • contentScript - scripts and components to be injected as content_script
    • background - scripts for background.
    • styles - styles shared in popup and options page
    • manifest.ts - manifest for the extension.
  • extension - extension package root.
    • assets - static assets.
    • dist - built files, also serve stub entry for Vite on development.
  • scripts - development and bundling helper scripts.

Development

First of all, make sure you have Node.js and npm installed.

Then, run the following commands

npm install
npm dev

(Keep this window running)

To load the extension in the browser, you can run the following command on a new terminal window:

Firefox Chrome
npm start:firefox npm start:chromium

Build

To build the extension, run

npm build

And then pack files under extension, you can upload extension.crx or extension.xpi to appropriate extension store.

Credits

This repo was made based on https://github.com/antfu/vitesse-webext

tipstar's People

Contributors

pavi2410 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

tipstar's Issues

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.