Giter Site home page Giter Site logo

feeds's Introduction

Github Action for building static feed aggregator site

Use this action to fetch feeds from OPML file and build static site with all feeds information

To use it, create a new repository and add opml file name it as feeds.opml with list of website rss/atom feeds. Create a github workflow like below to make this fetch data and put it in contents branch

name: Schedule

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

jobs:
  playground:
    runs-on: ubuntu-latest
    name: Test
    steps:
      - name: Run Action
        uses: llun/[email protected]

After this, enable github page on contents branch and content should be available on that page

Configurations

This action can setup to use under domain name and different type of storage, here are the configuration that can set in github action configuration.

  • customDomain, telling action to generate the feeds site under custom domain. This is required when generate static site because the action requires this to generate CNAME file.
  • branch, branch that this action will generate the static site into. The default value is contents. This is a branch that you will need to point the repository static site branch to.
  • storageType, (Default is files) content storage type, currently support files and sqlite. files is storing all feed contents in JSON tree structure while sqlite will store in sqlite database that client will use http chunk to download the content.
  • opmlFile, OPML file name that store list of sites that you want to generate feed site.

Sample

name: Schedule

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

jobs:
  playground:
    runs-on: ubuntu-latest
    name: Generate Feeds
    steps:
      - name: Run Action
        uses: llun/[email protected]
        with:
          storageType: files
          opmlFile: site.opml
          branch: public

Sample site

Sample repo

feeds's People

Contributors

cheeaun avatar dependabot[bot] avatar github-actions[bot] avatar llun 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

Watchers

 avatar  avatar  avatar

feeds's Issues

Loading progress

When the content is big, sometime it takes sometime before fetch done the loading and set content into the pane cause the experience feels like it’s frozen. Adding the loading or indication should fix this

Browser history support

Add history api and bring content URL back, so mobile browser can bookmark and use browser control

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.