This project uses AWS AI services to moderate images, videos, text, PowerPoint, Word and PDF files. It is a AWS CDK project and 100% serverless.
For details, please check out this blog post.
https://www.linkedin.com/pulse/how-build-robust-content-library-aws-aiml-services-wong/
git clone https://github.com/wongcyrus/AwsAiContentLibrary
cd AwsAiContentLibrary/
npm i nvm
nvm install 16
nvm alias default 16
npm install -g yarn
npm install -g --force npx
echo "" >> ~/.bash_profile
echo "alias pj='npx projen'" >> ~/.bash_profile
alias pj='npx projen'
bash <(curl -sL https://gist.githubusercontent.com/wongcyrus/a4e726b961260395efa7811cab0b4516/raw/490162cebcaa44210bb2eab0e6883e57fd880a27/resize.sh) 50
Follow https://gist.github.com/wongcyrus/4e8a2e78045e11f7c5a55e4e244fe3d2
src/ Don't touch code in lib/ which generates by projen.
You need to run TypeScript compiler at the background with new terminal.
pj watch
- rename .env.template to .env, and input admin email who needs to be alerted when moderation fails.
- run
pj deploy
and approve for the creation of resources.