{"id":21201740,"url":"https://github.com/oleander/echoprint-rb","last_synced_at":"2025-10-14T18:18:22.811Z","repository":{"id":29791110,"uuid":"33335319","full_name":"oleander/echoprint-rb","owner":"oleander","description":"Echoprint server written in Ruby","archived":false,"fork":false,"pushed_at":"2015-04-05T13:54:56.000Z","size":1985,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T22:29:31.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/oleander.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":"2015-04-02T22:39:30.000Z","updated_at":"2016-05-17T11:41:17.000Z","dependencies_parsed_at":"2022-09-06T19:31:19.451Z","dependency_job_id":null,"html_url":"https://github.com/oleander/echoprint-rb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oleander/echoprint-rb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2Fechoprint-rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2Fechoprint-rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2Fechoprint-rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2Fechoprint-rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oleander","download_url":"https://codeload.github.com/oleander/echoprint-rb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2Fechoprint-rb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020348,"owners_count":26086864,"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-10-14T02:00:06.444Z","response_time":60,"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":[],"created_at":"2024-11-20T20:10:48.912Z","updated_at":"2025-10-14T18:18:22.792Z","avatar_url":"https://github.com/oleander.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Echoprint server written in Ruby\n\nA Ruby music identification server that is compatible with the \n[Echoprint](http://echoprint.me/) music fingerprinting client. This server is based on the original [echoprint-server](https://github.com/echonest/echoprint-server) and [node-echoprint-server](https://github.com/jhurliman/node-echoprint-server).\n\n## Dependencies\n\n- Ruby 2+\n- PostgreSQL\n\nTo generate audio fingerprints you will need the [echoprint-codegen](https://github.com/echonest/echoprint-codegen) client.\n\n## Installation\n\n- Clone the project and enter the `echoprint-rb` folder.\n- Install dependencies using `bundle install`.\n- Set up the database.\n  - Copy `config/database-temp.yml` to `config/database.yml`. \n  - Change the credentials.\n  - Migrate the database using `rake db:create db:migrate`.\n- Start the server using `rails s` on port 3000.\n\nTake a look at the [example requests](#example-requests) section below for code examples.\n\n## Endpoints\n\n### POST /fingerprint/ingest\n\nAdds a new music fingerprint to the database if the given fingerprint is unique, otherwise the existing track is returned.\n\n- `code` - The code string output by echoprint-codegen.\n- `version` - Field output by echoprint-codegen, currently `4.12`.\n- `duration` - Track duration output by echoprint-codegen.\n- `external_id` - A UUID value representing the tracks.\n \n### GET /fingerprint/query\n\nQueries for a track matching the given fingerprint.\n\n- `code` - The code string output by echoprint-codegen.\n- `version` - `metadata.version` field output by echoprint-codegen.\n\n## Example requests\n\nTake a look at the `examples` folder for complete examples of how to create a fingerprint.\n\n## Tests\n\nInvoke `rspec .` to run the test suite.\n\n## TODO\n\n- Optimize PostgreSQL indexes.\n- Move fingerprint logic into a low level language like Rust or C.\n- More tests.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleander%2Fechoprint-rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foleander%2Fechoprint-rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleander%2Fechoprint-rb/lists"}