{"id":47840313,"url":"https://github.com/rbw/songmeta","last_synced_at":"2026-04-03T20:37:55.604Z","repository":{"id":45121276,"uuid":"445320983","full_name":"rbw/songmeta","owner":"rbw","description":"Aioli HTTP/REST+RDBMS Example","archived":false,"fork":false,"pushed_at":"2022-01-07T22:57:35.000Z","size":125,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T00:39:01.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"aioli-flavors/rest-rdbms","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rbw.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}},"created_at":"2022-01-06T21:53:42.000Z","updated_at":"2025-06-18T23:08:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"1756df6b-8186-41b4-a6a9-c1dfb0f9b956","html_url":"https://github.com/rbw/songmeta","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rbw/songmeta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbw%2Fsongmeta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbw%2Fsongmeta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbw%2Fsongmeta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbw%2Fsongmeta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbw","download_url":"https://codeload.github.com/rbw/songmeta/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbw%2Fsongmeta/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31375772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-04-03T20:37:54.890Z","updated_at":"2026-04-03T20:37:55.573Z","avatar_url":"https://github.com/rbw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg width=\"200\" height=\"200\" src=\"extras/songmeta.png\"\u003e\n  \u003cbr\u003e\u003cb\u003eSongMeta\u003c/b\u003e\n\u003c/p\u003e\n\n## About\n\nFully functional example built on top of [aioli-flavors/rest-rdbms](https://github.com/aioli-flavors/rest-rdbms).\n\n## Setting up\n\nRequires Python 3.9+, Git, and Poetry.\n\n### Building\n\n```\n$ git clone https://github.com/rbw/songmeta.git\n$ cd songmeta\n$ poetry update\n```\n\n## Starting Postgres\n\nThe application requires an SQLAlchemy-supported relational database. This example uses pg.ARRAY in AlbumModel, making it compatible with Postgres only.\n\nA docker-compose file for running a Postgres server is available in the project root.\n\n```\n$ docker-compose up\n```\n\n## Starting SongMeta \n\n```\n$ poetry shell\n$ python -m songmeta\n```\n\n## Usage\n\n### Get all albums\n```\n$ curl http://localhost:5000/albums\n```\n\n### Create an album\n```\n$ curl -X POST --data '{\"title\": \"test\", \"release_date\": \"2035-01-20\", \"stores\": [\"APPLE\", \"YOUTUBE\"], \"tracks\": [\"TEST000000001\", \"TEST000000002\"], \"upc\": \"00000000000005\"}' http://localhost:5000/albums\n```\n\n### Show an album\n```\n$ curl http://localhost:5000/albums/00000000000005\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbw%2Fsongmeta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbw%2Fsongmeta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbw%2Fsongmeta/lists"}