commit 227cc40a91c56fee9248baca186accc099122e7d Author: N.A. Ferrell <77352335+nafnlj@users.noreply.github.com> Date: Thu Apr 13 00:48:46 2023 +0000 Initial commit diff --git a/.github/workflows/update-feed.yaml b/.github/workflows/update-feed.yaml new file mode 100644 index 0000000..892c408 --- /dev/null +++ b/.github/workflows/update-feed.yaml @@ -0,0 +1,31 @@ +name: Build site on schedule or main branch update + +on: + push: + branches: + - main + schedule: + # Adjust refresh schedule here. By default, it runs once per day. + # Syntax reference: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#schedule + # Recommended tool: https://crontab.guru/ + - cron: "0 0 * * *" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Setup Node.js environment + uses: actions/setup-node@v2.1.4 + with: + node-version: "16" + - name: Install dependencies + run: npm i + - name: Build the feed + run: npm run build + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f98040 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +public +node_modules +package-lock.json \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..167e45a --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# About + +This is repository hosts the UI and content of an RSS feed reader. + +## Links and references + +- [How does it work?](https://github.com/osmoscraft/osmosfeed#osmosfeed) +- [File an issue about the template](https://github.com/osmoscraft/osmosfeed-template) +- [File an issue about the tool](https://github.com/osmoscraft/osmosfeed) +- [Lastest documentation](https://github.com/osmoscraft/osmosfeed) diff --git a/osmosfeed.yaml b/osmosfeed.yaml new file mode 100644 index 0000000..ce283a9 --- /dev/null +++ b/osmosfeed.yaml @@ -0,0 +1,11 @@ +######################### +# Full reference +# https://github.com/osmoscraft/osmosfeed/blob/master/docs/osmosfeed-yaml-reference.md +######################### + +# cacheUrl: https://GITHUB_USERNAME.github.io/REPO_NAME/cache.json +sources: + - href: https://github.com/osmoscraft/osmosfeed/releases.atom # Get new feature announcement via this feed + - href: https://css-tricks.com/feed/ + - href: https://www.smashingmagazine.com/feed/ + - href: https://www.freecodecamp.org/news/rss/ diff --git a/package.json b/package.json new file mode 100644 index 0000000..ede8242 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "osmosfeed-template", + "version": "1.0.0", + "description": "Use this template to create the UI and content of an RSS feed reader.", + "main": "index.js", + "scripts": { + "build": "osmosfeed" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/osmoscraft/osmosfeed-template.git" + }, + "keywords": [], + "author": "osmoscraft", + "license": "MIT", + "bugs": { + "url": "https://github.com/osmoscraft/osmosfeed-template/issues" + }, + "homepage": "https://github.com/osmoscraft/osmosfeed-template#readme", + "dependencies": { + "@osmoscraft/osmosfeed": "^1.2.2" + } +}