{"id":17760833,"url":"https://github.com/belovetech/gator","last_synced_at":"2025-07-30T15:10:59.801Z","repository":{"id":259458417,"uuid":"876120854","full_name":"belovetech/gator","owner":"belovetech","description":"RSS aggregator","archived":false,"fork":false,"pushed_at":"2024-10-24T21:49:46.000Z","size":1514,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-25T16:54:37.501Z","etag":null,"topics":["golang","goose","postgresql","sqlc"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/belovetech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-10-21T12:40:16.000Z","updated_at":"2024-10-24T21:49:50.000Z","dependencies_parsed_at":"2024-10-25T16:54:40.522Z","dependency_job_id":"7615337f-835e-4a7c-bb11-ef2eb6d7834b","html_url":"https://github.com/belovetech/gator","commit_stats":null,"previous_names":["belovetech/gator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belovetech%2Fgator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belovetech%2Fgator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belovetech%2Fgator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belovetech%2Fgator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/belovetech","download_url":"https://codeload.github.com/belovetech/gator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246644098,"owners_count":20810687,"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","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":["golang","goose","postgresql","sqlc"],"created_at":"2024-10-26T19:13:34.833Z","updated_at":"2025-04-01T13:17:44.233Z","avatar_url":"https://github.com/belovetech.png","language":"Go","readme":"# Gator\n\n## RSS Aggregator\n\nGator is a simple RSS aggregator built with Go that allows users to manage and aggregate RSS feeds efficiently.\n\n### Configuration\n\nTo set up the configuration for Gator, follow these steps:\n\n1. Create the configuration file:\n\n   ```bash\n   touch ~/.gatorconfig.json\n   ```\n\n2. Edit the content of ~/.gatorconfig.json:\n   ```json\n   {\n     \"db_url\": \"postgres://\u003cusername\u003e:@localhost:5432/gator?sslmode=disable\"\n   }\n   ```\n   Replace \u003cusername\u003e with your PostgreSQL username.\n\n### How to Use\n\nClone the repository:\n\n```bash\n   git clone https://github.com/belovetech/gator.git\n```\n\nChange directory to the cloned repository:\n\ninstall goose CLI:\n\n```bash\n   go install github.com/pressly/goose/v3/cmd/goose@latest\n   goose -v\n```\n\nInstall the dependencies:\n\n```bash\n   go mod tidy\n```\n\nRun the migrations:\n\n```bash\n   make migrate-up\n```\n\nBuild the application:\n\n```bash\n   go build -o gator\n```\n\nOnce the configuration is set up, you can use the following commands to interact with Gator:\n\n```bash\n   ./gator reset                          # Reset the application to its initial state\n\n   ./gator login \u003cusername\u003e               # Log in to your account\n\n   ./gator register  \u003cusername\u003e           # Register a new user\n\n   ./gator users                          # List all users\n\n   ./gator addfeed \u003cname\u003e \u003cURL\u003e           # Add a new RSS feed\n\n   ./gator agg \u003ctime_between_reqs\u003e        # Aggregate the RSS feeds\n\n   ./gator feeds                          # List all feeds\n\n   ./gator follow  \u003cURL\u003e                  # Follow a feed\n\n   ./gator unfollow  \u003cURL\u003e                # Unfollow a feed\n\n   ./gator following                      # List the feeds you are following\n\n   ./gator browse \u003cLIMIT\u003e                 # Browse the posts\n\n```\n\n### Prerequisites\n\n- Go (Golang) installed on your machine\n- PostgreSQL database running locally\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelovetech%2Fgator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbelovetech%2Fgator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelovetech%2Fgator/lists"}