[MAJOR UPDATE] Forgetfulino 2.0: 💾 Stop losing your Arduino code! Meet Forgetfulino 2.0 (LIBRARY + EXTENSIONS ) save&retreave the code from the board

Hey everyone!

Last week I shared Forgetfulino - Upload your (compressed) code in the board - IDE 2.x extension, a library to embed source code into your Arduino firmware. The feedback was great, but the Python script workflow was a pain, there was no compression, and a lot of feedback made me build an amazing tool.

Short video workflow

I took that personally and now Forgetfulino is on steroids. Forgetfulino 2.0 is now a native Arduino IDE 2.x Extension. I also made a complete YouTube tutorial (link below) covering everything from installation to recovery.

A quick "Boring Mentor" lecture

Before showing you the shiny new buttons, let's get one thing straight: "Don't lose good habits just because you have good tools."

Forgetfulino is NOT a replacement for Git. If you stop pushing to GitHub because "it's on the chip anyway," you are doing it wrong. This is your emergency parachute, not your airplane. Use it for those projects you find in a drawer 3 years from now, but keep your workflow professional.

The "Right-Click" (Check the screenshot!)

r/arduino - MAJOR UPDATE Forgetfulino 2.0: 💾 Stop losing your Arduino code! Meet Forgetfulino 2.0 (LIBRARY + EXTENSIONS )  save your code in the board - retreave it later (video demostration)|605xauto

Forget the terminal. As you can see in the image, Forgetfulino is now integrated directly into the Arduino IDE 2.x context menu.

Here is what you can do with a simple click:

  • Auto-Generate on Save: Toggle this, and Forgetfulino updates the embedded code every single time you hit Ctrl+S. It's invisible and seamless.

  • Smart Library Versioning: This is a game-changer for reproducibility. Each #include in the recovered source is automatically annotated with the exact version of the library used during the original build. Special thanks to @lunastrod for the inspiration!.

  • Decode Compressed Dump: The magic part. When you get that string from Serial, just select it, right-click, and "Decode". It opens your original source in a new tab instantly.

  • Auto Inject Template: Tired of typing boilerplate? The extension can automatically wire up new sketches with the library headers and setup code.

  • Comment Stripping: Running low on space? Toggle "Strip comments" to keep the binary small while preserving the full logic.

  • Multi-file Support: It now handles multiple .ino and .cpp files in a sketch folder, preserving their order.

  • Dump on demand: Write forgetfulino on serial, the board will answer with the dump.

Know your limits (The Memory Talk)

We are fighting for bytes here.

  • Zero RAM usage: The code is read directly from Flash (PROGMEM), so your variables stay safe.

  • Flash is finite: While compression helps significantly, be smart. Storing a 5000-line sketch on an ATmega328P is a bad idea. Use it wisely and respect your hardware's boundaries.

Video Tutorial & Links

I’ve recorded a full walkthrough where I show:

  1. How to install the VSIX extension. (It's just a copy paste really)

  2. Setting up a project with Auto-Inject.

  3. The full recovery process from a "lost" board.

YouTube Video: Forgetfulino 2.0 Video GitHub Repository: Git Link

I'm looking forward to your feedback on this new workflow!

:heart: Community Hall of Fame (Special Thanks)

This update exists because of the brutal honesty and genius suggestions from the community. A huge thank you to:

  • ptillisch (Arduino Team): For pointing out the possibility of an IDE extension. It’s been a total game changer for usability.

  • lunastrod (Reddit): For the focus on Library Versioning. Forgetfulino now annotates every #include with its exact version for perfect reproducibility.

  • J-M-L (Arduino community): For motivating Multi-file support. We now handle multiple .ino and .cpp files seamlessly.

  • robtillaart (Arduino Forum): For the Compression tip. We now have an optional compressed representation to save your precious Flash.

  • kahveciderin (Reddit): For pushing toward a more Fail-safe workflow, leading to the automatic injection feature.

4 Likes

Thanks for the update!

Very cool that you created an Arduino IDE 2.x extension! I submitted it for inclusion in the community maintained catalog of such extensions:

1 Like

Thanks to point this in the first place!! :slightly_smiling_face: Much appreciated