Skip to content

CassieMarie0728/snippet-bubble-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🫧 Snippet Bubble Manager

⚡ Your code. One click away. Always within reach.

Status Version License Built With


Snippet Bubble Manager Banner

💀 What This Is

Snippet Bubble Manager is a floating, always-on-top snippet tool that lives in your workflow like a silent little assassin.

It doesn’t ask permission.
It doesn’t get in your way.
It just sits there—ready to drop code into your clipboard faster than your brain can say “where the hell did I put that?”

🎯 Why You Built This (aka The Problem)

  • You copy the same snippets 1000 times
  • You forget where you saved half your useful code
  • Your “organization system” is vibes and chaos
  • Clipboard history apps aren’t built for developers

So yeah—this fixes that.

🔥 Features That Actually Matter

🫧 Floating Bubble UI

  • Always on top
  • Expand / collapse instantly
  • Minimal footprint, maximum damage

⚡ One-Click Copy

  • Copy snippets instantly
  • Track last copied
  • Zero friction

🧠 Smart Snippet Storage

  • Titles, descriptions, tags
  • Language-aware organization
  • Favorites & pinned snippets

📁 Folder Organization

  • Keep your chaos contained
  • Group by project, language, or whatever your brain needs

☁️ Firebase-Powered Backend

  • Real-time updates
  • Auth-secured ownership
  • Sync-ready foundation

🤖 AI-Powered Code Completion

  • Integrated with Google GenAI for intelligent code suggestions.
  • Monaco Editor integration for a rich coding experience.

🖼 UI Preview

🧱 Tech Stack

Layer Tech
Frontend React + TypeScript + Vite
Styling Tailwind CSS
Backend Firebase (Firestore, Authentication)
AI Google GenAI
Editor Monaco Editor

📂 Project Structure

snippet-bubble-manager/
├── public/
├── src/
│   ├── App.tsx
│   ├── firebase.ts
│   ├── types.ts
│   ├── templates.ts
│   ├── main.tsx
│   └── index.css
├── docs/
│   ├── images/
│   │   ├── banner.png
│   │   ├── icon.png
│   │   ├── screenshot-1.png
│   │   ├── screenshot-2.png
│   │   └── screenshot-3.png
├── firebase-applet-config.json
├── firebase-blueprint.json
├── firestore.rules
├── index.html
├── metadata.json
├── package.json
├── package-lock.json
├── tsconfig.json
├── vite.config.ts
└── .env.example

🚀 Getting Started

1. Clone the Repository

git clone https://github.com/CassieMarie0728/snippet-bubble-manager.git
cd snippet-bubble-manager

2. Install Dependencies

npm install

3. Firebase Setup

This project uses Firebase for backend services (Firestore and Authentication). The Firebase configuration is loaded from firebase-applet-config.json. Ensure this file is correctly configured with your Firebase project details.

For AI code completion, you will need a Google GenAI API key. Create a .env.local file in the root directory and add your API key:

GEMINI_API_KEY=your_google_genai_api_key_here

4. Run the Development Server

npm run dev

Open your browser to http://localhost:3000 (or the port specified by Vite).

🔐 Firestore Rules

Firestore security rules ensure that users can only access and manage their own snippets and folders. The rules enforce ownerId === request.auth.uid for all read/write operations on user-specific data. An admin override is available for the email cmcrossno@gmail.com.

🧠 Data Model

Snippet

Field Type Description
id string Unique identifier for the snippet (optional for creation)
title string Title of the snippet
code string The actual code snippet content
language string Programming language of the snippet (e.g., javascript, python)
description string Optional description of the snippet
tags string[] Optional array of tags for categorization
isFavorite boolean Flag indicating if the snippet is marked as a favorite
isPinned boolean Flag indicating if the snippet is pinned for quick access
ownerId string User ID of the snippet's owner
lastCopiedAt string Timestamp of when the snippet was last copied
createdAt string Timestamp of when the snippet was created
updatedAt string Timestamp of when the snippet was last updated
folderId string Optional ID of the folder the snippet belongs to

Folder

Field Type Description
id string Unique identifier for the folder (optional for creation)
name string Name of the folder
ownerId string User ID of the folder's owner
createdAt string Timestamp of when the folder was created
updatedAt string Timestamp of when the folder was last updated

🧨 Roadmap

  • 🧲 Global hotkeys (summon the bubble instantly)
  • 🖥 Desktop app (Electron or Tauri)
  • 🔍 Fuzzy search that doesn’t suck
  • 🧠 AI snippet suggestions
  • ☁️ Multi-device sync dashboard
  • 🎯 Context-aware snippets (language detection, auto-suggest)

⚠️ Known Limitations

  • No offline mode (yet)
  • UI still evolving
  • Firebase required (don’t argue with reality)

🧪 Dev Notes

  • Built fast, iterated faster
  • Designed to stay lightweight
  • Structured for future expansion into a full dev tool ecosystem

🖤 Philosophy

You didn’t build this to be cute.

You built this because:

  • Time matters
  • Repetition is stupid
  • And your brain has better things to do than remember where a snippet lives

📜 License

MIT — do whatever you want, just don’t be an idiot about it.

🧠 Final Thought

Stop digging.
Stop rewriting.
Stop wasting time.

Let the bubble handle it.

About

Snippet Bubble Manager is a floating, always-on-top snippet tool that lives in your workflow like a silent little assassin. It doesn’t ask permission. It doesn’t get in your way. It just sits there—ready to drop code into your clipboard faster than your brain can say “where the hell did I put that?”

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors