Skip to content

Repository files navigation

📘 Codebook App

Codebook is a sleek, mobile-friendly Flutter app designed for developers to store, manage, share, and even chat with AI about their code snippets. It's your personal snippet assistant – all in one place.

Flutter Firebase AI License


✨ Features

👤 Authentication & Profiles

  • Sign up, log in, and manage your profile securely.
  • Session persistence with sign out support.

🗂️ Organize Snippets by Sections

  • Create multiple sections to group your code logically.
  • Each section can have multiple code snippets.

🧠 AI-Powered Code Assistant

  • Ask AI to explain, review, or improve your code snippets.
  • Ask general coding questions using a Groq-powered LLaMA 3 AI.
  • AI considers your saved snippets as context for more personalized answers.

📄 Snippet Actions

  • View code in a beautiful syntax-highlighted format.
  • Edit or delete code snippets anytime.
  • Copy, share via Messenger, Telegram, etc.
  • Export as PDF and download directly to your device’s Downloads folder.

🖨️ Full Code PDF Export

  • Generate a complete PDF document of all your snippets organized by section.

📲 Download the Android App

You can download the latest Android APK from the Codebook GitHub Releases page.

How to download and install

  1. Open the latest release on your Android phone.
  2. Scroll to the Assets section.
  3. Tap the file ending in .apk, such as app-release.apk. Do not download the automatically generated Source code ZIP or TAR.GZ files.
  4. When the download finishes, open the APK from your browser or Downloads folder.
  5. If Android asks for permission, allow Install unknown apps for the browser or file manager you are using.
  6. Tap Install, then open Codebook.

The APK is for Android devices. iPhones and iPads cannot install APK files. This GitHub build is currently provided as a portfolio/demo release rather than an app-store production release. Only download it from this repository's official Releases page, and disable Install unknown apps again afterward if you do not need it.


📸 Screenshots


🚀 Getting Started

Prerequisites

  • Flutter 3.x
  • Dart SDK
  • Firebase project (Firestore + Auth)
  • A Groq API key for LLaMA3 AI (stored in lib/env.dart)

Clone the Repo

git clone https://github.com/Sefayet-Alam/Codebook-App.git
cd Codebook-App
flutter pub get

📂 Project Structure
lib/ ├── models/ # Data models (Snippet, Section, etc.)
├── screens/ # All the UI screens
├── services/ # Firebase, Auth, and AI API logic
├── widgets/ # Reusable UI components
├── utils/ # Utility files (e.g., PDF generator)
├── env.dart # Your private API key file (ignored in git)
main.dart # App entry point

🤖 Powered By
💙 Flutter

🔥 Firebase

🧠 Groq API (LLaMA 3)

🖨️ pdf and printing packages

🧠 flutter_markdown

🙋‍♂️ Author
Sefayet Alam
📧 Contact | 🌐 GitHub

flutter clean
flutter pub get
flutter run

About

Codebook is a sleek, mobile-friendly Flutter app designed for developers to store, manage, share, and even chat with AI about their code snippets. It's your personal snippet assistant – all in one place

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages