{"id":22876878,"url":"https://github.com/webini/metadata-service","last_synced_at":"2025-10-08T15:43:08.930Z","repository":{"id":79435024,"uuid":"75564476","full_name":"Webini/metadata-service","owner":"Webini","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-25T23:36:07.000Z","size":231,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T19:47:37.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Webini.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":"2016-12-04T21:05:01.000Z","updated_at":"2016-12-06T23:28:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"45f259c2-5e2b-441a-87a6-c5fed12e6844","html_url":"https://github.com/Webini/metadata-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webini%2Fmetadata-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webini%2Fmetadata-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webini%2Fmetadata-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webini%2Fmetadata-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Webini","download_url":"https://codeload.github.com/Webini/metadata-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246473470,"owners_count":20783285,"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":[],"created_at":"2024-12-13T15:28:09.026Z","updated_at":"2025-10-08T15:43:08.844Z","avatar_url":"https://github.com/Webini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Systeme\n=======\n\ndep : Guessit\n\nContracts\n=========\n## Dependencies\n\nThis microservice bind the [FILE_EXCHANGE](#env) exchange and retreive all `file.create` and `file.deleted` messages\n\n#### file.created\nThe message must contains:\n```json\n{\n  \"objectId\": \"UUID \u003cString(36)\u003e\",\n  \"data\": {\n    \"basename\": \"Full file name without path \u003cString\u003e\",\n    \"length\": \"File size \u003cunsigned int64\u003e\"\n  } \n}\n```\n\n##### file.deleted dependency\nThe message must contains:\n```json\n{\n  \"objectId\": \"UUID\u003cString(36)\u003e\"\n}\n```\n\n### \n\nAPI\n===\n@todo\n\nEnv\n===\n\nVariable                | Default        | Description\n----------------------- | -------------- | --------------\nTMDB_API_KEY            |                | TheMovieDb api key\nTMDB_DEFAULT_RETRY_DELAY | 20            | When we cannot retreive the retry-after header, this provide the default timeout value\nTMDB_KILL_RETRY_AFTER   | 20             | Cancel the request retry after 20 failed requests\nSERVER_HOST             | localhost      | server host\nSERVER_PORT             | 8080           | server port\nDATABASE_DIALECT        | mariadb        | Database dialect cf [sequelize dialect](http://docs.sequelizejs.com/en/1.7.0/docs/usage/#dialects), don't forget to fork \u0026 install your connector if you are'nt going to use sqlite\nDATABASE                | metadata       | Database name\nDATABASE_USER           |                | Database user\nDATABASE_PASSWORD       |                | Database password\nDATABASE_HOST           |                | Database host\nDATABASE_LOGGING        | 0              | Database logging, it will output all queries\nDATABASE_PORT           |                | Database port\nDATABASE_STORAGE        |                | Database storage cf sequelize doc\nRABBITMQ_URL            |                | RabbitMQ url (format like `amqp://localhost:5672` )\nFILE_EXCHANGE           | transmission-service | Exchange used for retreiving files to process\nMETADATA_EXCHANGE       | metadata       | Exchange name of this service\nSENTRY_URL              |                | Sentry url (`https://\u003ckey\u003e@sentry.io/\u003cproject\u003e`)\nELASTICSEARCH_HOST     | localhost:9200  |  Specify the host that this client will connect to. Auto sniffing is activated.\nELASTICSEARCH_AUTH     |                 | Specifies the default http auth as a String with username and password separated by a colon (eg. user:pass). Applies to any host defined in the original config, and any hosts discovered while sniffing.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebini%2Fmetadata-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebini%2Fmetadata-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebini%2Fmetadata-service/lists"}