Initial commit

This commit is contained in:
N.A. Ferrell 2023-04-13 00:48:46 +00:00 committed by GitHub
commit 227cc40a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 78 additions and 0 deletions

31
.github/workflows/update-feed.yaml vendored Normal file
View File

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

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
public
node_modules
package-lock.json

10
README.md Normal file
View File

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

11
osmosfeed.yaml Normal file
View File

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

23
package.json Normal file
View File

@ -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"
}
}