{"id":13621638,"url":"https://github.com/adhorn/poliko","last_synced_at":"2025-04-15T01:33:27.991Z","repository":{"id":53523333,"uuid":"92388361","full_name":"adhorn/poliko","owner":"adhorn","description":"Demo web applications that use AWS Artificial Intelligence services  Rekognition and Polly (http://poliko.adhorn.me)","archived":false,"fork":false,"pushed_at":"2021-03-26T05:34:20.000Z","size":34,"stargazers_count":37,"open_issues_count":1,"forks_count":17,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-08T08:41:42.974Z","etag":null,"topics":["ai","amazon-web-services","artificial-intelligence","aws","cognito","polly","rekognition","s3"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/adhorn.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":"2017-05-25T09:38:41.000Z","updated_at":"2023-11-05T22:16:12.000Z","dependencies_parsed_at":"2022-09-09T21:31:34.544Z","dependency_job_id":null,"html_url":"https://github.com/adhorn/poliko","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/adhorn%2Fpoliko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhorn%2Fpoliko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhorn%2Fpoliko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhorn%2Fpoliko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adhorn","download_url":"https://codeload.github.com/adhorn/poliko/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248989431,"owners_count":21194585,"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":["ai","amazon-web-services","artificial-intelligence","aws","cognito","polly","rekognition","s3"],"created_at":"2024-08-01T21:01:08.933Z","updated_at":"2025-04-15T01:33:27.684Z","avatar_url":"https://github.com/adhorn.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"Code used for the demo http://poliko.adhorn.me\n\n![Poliko in action](https://pbs.twimg.com/media/DAgoPnHXkAAbJZF.jpg:large)\n\nThis code uses Cognito to permit access to AI services (Rekognition and Polly)\n\n**What is Amazon Cognito?**\nAmazon Cognito lets you easily add user sign-up and sign-in to your mobile and web apps. With Amazon Cognito, you also have the options to authenticate users through social identity providers such as Facebook, Twitter, or Amazon, with SAML identity solutions, or by using your own identity system. In addition, Amazon Cognito enables you to save data locally on users devices, allowing your applications to work even when the devices are offline. You can then synchronize data across users devices so that their app experience remains consistent regardless of the device they use.\n\n\n**What is Amazon Rekognition?**\nAmazon Rekognition is a service that makes it easy to add image analysis to your applications. With Rekognition, you can detect objects, scenes, faces; search and compare faces; and identify inappropriate content in images. Rekognition’s API enables you to quickly add sophisticated deep learning-based visual search and image classification to your applications.\n\n**What is Amazon Polly?**\nAmazon Polly is a service that turns text into lifelike speech. Amazon Polly lets you create applications that talk, enabling you to build entirely new categories of speech-enabled products. Amazon Polly is an Amazon AI service that uses advanced deep learning technologies to synthesize speech that sounds like a human voice. Amazon Polly includes dozens of lifelike voices across a variety of languages, so you can select the ideal voice and build speech-enabled applications that work in many different countries.\n\n\n**DISCLAIMER**\n\nThe instruction assume you are comfortable using the AWS command line interface (CLI)\n\nThe AWS CLI is an open source tool built on top of the AWS SDK for Python (Boto) that provides commands for interacting with AWS services. With minimal configuration, you can start using all of the functionality provided by the AWS Management Console from your favorite terminal program.\n\n\t• Linux shells – Use common shell programs such as Bash, Zsh, and tsch to run commands in Linux, macOS, or Unix.\n\t• Windows command line – On Microsoft Windows, run commands in either PowerShell or the Windows Command Processor.\n\t• Remotely – Run commands on Amazon EC2 instances through a remote terminal such as PuTTY or SSH, or with Amazon EC2 systems manager.\n\nThe AWS CLI provides direct access to AWS services' public APIs. Explore a service's capabilities with the AWS CLI, and develop shell scripts to manage your resources. Or take what you've learned to develop programs in other languages with the AWS SDK.\nYou can install and configure the AWS CLI as explained here:\nhttp://docs.aws.amazon.com/cli/latest/userguide/installing.html\n\n**How to Setup the demo?**\n\nRead this page is you want to use Route53 and a shorter domain name for your demo.\nhttp://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html\n\nEdit the bucket name you want to use in the file `setup_website.sh`\n\nRun the configuration scripts.\nThe following will create a cognito federated identity pool allowing for unauthenticated access and update the `ai.js` file with the cognitio ID created.\n\n```\nsh setup_cognito.sh\n```\n\nThis will setup an S3 bucket, turn it into a website and give it the correct policy.\n\n```\nsh setup_website.sh\n```\n\nBrowse to the URL outputed by the script.\n\nHappy demo!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhorn%2Fpoliko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadhorn%2Fpoliko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhorn%2Fpoliko/lists"}