juev / getpocket-collector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getpocket-collector

This Golang program just create History for getpocket links.

Work example: juev/links

How to use

You can create new ENV variables:

  • GETPOCKET_FEED_URL for storing your RSS-feed from getpocket. This feed should be unprotected.
  • USERNAME for storing username in LICENSE information. Default value: "juev"

Reference:

Github action

name: Cronjob operations

on:
  schedule:
    - cron: "*/15 * * * *" # Runs every 15 minutes
  workflow_dispatch:
jobs:
  fetch:
    runs-on: ubuntu-latest
    container: ghcr.io/juev/getpocket-collector:latest
    steps:
      - 
        uses: actions/checkout@v3
        with:
          fetch-depth: 1
      - 
        name: ๐Ÿš€ Run Automation
        run: getpocket-collector
        env:
          GETPOCKET_FEED_URL: "https://getpocket.com/users/juev/feed/all"
          USERNAME: "juev"
      - 
        name: ๐Ÿณ Commit
        uses: EndBug/add-and-commit@v9
        with:
          default_author: github_actions
          message: 'update'

About


Languages

Language:Go 94.7%Language:Dockerfile 5.3%