{"id":17844076,"url":"https://github.com/ginglis13/startpage","last_synced_at":"2025-08-28T16:51:51.467Z","repository":{"id":104555935,"uuid":"451686444","full_name":"ginglis13/startpage","owner":"ginglis13","description":"lambda for reading rss feeds and generating a minimal start page for a static site","archived":false,"fork":false,"pushed_at":"2022-03-22T06:26:34.000Z","size":27,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T11:38:02.443Z","etag":null,"topics":["aws","go","lambda","rss","rss-aggregator","s3-website","startpage"],"latest_commit_sha":null,"homepage":"https://ginglis.me/start","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ginglis13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-25T00:53:29.000Z","updated_at":"2024-09-29T17:13:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9903761-8f28-4386-a8a4-7e251c845d5f","html_url":"https://github.com/ginglis13/startpage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ginglis13/startpage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ginglis13%2Fstartpage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ginglis13%2Fstartpage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ginglis13%2Fstartpage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ginglis13%2Fstartpage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ginglis13","download_url":"https://codeload.github.com/ginglis13/startpage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ginglis13%2Fstartpage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272526606,"owners_count":24949832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","go","lambda","rss","rss-aggregator","s3-website","startpage"],"created_at":"2024-10-27T21:27:56.277Z","updated_at":"2025-08-28T16:51:51.420Z","avatar_url":"https://github.com/ginglis13.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# startpage\n\ngenerate a startpage of links for a static site hosted via AWS\n\n## What It Is\n\n- Lambda function that parses a bunch of RSS feeds, writes links to new posts from those feeds to an html template file, and uploads that file to a specific key in the S3 bucket hosting a static site\n  + https://ginglis.me/start\n\n### What Could Be Better\n\n- generalized stack, more cloud providers (I'm really only experienced with AWS)\n- create `scripts/create.sh`, a SAM file, CFN template, whatever that automates initial creation of the stack (Lambda {IAM role, environment variables}, Eventbridge rule) (assuming user already has Cloudfront, S3, etc configured for existing static site)\n- trigger Lambda dynamically / on every GET with API Gateway, rather than at fixed rate\n  + however I like to KISS, keep it simple stupid :) no need to overengineer\n- some kind of testing\n\n## How to Use It\n\n**note**: the feeds and startpage are not generalized - they are what I personally use. If you wish to you this I'd recommend fork -\u003e update these to your liking.\n\n1. Create a Lambda function. \n2. Give the Lambda write access to the static site's S3 bucket.\n3. Give it some environment variables:\n\n    ```bash\n    S3_BUCKET_REGION=\u003caws_region\u003e\n    S3_BUCKET=\u003cbucket_name\u003e\n    S3_FILE_KEY=\u003cstartpage_uri\u003e\n    ```\n\n4. Configure ~~Cloudwatch~~ Eventbridge to call the function at whatever rate you wish \n  + (I set mine to hourly, which is still within the free tier limits. As I get more feeds I'll decrease to daily gradually, since I can't read everything in a day)\n5. After any updates to the template, feeds, or lambda function, run `scripts/update.sh`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fginglis13%2Fstartpage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fginglis13%2Fstartpage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fginglis13%2Fstartpage/lists"}