https://github.com/conoro/github-stars-to-pinboard
Serverless function to save repos that you Star on GitHub as Pinboard bookmarks once per hour
https://github.com/conoro/github-stars-to-pinboard
github pinboard
Last synced: about 2 months ago
JSON representation
Serverless function to save repos that you Star on GitHub as Pinboard bookmarks once per hour
- Host: GitHub
- URL: https://github.com/conoro/github-stars-to-pinboard
- Owner: conoro
- License: apache-2.0
- Created: 2024-02-01T17:44:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-02T07:10:32.000Z (over 1 year ago)
- Last Synced: 2025-02-06T09:48:28.750Z (3 months ago)
- Topics: github, pinboard
- Language: Python
- Homepage:
- Size: 67.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Stars to Pinboard Bookmarks
This Serverless function runs on AWS Lambda once per hour. It saves the most recent repos that you Starred as [Pinboard](https://pinboard.in) bookmarks and tags them as "github".# Installation
* You need Node.js installed locally
* You need an AWS Account setup along with access credentials setup locally
* You need Python 3 installed locally to test
* You need to create a [GitHub Personal Access Token](https://github.com/settings/tokens). Fine-grained ones are probably more secure but have a max lifetime of a year.
* You need to get your [Pinboard API Token](https://pinboard.in/settings/password)* Open a Powershell window on Windows (or bash etc on Linux)
* Install the Serverless framework with `npm install -g serverless`
* Install the Serverless Python plugin with `npm install`
* Create a Python Virtual Environment with `python -m venv venv`
* Activate the Python Virtual Environment in Powershell on Windows with `.\venv\Scripts\Activate.ps1`
* Install Python modules with `pip install -r requirements.txt`
* Copy serverless-template.yml to serverless.yml
* Edit serverless.yml and configure your GitHub Username, GitHub Access Token and Pinboard Access Token
* Deploy to AWS Lambda with `serverless deploy`
* Wait an hour for the first run or manually open the URL that the deploy command lists on successful execution
* You should see the most recent GitHub Starred repos listed as bookmarks on Pinboard