{"id":18664342,"url":"https://github.com/dzsquared/cs6750-randomimage","last_synced_at":"2025-11-06T09:30:34.240Z","repository":{"id":95257723,"uuid":"432231485","full_name":"dzsquared/cs6750-randomimage","owner":"dzsquared","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-26T19:12:36.000Z","size":844,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-27T17:20:34.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/dzsquared.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}},"created_at":"2021-11-26T15:57:15.000Z","updated_at":"2021-11-26T19:12:38.000Z","dependencies_parsed_at":"2023-03-13T16:52:38.087Z","dependency_job_id":null,"html_url":"https://github.com/dzsquared/cs6750-randomimage","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/dzsquared%2Fcs6750-randomimage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fcs6750-randomimage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fcs6750-randomimage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fcs6750-randomimage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dzsquared","download_url":"https://codeload.github.com/dzsquared/cs6750-randomimage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239491352,"owners_count":19647811,"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-11-07T08:23:08.425Z","updated_at":"2025-02-18T14:45:42.467Z","avatar_url":"https://github.com/dzsquared.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image order \"Randomizer\"\n\nDisplay images in an alternating order based on a querystring ID.  Used in randomizing the order in which prototypes are presented to survey participants.\n\n\nThe Azure Function returns the image content, replacing the image link in the PeerSurvey interface:\n![in-use.png](in-use.png)\n\n\n## Environment Overview\n\n### Storage Account\nCreate a storage account and a blob storage container.  Upload your prototype images to the container.\n\n### Azure Function\n2 environment variables (app settings) are required:\n- AZURE_STORAGE_CONNECTION_STRING\": connection string with storage account access key  (eg \"DefaultEndpointsProtocol=https;AccountName=omscs;AccountKey=thisreallylongstringwithcharactersandnumbersandstuffbutreallysuperlong;EndpointSuffix=core.windows.net\")\n- \"AZURE_STORAGE_CONTAINER_NAME\": string name of container with images in it (eg \"carplay\")\n\n\n## Example Use\nThe 2 images below will switch places every minute.\n\nThe image URL is the function URL + a querystring for the image placement.  For example the first one is https://image-selector.azurewebsites.net/api/GetImage?imageID=1.\n\n\nImage 1:\n![https://image-selector.azurewebsites.net/api/GetImage?imageID=1](https://image-selector.azurewebsites.net/api/GetImage?imageID=1)\n\nImage 2:\n![https://image-selector.azurewebsites.net/api/GetImage?imageID=2](https://image-selector.azurewebsites.net/api/GetImage?imageID=2)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzsquared%2Fcs6750-randomimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdzsquared%2Fcs6750-randomimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzsquared%2Fcs6750-randomimage/lists"}