{"id":30071157,"url":"https://github.com/psyhackological/rssagg","last_synced_at":"2026-05-16T18:32:36.859Z","repository":{"id":293104947,"uuid":"982956697","full_name":"Psyhackological/rssagg","owner":"Psyhackological","description":"Project adopted from freeCodeCamp video course and extended further.","archived":false,"fork":false,"pushed_at":"2025-07-07T17:11:33.000Z","size":1850,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T17:55:29.616Z","etag":null,"topics":["feeds","go","postgresql","rss"],"latest_commit_sha":null,"homepage":"https://youtu.be/un6ZyFkqFKo","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Psyhackological.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,"zenodo":null}},"created_at":"2025-05-13T16:51:41.000Z","updated_at":"2025-07-07T17:11:37.000Z","dependencies_parsed_at":"2025-05-13T18:23:13.752Z","dependency_job_id":"e348e456-e612-4579-b445-06a0eeec3cd1","html_url":"https://github.com/Psyhackological/rssagg","commit_stats":null,"previous_names":["psyhackological/7-go-projects"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Psyhackological/rssagg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Psyhackological%2Frssagg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Psyhackological%2Frssagg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Psyhackological%2Frssagg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Psyhackological%2Frssagg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Psyhackological","download_url":"https://codeload.github.com/Psyhackological/rssagg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Psyhackological%2Frssagg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33114191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["feeds","go","postgresql","rss"],"created_at":"2025-08-08T12:20:19.665Z","updated_at":"2026-05-16T18:32:36.842Z","avatar_url":"https://github.com/Psyhackological.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eGoFeed2DB\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"20%\" align=\"center\" src=\"media/rssagg_logo_plain.svg\" alt=\"RSSaggLogo\"\u003e\n\u003c/p\u003e\n\n\u003e Go lang meets RSS feeds and keeps it into PotsgreSQL.\n\n## Features\n\n## Dependencies\n### Dev tools\n- [godotenv](https://pkg.go.dev/github.com/joho/godotenv) - a Go (golang) port of the Ruby dotenv project (which loads env vars from a .env file).\n- [sqlc](https://sqlc.dev/) - generates fully type-safe idiomatic code from SQL. \n- [goose](https://pressly.github.io/goose/) - a database migration tool. Manage your database schema by creating incremental SQL changes and/or Go functions.\n- [podman](https://podman.io/) - a tool for managing OCI containers and pods and in this example: PostgreSQL container.\n\nExample usage:\n\n#### SQLc\n```bash\nsqlc generate\n```\n\n#### Goose\n\n##### Down\n\n```bash\ngoose -dir ./sql/schema postgres postgres://postgres:your_secure_password@localhost:5432/rssagg down\n```\n\nOutput:\n```text\n2025/07/07 19:06:06 OK   006_posts.sql (25.68ms)\n```\n\n##### Up\n\n```bash\ngoose -dir ./sql/schema postgres postgres://postgres:your_secure_password@localhost:5432/rssagg up\n```\n\nOutput:\n```text\n2025/07/07 19:06:08 OK   006_posts.sql (36.42ms)\n2025/07/07 19:06:08 goose: successfully migrated database to version: 6\n```\n\n### Backend\n- [PostgreSQL](https://www.postgresql.org/) - the database of choice that is powerful, open source object-relational database system with over 35 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.\n- [chi](https://go-chi.io/#/README) - A lightweight, idiomatic and composable router for building Go HTTP services.\n\n## Endpoints\n| Middleware Auth? | HTTP Method | Endpoint Path                     | Description                                                                 |\n|------------------|-------------|-----------------------------------|-----------------------------------------------------------------------------|\n| ❌ No            | `GET`       | `/v1/healthz`                     | Service health check                                                        |\n| ❌ No            | `GET`       | `/v1/err`                         | Error simulation endpoint                                                   |\n| ❌ No            | `POST`      | `/v1/users`                       | Create new user                                                             |\n| ✅ Yes           | `GET`       | `/v1/users`                       | Retrieve authenticated user's data                                          |\n| ✅ Yes           | `POST`      | `/v1/feeds`                       | Create new RSS feed subscription                                            |\n| ❌ No            | `GET`       | `/v1/feeds`                       | Get list of available RSS feeds                                             |\n| ✅ Yes           | `GET`       | `/v1/posts`                       | Get posts from followed feeds                                               |\n| ✅ Yes           | `POST`      | `/v1/feed_follows`                | Follow new RSS feed                                                         |\n| ✅ Yes           | `GET`       | `/v1/feed_follows`                | Get list of followed feeds                                                  |\n| ✅ Yes           | `DELETE`    | `/v1/feed_follows/{feedFollowID}` | Unfollow specific feed using ID parameter                                   |\n\n## Installation\n\n## Usage\n\n## Ideas for extending the project\n\n* Support [pagination](https://nordicapis.com/everything-you-need-to-know-about-api-pagination/) of the endpoints that can return many items\n* Support different options for sorting and filtering posts using query parameters\n* Classify different types of feeds and posts (e.g. blog, podcast, video, etc.)\n* Add a CLI client that uses the API to fetch and display posts, maybe it even allows you to read them in your terminal\n* Scrape lists of feeds themselves from a third-party site that aggregates feed URLs\n* Add support for other types of feeds (e.g. Atom, JSON, etc.)\n* Add integration tests that use the API to create, read, update, and delete feeds and posts\n* Add bookmarking or \"liking\" to posts\n* Create a simple web UI that uses your backend API\n## License\n[![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](https://choosealicense.com/licenses/gpl-3.0/)\n\nSoftware licensed under the [GNU GPLv3](https://choosealicense.com/licenses/gpl-3.0/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsyhackological%2Frssagg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsyhackological%2Frssagg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsyhackological%2Frssagg/lists"}