Coder Social home page Coder Social logo

go-support's Introduction

go-support

Go program for finding and supporting sponsorable awesome Go packages in your project's module dependencies (go.mod). Let's support all the Go developers and make the Go ecosystem a better place!

Installation

  1. Make sure Go 1.12 or above (that comes with the module support) is installed in your machine.
  2. Get the program using go get github.com/joshuabezaleel/go-support.
  3. Add GitHub token by using the command export GITHUB_TOKEN="<your_token>" available at this link to authenticate the request and pass the API rate limit.
  4. Run go-support in the root of your project modules.
  5. Open the URLs in the browser and make donations!

How it works

  • All of the modules and dependencies are retrieved from your project's go.mod file.
  • Modules and dependencies that will be processed are the one hosted at GitHub (github.com).
  • The modules are then grouped by author according to the first (1st) GitHub Sponsors-enabled username at the repository's .github/FUNDING.yml.
  • If no GitHub Sponsors page found at a module, the author name will be parsed from the repository's name.
  • All of the funding platforms will be retrieved from each of the repository's .github/FUNDING.yml
  • URLs that will be opened in the browser are the GitHub authors page stated in the previous point.

Prior Art

This project is highly inspired by the kind efforts of feross' thanks, GitHub sponsor, and npm fund. Thank you very much for taking the first steps.

LICENSE

Project is licensed under the terms of MIT license.

go-support's People

Contributors

jesusmoraleda avatar joshuabezaleel avatar

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  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

go-support's Issues

Query GitHub for sponsorship links

Great to see someone taking the initiative on this project!

Have you considered simply querying GitHub to see if the "Sponsor" link is on that repo? Then you don't have to maintain a list. (At least, for GitHub-enabled sponsorships. Which will probably quickly grow to be most of them.)

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.