DEV Community

Cover image for Echodiary : AI-Powered Diary with AWS Amplify
Sidharth  Sreejil
Sidharth Sreejil

Posted on

Echodiary : AI-Powered Diary with AWS Amplify

This is a submission for the The AWS Amplify Fullstack TypeScript Challenge

What we Built

We created Echodiary, a user-friendly diary-making Web App using AWS Amplify Gen 2. Echodiary allows users to document their daily experiences by talking to our mascot Echo, which transcribes voice to text, or by writing entries manually. Users can enhance their diary entries with photos, making memories more vivid. The app features a one-click AI Content Enhancement ✨ to improve grammar and structure. Additionally, AI-generated weekly highlights and personalized suggestions help users reflect on their week and improve mental health and personal growth.

Echodiary combines advanced technology with user-friendly features to offer a seamless and enriching diary-keeping experience.

Demo

Dashboard Page

Dashboard

Creating New Diary Entry

New Diary

Diary Entry with Mood Analysis

mood

Landing Page

Landing

Journey

Initially, we set out to create a basic CRUD app with Amplify, but as we dove into development, we were astounded by its capabilities. This got us thinking about ways to push the envelope. We noticed the lack of a modern diary app infused with AI. What started as a simple diary app evolved into something much grander.

We recognized that traditional typing might not suit everyone, so we integrated speech recognition to allow users to express themselves orally. But we didn't stop there. We wanted to elevate the content beyond mere transcription, so we introduced AI-enhanced features to refine grammar and structure.

However, we found that the experience lacked warmth. To bridge this gap, we introduced "echo" our friendly mascot, to foster a sense of connection with the user. With echo, users could engage in a dialogue, making the app feel more like conversing with a friend.

As our diary entries accumulated, we realized the potential for insights. Thus, we incorporated mood tracking and AI-generated highlights to distill meaningful moments from the entries. The result is an app that not only captures moments but also enriches and reflects upon them.

As we progressed with development, we encountered and familiarized ourselves with numerous functionalities such as Amplify Serverless Functions and leveraged AWS Bedrock to enhance our AI capabilities, ultimately refining our app for optimal performance.

Connected Components and Feature Full

We have used Connected Components and all four features: Data, Authentication, Serverless functions, and File Storage.

  • Data: The diary entries are securely stored in Amplify Storage (DynamoDB) with authorization rules ensuring that only the diary owner has access.
  • Authentication: The users are authenticated using Amplify Auth(Cognito) to access the Dashboard and create diary entries.
  • File Storage: Users can add images to the Diary Entries which are securely stored in Private/Protected S3 Buckets using Amplify Storage
  • Serverless Function: We utilize a serverless function to invoke the AWS Bedrock Model (mistral-7b-instruct) for enhancing diary text content and generating weekly highlights for users.

  • Connected Components: We used the Authenticator Connected Component to manage user authentication and the Storage Image and Storage Manager components to handle images within diary entries.

Additional Features

  • AWS Bedrock: We used AWS Bedrock to enhance the diary text content and to generate the Weekly Highlights using Mistral AI's mistral-7b-instruct model.
  • Amplify AI/ML Predictions (AWS Comprehend): We used Amplify Predictions to perform Sentiment Analysis of the user's diary to analyze their mood.
  • Voice Enabled Diaries: We used the Web Speech Recognition API to let users express their thoughts with their voice and transcribe them into the diary text.
  • AI Content Enhancement: We used AWS Bedrock to enhance the diary's text content and improve the grammar and structure and also to generate Weekly Highlights.

System Architecture

This is a submission by a team of 2.

Team Members:

Top comments (8)

Collapse
 
jt10 profile image
Joel Thomas

Wow so cool 😎😎😎😎

Collapse
 
arndom profile image
Nabil Alamin

UI is so niceπŸ‘, looking forward to trying this out

Collapse
 
grenmath profile image
Mathieu Grenier

congratulations!

Collapse
 
emsitkowski profile image
emsitkowski

Nice one :)
How much time did you have? I can't access the challenge page to check it.

Collapse
 
sidjs profile image
Sidharth Sreejil

We built this in around 3 days :)

Collapse
 
emsitkowski profile image
emsitkowski

I get it, typical hackaton-like situation, congrats :)

Collapse
 
davidsilva profile image
David Silva

Brilliant!

Collapse
 
2u841r profile image
Zubair

Website down