Redo
- 3 Devlogs
- 5 Total hours
Redo, stop retyping commands. An handwritten idea from my notebook!
Redo, stop retyping commands. An handwritten idea from my notebook!
Devlog #3
Hi developers,
This will be my last devlog because Redo is finally complete! It is fully ready to be deployed, and all the modules have been completed.
I have also attached a video so y’all can get a quick glimpse of Redo in action. Along with that, I have published it on PyPI, so you can install it directly using:
pip install redo-cli
The process of building this project was pretty smooth, and I did not face any major problems since I already have experience with Python. The only challenging part was designing a clean and less clumsy CLI using Rich, but I think I managed to achieve that pretty well.
Anyways, I’m shipping the project today!
Hi developers! I’ve finally built the base of Redo.
I completed the storage module and the UI module, and Redo has finally started working properly. The biggest challenge I faced was configuring Rich to make the terminal UI look clean and beautiful, but I’m happy with how it’s coming together.
My roadmap for tomorrow is to complete the placeholder module and fix the remaining bugs.
Till then, bye!
Started building Redo’s storage module today. Redo is a simple CLI tool that lets you save repeated terminal workflows and run them again with one command — for example, saving a Vite setup flow once and later running it with redo vite.
The main progress today was getting the basic storage system working. I finished initialize_file(), load_workflows(), and save_workflows(), which handle creating the workflow JSON file, reading saved workflows, and writing updates back to storage.
The tricky part was understanding how file paths, JSON loading, and return status messages should work together without making the code messy. I also learned why an empty JSON file breaks loading, so the storage file now starts with {} instead of being created blank. I also learned new libraries like pathlib
There’s still a lot left in the storage module, especially add_workflow(), get_workflow(), delete_workflow(), and run-count tracking, but the foundation is finally in place. Next goal: make Redo actually save a new workflow from user input.
No ss today :(