{"id":17727054,"url":"https://github.com/ciderapp/aniartwork","last_synced_at":"2025-04-01T16:31:08.177Z","repository":{"id":259132635,"uuid":"840011237","full_name":"ciderapp/AniArtwork","owner":"ciderapp","description":"A Go based Artwork processing server.","archived":false,"fork":false,"pushed_at":"2024-10-21T22:55:09.000Z","size":1125,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-25T01:50:12.278Z","etag":null,"topics":["apple-music","artwork","fast","gin","go"],"latest_commit_sha":null,"homepage":"https://cider.sh","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/ciderapp.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},"funding":{"github":"ciderapp","ko_fi":"cryptofyre","open_collective":"ciderapp","custom":"https://opencollective.com/ciderapp/donate/10/month/Support%20Development?redirect=https://cidercollective.dev/thanks"}},"created_at":"2024-08-08T19:28:38.000Z","updated_at":"2024-10-24T19:00:27.000Z","dependencies_parsed_at":"2024-10-22T21:46:13.475Z","dependency_job_id":null,"html_url":"https://github.com/ciderapp/AniArtwork","commit_stats":null,"previous_names":["ciderapp/aniartwork"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciderapp%2FAniArtwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciderapp%2FAniArtwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciderapp%2FAniArtwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciderapp%2FAniArtwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ciderapp","download_url":"https://codeload.github.com/ciderapp/AniArtwork/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246670540,"owners_count":20815001,"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":["apple-music","artwork","fast","gin","go"],"created_at":"2024-10-25T18:00:41.136Z","updated_at":"2025-04-01T16:31:07.913Z","avatar_url":"https://github.com/ciderapp.png","language":"Go","funding_links":["https://github.com/sponsors/ciderapp","https://ko-fi.com/cryptofyre","https://opencollective.com/ciderapp","https://opencollective.com/ciderapp/donate/10/month/Support%20Development?redirect=https://cidercollective.dev/thanks"],"categories":[],"sub_categories":[],"readme":"# AniArt\n\nThis service is part of the Cider Collective ecosystem, designed to handle various artwork-related operations for [Cider](https://cider.sh).\n\n## Features\n\n- Generate animated artwork from Apple Music URLs\n- Create artist squares from multiple image URLs\n- Process and store iCloud artwork\n\n## API Endpoints\n\n### 1. Generate Animated Artwork\n\n```\nGET /artwork/generate\n```\n\nQuery Parameters:\n- `url`: The Apple Music URL for the artwork (required)\n\nResponse:\n```json\n{\n  \"key\": \"unique_identifier\",\n  \"message\": \"GIF has been generated\",\n  \"url\": \"https://example.com/artwork/unique_identifier.gif\"\n}\n```\n\n### 2. Create Artist Square\n\n```\nPOST /artwork/artist-square\n```\n\nRequest Body:\n```json\n{\n  \"imageUrls\": [\"url1\", \"url2\", \"url3\", \"url4\"]\n}\n```\nNote: 2-4 image URLs are required.\n\nResponse:\n```json\n{\n  \"key\": \"unique_identifier\",\n  \"message\": \"Artist square has been generated\",\n  \"url\": \"https://example.com/artwork/artist-square/unique_identifier.jpg\"\n}\n```\n\n### 3. Generate iCloud Artwork\n\n```\nPOST /artwork/icloud\n```\n\nRequest Body:\n```json\n{\n  \"imageUrl\": \"url\"\n}\n```\n\nResponse:\n```json\n{\n  \"key\": \"unique_identifier\",\n  \"message\": \"iCloud art has been generated\",\n  \"url\": \"https://example.com/artwork/icloud/unique_identifier.ext\"\n}\n```\n\n### 4. Retrieve Artwork\n\n- Animated Artwork: `GET /artwork/:key`\n- Artist Square: `GET /artwork/artist-square/:key`\n- iCloud Artwork: `GET /artwork/icloud/:key`\n\n## Setup and Deployment\n\n1. Ensure you have Go installed on your system.\n2. Clone this repository.\n3. Install dependencies: `go mod tidy`\n4. Build the project: `go build`\n5. Create `config.yml` using format in `config.sample.yml` (If using Docker set PUBLISHED_URI env label to http://yourdomain.com)\n5. Run the server: `./AniArt`\n\nThe server will start on port 3000 by default.\n\n## Dependencies\n\n- github.com/gin-gonic/gin\n- github.com/sirupsen/logrus\n- github.com/u2takey/ffmpeg-go\n- github.com/nfnt/resize\n- golang.org/x/image/webp\n\n## License\n\nCopyright © 2024 Cider Collective\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Support\n\nFor support, please open an issue on the GitHub repository or contact the Cider Collective team.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciderapp%2Faniartwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fciderapp%2Faniartwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciderapp%2Faniartwork/lists"}