microblog-ai-nextjs
microblog-ai-nextjs copied to clipboard
An application to create and generate intelligent content
π Microblog AI with Next.js & AI Technologies
Complete Workshop: Learn how to build an intelligent microblog with Next.js and AI technologies, from scratch to ready to production applicatoin!
This repository contains the code and materials for a hands-on workshop about building a microblog application with Next.js, integrating advanced AI features and exploring modern architectures. The goal is to provide a practical journey from initial to ready to production application, using best practices and current tools.
π Try Instantly with GitHub Codespaces
Want to test or explore the application quickly? Click the button below to open this project directly in a GitHub Codespace β no setup required!
π― About the Workshop
- From scratch to ready to production: Learn how to set up, develop and let ready to deploy.
- Modern technologies: Next.js, Tailwind CSS, TypeScript, Azure, OpenAI, LangChain.js, and more.
- Evolving roadmap: The project is constantly evolving with new versions that expand features and AI integrations.
This workshop is available in multiple languages:
- π§π· Portuguese: @glaucia86/microblog-ai-nextjs/files/workshop/pt-br/v1/00-initial.md
- πΊπΈ English: @glaucia86/microblog-ai-nextjs/files/workshop/en-us/v1/00-initial.md
π₯οΈ How to Run Locally
You can run the application locally using GitHub Models. Follow these steps:
-
π¦ Install dependencies:
npm install -
ποΈ Build the application:
npm run build -
βοΈ Create a
.envfile at the root of the project:NEXT_PUBLIC_GITHUB_MODELS_TOKEN= NEXT_PUBLIC_GITHUB_MODELS_ENDPOINT=Fill in the values with your own GitHub Models environment credentials.
-
βΆοΈ Start the application:
npm run start
β¨ See the application running:

πΊοΈ Roadmap: Next Steps
The project evolves through versions, each bringing new advancements:
πΉ v2 β LangChain.js
- π Implementation of LangChain.js β the leading web framework for AI, providing advanced tools for building intelligent applications.
πΉ v3 β RAG Architecture (Retrieval-Augmented Generation)
- π§© Implementation of the RAG architecture (Retrieval-Augmented Generation), making it possible to combine database search with AI-generated responses, allowing the model to access external information and respond in a contextualized and up-to-date manner.
- π Contextual queries and optimized responses make the microblog smarter, capable of answering based on real and dynamic content.
πΉ v4 β Integration with Intelligent Agents
- πΉοΈ Integration of intelligent agents that automate tasks, perform advanced interactions, and can act autonomously within the application, using the context provided by the RAG architecture.
- π€ Agents will further enhance the user experience, making the microblog interactive and adaptive to different needs.
πΉ v5 β Model Context Protocol (MCP) with Agents
- π§ MCP protocol to manage context and interaction between agents and AI models, ensuring efficient communication and advanced contextualization.
πΉ v6 β Deploy with Terraform, Cloud Provider (GCP, AWS, Vercel or Azure)/Toolhouse and LLM Providers (OpenAI, Ollama, Gemini...)
- π’ Automate deployment with Terraform and IaC (Infrastructure as Code).
- βοΈ Orchestrate containers with a Cloud Provider (GCP, AWS, Vercel, or Azure) and Toolhouse for AI agents.
- π€ Integrate additional intelligent features to expand the possibilities of the microblog.
π‘ Why Give a Star and Fork?
If you enjoyed the project or want to follow its evolution:
- β Star the repo to support and get notified of new updates!
- π΄ Fork the repo to test, modify, or learn from the code.
- π¬ Share with anyone interested in learning about applied AI in web!
π€ How to Contribute
- π΄ Fork the repository
- π± Create a new branch:
git checkout -b my-feature - βοΈ Commit:
git commit -m 'feat: my new feature' - π Push:
git push origin my-feature - π Open a Pull Request
π¬ Contact
Open issues for questions, suggestions, or bug reports!
β¨ Follow the roadmap and contribute to the evolution of this project! π