{"id":43348556,"url":"https://github.com/cc-ifish/silk","last_synced_at":"2026-02-02T02:01:43.928Z","repository":{"id":65839724,"uuid":"600153959","full_name":"cc-ifish/silk","owner":"cc-ifish","description":"silk codec for android,support x86,x64,armv7,arm64.","archived":false,"fork":false,"pushed_at":"2024-08-11T17:21:48.000Z","size":482,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T08:24:57.721Z","etag":null,"topics":["android","java","jni-android","kotlin","kotlin-android","pcm","silk"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cc-ifish.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":"2023-02-10T17:51:43.000Z","updated_at":"2025-07-26T18:39:44.000Z","dependencies_parsed_at":"2025-06-22T21:31:26.192Z","dependency_job_id":"d7bf3149-d576-4f71-b1a3-82c56c0d586e","html_url":"https://github.com/cc-ifish/silk","commit_stats":null,"previous_names":["fkkt-55/silk","ihe1u0/silk","cc-ifish/silk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cc-ifish/silk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-ifish%2Fsilk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-ifish%2Fsilk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-ifish%2Fsilk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-ifish%2Fsilk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cc-ifish","download_url":"https://codeload.github.com/cc-ifish/silk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-ifish%2Fsilk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29001471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T01:32:03.847Z","status":"online","status_checked_at":"2026-02-02T02:00:07.448Z","response_time":58,"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":["android","java","jni-android","kotlin","kotlin-android","pcm","silk"],"created_at":"2026-02-02T02:01:42.178Z","updated_at":"2026-02-02T02:01:43.919Z","avatar_url":"https://github.com/cc-ifish.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![GitHub](https://img.shields.io/github/license/morningos/silk)\n![Maven Central](https://img.shields.io/maven-central/v/cc.imorning/silk)\n![GitHub issues](https://img.shields.io/github/issues/morningos/silk)\n\n\n# silk\n\nA library for encoding and decoding silk file,support Java and Kotlin.\n\n## Feature\n\n* Encode pcm with silk\n* Decode silk to pcm\n\n## Getting Started\n\n### Installation Via Maven\nAdd the following lines to `build.gradle` on your app module:\n\n```gradle\ndependencies {\n    implementation 'cc.imorning:silk:1.0.1'\n    // replace \"1.0.1\" with any available version\n}\n```\n\n### Quick Tutorial\n\n- Encode pcm file into silk file\n\n```kotlin\nMainScope().launch(Dispatchers.IO) {\n    val outputPath = SilkEncoder.doEncode(\n        pcmFilePath = pcmFile.absolutePath,\n        silkFilePath = slkFile.absolutePath,\n        sampleRate = AudioConfig.AudioSampleRate.SAMPLE_RATE_16K\n    ).orEmpty()\n    // ...\n}\n```\n\n- Decode silk file into pcm file\n\n```kotlin\nMainScope().launch(Dispatchers.IO) {\n    val outputPath = SilkDecoder.doDecode(\n        silkFilePath = slkFile.absolutePath,\n        pcmFilePath = pcmFile.absolutePath,\n        sampleRate = AudioConfig.AudioSampleRate.SAMPLE_RATE_16K\n    ).orEmpty()\n    // ...\n}\n```\n\n## FAQ \u0026 Feedback\n\nPost an [issues](https://github.com/morningos/silk/issues) if you encounter any problem in using.\n\nDocs:[silk docs](http://docs.imorning.cc/open_sources/silk/cc/imorning/silk/package-summary.html)\n\n## License\n\n```\nCopyright 2023 iMorning\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcc-ifish%2Fsilk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcc-ifish%2Fsilk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcc-ifish%2Fsilk/lists"}