SentiX is a sentiment analysis tool for twitter.
Description · Features · Running locally ·
Utilizing state-of-the-art natural language processing algorithms, Senti𝕏 analyzes tweets, user handles, and hashtags, extracting nuanced sentiments in real-time. Uncover valuable trends, gauge public perception, and make data-driven decisions with our comprehensive sentiment analysis toolkit, designed to unravel the emotions behind every digital conversation.
Link: https://sentix.vercel.app/
- Next.js App Router
- React and Typescript for reliable and fast development
- Langchain.js as the wrapper to interact with OpenAI API
- Pinecone as the vector database
- User Interface and Experience
- Design is built from scratch using Figma
- Styling with Tailwind CSS
- Icons from Heroicons and Google Icons
- Tailwind Merge and CLSX for dev experience
You will need to have the necessary environment variables setup in your .env
file.
This should include keys for your openai account, pinecone index.
NEXT_PUBLIC_OPENAI_API_KEY =
NEXT_PUBLIC_PINECONE_API_KEY =
NEXT_PUBLIC_PINECONE_ENV =
Note: You should not commit your
.env
file or it will expose secrets that will allow others to access your openai credits.
- Install run:
pnpm i
- Make a new
.env
file. - Populate the
.env
file with the necessary environment variables.
pnpm run dev
Your app template should now be running on localhost:3000.
docker login
docker pull korebhaumik/sentix
docker run -env-file .env -p 3000:3000 korebhaumik/sentix
Note: If the docker image is not available (repo is private), you can build it locally by running
docker build -t sentix.
in the root directory of the project.