{"id":17030656,"url":"https://github.com/vsoch/candy-generator","last_synced_at":"2026-05-16T06:36:53.574Z","repository":{"id":46628329,"uuid":"407963547","full_name":"vsoch/candy-generator","owner":"vsoch","description":"Preparing for a fun, open source Halloween!","archived":false,"fork":false,"pushed_at":"2021-10-03T04:44:44.000Z","size":95,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-23T21:45:12.977Z","etag":null,"topics":["candy","hacktoberfest","halloween"],"latest_commit_sha":null,"homepage":"https://vsoch.github.io/candy-generator/","language":"JavaScript","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/vsoch.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":"2021-09-18T20:42:34.000Z","updated_at":"2021-10-03T04:44:47.000Z","dependencies_parsed_at":"2022-09-09T23:51:50.707Z","dependency_job_id":null,"html_url":"https://github.com/vsoch/candy-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vsoch/candy-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcandy-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcandy-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcandy-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcandy-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsoch","download_url":"https://codeload.github.com/vsoch/candy-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcandy-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33092727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["candy","hacktoberfest","halloween"],"created_at":"2024-10-14T08:07:47.708Z","updated_at":"2026-05-16T06:36:53.557Z","avatar_url":"https://github.com/vsoch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Candy Generator\n\nWelcome to the Candy Generator! This is a tool that will allow you to create\nand save your own repository candy, to truly celebrate an Open Source Halloween! \n\n![assets/spack-candy.png](assets/spack-candy.png)\n\nInstructions:\n\n 1. Go to the [interface](https://vsoch.github.io/candy-generator/)\n 2. Load your repository by entering the name \"org/name\" under \"Load A GitHub Repository\"\n 3. Customize the candy form, texture, and colors!\n 4. Save a screenshot and add to your Halloween basket!\n\n⭐️ [Browse to the interface!](https://vsoch.github.io/candy-generator/) ⭐️\n\nI think it would be cool to have a standard filename to add to a repository to indicate\nthat a user can go trick or treating there, and then be easily able to load an entire interface\nof these images. This would be easier with:\n\n1. Adding a save to png button\n2. Creating an interface that can easily find and render the PNGs\n3. Possibly having an action that can generate a candy automatically\n\nHowever, I think I like the candies better when the repository owner designs on their own, so\nI'm not sure if the above is overkill.\n\n## Frequently Asked Questions\n\n### How does it work?\n\nOverall, the idea is that we are putting together puzzle pieces. We have candy form bases (e.g., an outline of a candy bar)\nthat we can add to an svg, and then further customize by adding text, textures, and color. \n\n### How did I make the candy backgrounds?\n\nThis was a manual process! I started with a png of a candy that I wanted to use, and then:\n\n1. In Inkscape used trace bitmap with 8 colors to get to a bottom, solid layer\n2. Added an extra layer of the same color (usually a large rectangle) and combined with the lower to fill in gaps.\n3. Saved to an svg file, stored in [assets/candy](assets/candy)\n4. Copied the paths, style, and other attributes into the [assets/js/candy.json](assets/js/candy.json)\n\nGetting the text to line up was a big of an art! I tested each background to make a custom scale\nand then x and y offset for the main text.\n\n## Thanks\n\nThe Candy Generator would not be possible without these amazing supporting libraries!\n\n- [textures](https://riccardoscalco.it/textures/): to make your candy wrapper textures!\n- [d3](https://d3js.org/): for easily mapping data to svg objects\n- [jquery](https://jquery.com/): because you can make a million new trendy JS libraries but this one always is easy-peezy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsoch%2Fcandy-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsoch%2Fcandy-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsoch%2Fcandy-generator/lists"}