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.
- Sign up, log in, and manage your profile securely.
- Session persistence with sign out support.
- Create multiple sections to group your code logically.
- Each section can have multiple code snippets.
- 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.
- 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.
- Generate a complete PDF document of all your snippets organized by section.
You can download the latest Android APK from the Codebook GitHub Releases page.
- Open the latest release on your Android phone.
- Scroll to the Assets section.
- Tap the file ending in
.apk, such asapp-release.apk. Do not download the automatically generated Source code ZIP or TAR.GZ files. - When the download finishes, open the APK from your browser or Downloads folder.
- If Android asks for permission, allow Install unknown apps for the browser or file manager you are using.
- 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.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
- Flutter 3.x
- Dart SDK
- Firebase project (Firestore + Auth)
- A Groq API key for LLaMA3 AI (stored in
lib/env.dart)
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











