{"id":16566985,"url":"https://github.com/iricigor/sadjoey","last_synced_at":"2025-09-05T20:34:13.944Z","repository":{"id":37405795,"uuid":"130685475","full_name":"iricigor/SadJoey","owner":"iricigor","description":"Module compares your level of your sadness with \"Sad Joey\"","archived":false,"fork":false,"pushed_at":"2018-04-24T14:49:46.000Z","size":1176,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T23:42:37.657Z","etag":null,"topics":["azure-functions","cognitive-services","psconfeu","sadjoey"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/iricigor.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}},"created_at":"2018-04-23T11:20:45.000Z","updated_at":"2023-07-13T22:35:33.000Z","dependencies_parsed_at":"2022-08-18T06:42:48.923Z","dependency_job_id":null,"html_url":"https://github.com/iricigor/SadJoey","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/iricigor%2FSadJoey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iricigor%2FSadJoey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iricigor%2FSadJoey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iricigor%2FSadJoey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iricigor","download_url":"https://codeload.github.com/iricigor/SadJoey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242008773,"owners_count":20056960,"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":["azure-functions","cognitive-services","psconfeu","sadjoey"],"created_at":"2024-10-11T21:05:17.032Z","updated_at":"2025-03-05T10:27:59.251Z","avatar_url":"https://github.com/iricigor.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sad Joey PowerShell module\n\n## Info\n\nModule compares your level of your sadness with \"Sad Joey\" using [Azure Cognitive Services](https://azure.microsoft.com/en-us/services/cognitive-services/). #SadJoey is a meme created during [PS Conf 2018](http://www.psconf.eu/). See more info about [#SadJoey](https://twitter.com/hashtag/SadJoey) on Twitter.\n\nModule publishes only one function, **Test-SadJoey** with four parameters:\n- [string] **Name** (optional) - your name\n- [string] **URL** (mandatory) - public URL to your photo\n- [switch] **Full** (optional) - if specified, it will return comparison for all basic emotions, except just for sadness\n- [string] **Response** - specify response type, which can be String (default value), HTML or InvokeHTML (opens default browser)\n\nIf you do not have your photo with public URL, you may want to temporary upload your photo online.\nFor that, you can use one the many [quick photo sharing](https://www.bing.com/search?q=quick+image+sharing) online services. You just need to get a direct link to your photo which you can test in your browser.\n\n## In Action\n\nModule is also published as Azure PowerShell function. You can see live in action at this URL: https://sadjoey.azurewebsites.net/api/SJ.\n\nOr, just click a link with [my photo here](https://sadjoey.azurewebsites.net/api/SJ?Name=Igor\u0026Full=1\u0026URL=https://github.com/iricigor/SadJoey/raw/master/img/HappyIgor.jpg), check [sad Keanu](https://sadjoey.azurewebsites.net/api/SJ?Name=Keanu\u0026URL=http%3A%2F%2Fi0.kym-cdn.com%2Fentries%2Ficons%2Foriginal%2F000%2F002%2F862%2FSadKeanu.jpg), or [happy Joey](https://sadjoey.azurewebsites.net/api/SJ?Name=Happy+Joey\u0026URL=https%3A%2F%2Fgithub.com%2Firicigor%2FSadJoey%2Fraw%2Fmaster%2Fimg%2FHappyJoey.jpg)!\n\nYou can try and learn Microsoft Azure **Face API** on your own [here](https://azure.microsoft.com/en-us/services/cognitive-services/face/) - scroll to Face detection.\n\n## Application key\n\nThe PowerShell module needs Cognitive services application key. It will prompt you to enter one during import. It can be obtained from [module owner](mailto:iricigor@gmail.com?Subject=TestSadJoeyAppKey).\n\nThe Azure Functions example has no such limitation.\n\n## Examples\n\n```PowerShell\nTest-SadJoey -Name 'Igor' -URL 'http://bit.ly/SJ-SadIgor'\nTest-SadJoey -Name 'Keanu' -URL 'http://i0.kym-cdn.com/entries/icons/original/000/002/862/SadKeanu.jpg'\nTest-SadJoey -Name 'Igor' -URL 'http://bit.ly/SJ-HappyIgor' -Full\n```\n\n```\nHi Igor, you are 127 times less sad than Joey.\n\nHi Keanu, you are 7 times less sad than Joey.\n\nHi Igor, here is your emotions report:\nnot neutral at all\nnot surprised at all\nnot afraid at all\nnot sad at all\nnot disgusted at all\nnot angry at all\nnot despised at all\n40117 times more happy than Joey\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firicigor%2Fsadjoey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firicigor%2Fsadjoey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firicigor%2Fsadjoey/lists"}