Giter VIP home page Giter VIP logo

mawesome's Introduction

My Awesome List

This action query the github api to get starred list of the user and then generates a list ordered by languages.

You can see an example of the output at my own simonecorsi/awesome

Table of Contents

Documentation

Requirements

  • An empty repository
  • A personal github api key

Configuration

The service can be configured setting the appropriate environment variables or writing an .env file.

Variable Description Default
api-token Personal Token is used to avoid rate limit, read more ${{ secrets.API_TOKEN }}
compact-by-topic Render another list in TOPICS.md compacted by github topics 'false'
github-name Name used for the commit Github Action
github-email email used for commit [email protected]
template-path Custom README.md template, read more
output-filename Output filename README.md

api-token

The Personal API Access Token is mandatory to fetch stars from the API without incurring in Rate Limits.

You'll have to generate a personal api token and then add

compact-by-topic

If compact-by-topic is 'true' it will generate another markdown file TOPICS.md whith all stars compacted by their github topics, be aware that this list will be bigger since data is duplicated.

template-path

If you don't like the output (default example here ), you can provide your custom template that will be rendered using EJS template engine.

Path provided is relative to your current repository directory, if file is not found it will default.

Example workflow

name: Update awesome list

on:
  workflow_dispatch:
  schedule:
    - cron: '0 0 * * *'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Awesome generator
        uses: simonecorsi/mawesome@latest
        with:
          api-token: ${{ secrets.API_TOKEN }}
          github-token: ${{ secrets.GITHUB_TOKEN }}
          github-email: ${{ secrets.USER_EMAIL }}
          github-name: ${{ github.repository_owner }}

mawesome's People

Contributors

simonecorsi avatar dependabot[bot] avatar semantic-release-bot avatar

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.