跳到正文
DEV Community· Ch Umamaheshwar·· 3 小時前AI 評分34

NoteNest AI:本機運行的 AI 學習助理|Hacktoberfest 2026

NoteNest AI 📚: A Local AI Study Assistant | Hacktoberfest 2026

AI 導讀

NoteNest AI 是一款在本機運行的 AI 學習助理,使用 Ollama 執行 Gemma 2,協助學生整理課堂筆記、提取重點、製作記憶卡和練習測驗。筆記及生成內容可儲存在瀏覽器本機儲存空間;專案需自行安裝 Python、所需套件、Ollama 和已設定的 Gemma 模型。

正文

What I Built

As a student, I know how time-consuming it can be to go through long class notes, identify the important concepts, and prepare for revision.

That's why I built NoteNest AI — a simple, locally running AI study assistant that helps students turn their notes into more manageable study materials.

Instead of manually going through every paragraph, the idea is to let an AI model help with the preparation so students can spend more time actually learning.

What can NoteNest AI do?

  • 📝 Summarize notes: Turn long notes into shorter, easier-to-review content.
  • 💡 Extract key concepts: Identify important ideas from your study material.
  • 🃏 Create flashcards: Prepare question-and-answer cards for revision.
  • 🧠 Generate practice quizzes: Create quiz questions from your notes.
  • 💾 Save study materials: Keep notes and generated content in your browser using local storage.
  • 🔒 Run AI locally: Use Ollama with an open-weight Gemma model instead of relying on a hosted AI API.

The goal is to make studying a little easier without adding another complicated tool to a student's workflow.

Demo

🔗 Project Demo / Repository: NoteNest AI on GitHub

NoteNest AI is designed to run locally on your computer. You can find the source code and setup instructions in the repository's README.

To try the app, you need Python, the required Python packages, Ollama, and the configured Gemma model.

Note: This link opens the GitHub repository, not a hosted live demo.

Code

The repository contains the application code and instructions for setting up and running the project locally.

How I Built It

I wanted to keep the project manageable while learning how a web application can connect to a local AI model.

Here is the technology stack I used:

  • Python and Flask: The backend that handles requests from the web interface.
  • HTML and CSS: The structure and styling of the application.
  • Vanilla JavaScript: Handles user interactions and communicates with the backend.
  • Ollama: Runs the AI model locally.
  • Gemma 2: The open-weight language model configured for generating study content.
  • Browser local storage: Saves notes and study materials in the user's browser.

The basic workflow is straightforward:

  1. A student enters or pastes their class notes.
  2. The frontend sends a request to the Flask backend.
  3. Flask communicates with the local Ollama API.
  4. The model generates the requested study content.
  5. The application displays the result, which can be saved for later revision.

I also used Antigravity to help build the initial application and worked through setup and debugging while testing it locally. This gave me an opportunity to learn more about connecting a frontend, a Python backend, and a local AI model.

Why Does Open Innovation Matter?

For me, the biggest advantage of open-source AI is control.

Using a local model means the application can send prompts to a model running on the user's own computer instead of depending on a third-party hosted AI service.

That offers a few important benefits:

  • More control over data: Study notes can be processed locally rather than automatically sent to an external AI provider.
  • Greater flexibility: Developers can experiment with different supported models and adjust their applications.
  • Less dependence on paid APIs: Local inference can avoid per-request API charges, although running a model still uses hardware and electricity.
  • A better learning experience for developers: Building with open models makes it easier to explore how AI applications work beyond simply calling a hosted service.

Local AI isn't without trade-offs. Model performance depends on the available hardware, and setup can take some effort. Still, I think having the option to run AI locally is valuable, especially for small, practical tools like this one.

My Agent Session (Optional)

I used Antigravity to help build the initial version of NoteNest AI and assist with development.

I haven't included a public agent-session link in this submission.

The Lazy Payoff (Optional)

The idea behind NoteNest AI is simple: spend less time preparing to study and more time studying.

Instead of manually shortening every section of your notes or writing every revision question yourself, you can use AI to help prepare study materials in one place.

It's a small step toward making everyday student tasks less repetitive.

Prize Categories (Optional)

  • Best Use of Gemma: This project is intended to use the Gemma 2 model through Ollama for local AI-powered study assistance.

Final Thoughts

NoteNest AI is one of my attempts to explore how open-source AI can solve a practical problem without making the application unnecessarily complicated.

I'm still learning, and building this project helped me understand more about Flask, frontend-backend communication, local AI inference, and the challenges of testing AI-powered features.

I'd love to keep improving it and make it more useful for students who want a simpler way to revise their notes.

Thanks for checking out NoteNest AI! 📚

devchallenge #hf26challenge

來源:DEV Community · dev.to