Activity

Brahmtej the Python Man

V0.1.4 Ready!

Show and Tell 2

I prepared some animations and stuff to show for the show and tell 2. Along with that, prior, I also worked on optimization and building the project to upload the new version to PyPi. I also clicked some pics and added to the images folder.

Changelog

  • Basic Optimization & Bug Fixes
  • Built & Ready to publish update on Pypi
  • Added images and videos
  • Documentation Changes

Challenges

The show and tell was really good, It took me about 30 minutes of work to get everything prepared which I had to show. Along with that, I also built everything and updated the documentation for the new version. There were not any major challenges.

Future Updates

I would be adding more patterns to this very soon!

AI Disclosure

No significant AI was used for this devlog. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Attached Image: Shows the new 0.1.4 version built and ready to be released!

Thanks for reading this 💖
Stay Tuned!

Attachment
0
Brahmtej the Python Man

Shipped this project!

Hours: 17.89
Cookies: 🍪 250
Multiplier: 13.98 cookies/hr

What is this project

I built an OS, which runs on the web, and which you can ACTUALLY USE!

It saves all your things in the cloud, so you can continue your progress ANYWHERE just by a user account and password.

Whats New

There is a new Cosmos App, which is a lot fun! Do check it out

How to Test It

  • Open the Demo
  • Use following the login details
    Username: admin
    Password: Admin

How is this different

Whatever changes you do, arent just limited to your local machine. They are synced with a cloud server, so everyone else using that same ID Password combination as you can see those changes. You can share your account with your friends and log in at the same time into the os and collaborate!

Making this was a High technicality project, I used a lot of Antigravity in this for the server sync and stuff. I also worked a lot on the storytelling to make it perfect and easily understandable.


Do give me a review after using the project, by writing your thoughts in the review text file in the OS! Make some drawings and stuff for people to see!

Hope this is a successful ship!
CYA!

Brahmtej the Python Man

Getting Ready to Ship!

Cosmos (5)

Progress

The cosmos app is ready for ship. The APOD was edited to move the text to Below the image, as if the text was larger, it completely hid the image.
I have also worked on theme colors for the cosmos app.
ISS Stream and everything is now synced across sessions, James Web is now dynamic and updates regularly.
ISS Stream now shows a travel path line, which is much longer than before, showing past positions.
I did not show the Daylight or Dark views on the map as they arent possible for me to render here.

Future Work

I would be working on more apps, after this ship, which makes this a completely usable OS. I’ll try to add some google apps integration like docs or drive if possible, because I know those things have good API support.


Attached Image: Shows the new APOD UI, the ISS Stream, the James Web Tab, and my great drawing of the JWST, done all on the OS! :)

Thankssss heart-wx
Cyaa!

Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
0
Brahmtej the Python Man

Cosmos (4)

Progress

Now, the cosmos has its own live ISS track system. The details are live and accurate, and the live location is shown on the map. There is also a line which marks the path of the ISS.
I was not able to get the day and dark curves on this graph, as that would be a bit too complex for me. I’ll still give it a shot.
The entire app is themed like a space mission. Which looks quite cool!

Future Work

Make the day and dark system (if possible)
Add more tabs to this app
Work on more apps
Work on easter eggs


Attached Images: Show the new ISS Tracking working! (Both images are different, Having different values)

Attachment
Attachment
0
Brahmtej the Python Man

COSMOS (3)

Progress

I worked on changing the UI of APOD, to make it more clean. I also added an ISS Tracker (Which does not work right now as I have to link an API and make system for it), but I would work on it in the next devlog.
I also added this app to the task menu and added all window and icon features to it like the other apps.
JWST tab is mostly the same.

Future Work

Would work on adding more tabs to this app, and would work on making the ISS Stream API system to fetch live data and show positions on map.


Attached Image: Shows the new cosmos app, with the APOD’s new layout. The new ISS Stream Tab and the James web tab.

Thanksss!!
Cya in the next log alibaba-love

Attachment
Attachment
Attachment
Attachment
Attachment
0
Brahmtej the Python Man

COSMOS (2)

Progress

This is the second devlog in the cosmos app, I am working on.

I have added some JWST news to it, which is dynamically fetched from NASA’s API.

See the attached screenshot for all the info.

Future Work:

Adding ISS stuff to this app


Attached Image: Shows the new JWST News headlines and image gallery

Attachment
Attachment
Attachment
0
Brahmtej the Python Man

New APP in the OS!

COSMOS (1)

Progress

I am working on a cosmos related app, for the cosmos achievement. I am working on the COSMOS app, in which I would be adding a lot of stuff like Planet of the day, Pic of the day and stuff, which NASA publishes every day through their API

Currently I have made APOD (Astronomy Picture of the Day) with full descriptions. It shows the image’s info, the image, and its explanation.

The main UI and stuff is done, main time consuming work was to add the app to the task menu and add all the options to it. But now as that is done, the work for future devlogs is just to add more features to this app, which is simpler.

Future Work

I would be working more on this app, to make it absolute perfect, and add a lot of more features, like a live solar system and more.


Attached image: Shows the new cosmos app in the OS, with the APOD page at maximized mode.

Thanksss!
Cya thumbs-up

Attachment
Attachment
0
Brahmtej the Python Man

The Windows Change SIZES! (PART 2)

Progress

The issues with sizes of paint and calculator, where Paint’s canvas got stretched and broken, and calculator’s buttons got bugged is now 100% Fixed!

Future Work

Would work on a new app, related to cosmos or space, so I get that achievement too.


Attached Image: Shows the paint and calculator, stretched to weird sizes, and still showing fine thumbs-up

Thankyou for reading this!
Cya! heart-wx

Attachment
Attachment
0
Brahmtej the Python Man

The Windows Change SIZES! (PART 1)

Progress

Thanks to voter suggestions, now, the windows change their size. You can stretch and expand windows, or make them shorter, and the UI expands! This is sooooo cool!

Future Work

This is the PART 1 of the update, as this needs some more work, like in calculator buttons glitch out at small sizes and paint hides its canvas on small sizes. Settings and notepad work great. In part 2, I would be fixing all that


Attached Image: Shows the windows resized and properly placed onto the entire screen, looking sooo good!

Thankssss!! btw_excited
Hope you like it
yay

Attachment
0
Brahmtej the Python Man

Progress

I found out that the battery sync did not work, It showed 100% most of the time, and didnt show charging info.
I have now worked on the battery level to make it accurate, it checks the battery every few mins and shows the level like windows does. It would also give a battery low notification if the battery goes too low.

The battery API does not work with Brave Browser due to some compatibility issues. Works fine with other browsers

I also worked a bit on stretchable windows, thats not done yet. Would be in the next devlog.

Future Work

Completing work on Stretchable windows.


Attached Image: Shows the battery level working, from 100 to 98

Attachment
Attachment
0
Brahmtej the Python Man

Work on calculator done!

As the devlogs had an 8 image limit, the images of new calculator are attached in this devlog, along with all the final UI and fixes.

Also now when we click the maximize button, it changes the calculator’s button sizes to fit the big window properly.

Thanks voters for the suggestion!

Future Work

I would be working on stretchable windows, as a voter suggested that


Attached image: Shows the new calculator, and me doing some operations with it

Thanks smile-wx
Cya!

Attachment
Attachment
Attachment
Attachment
Attachment
0
Brahmtej the Python Man

Thanks Everyone for a Successful Ship!

READ THIS!

The last ship was very successful, with most of you finding the project worth the time and you left really cool reviews!
(Review images attached)

Progress

This devlog has a lot of time because it also has the time before the last ship, of editing files and stuff to upload to github. Also, after the ship, as the reviewers pointed out, the calculator needed work.. I have worked on the calculator and added Point, backspace and fixed the operator doubling thing.


Attached Images: Shows the lovely reviews which the reviewers left INSIDE the os in a text file heart-wx

Thankyouuu!
Cya :)

Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
0
Brahmtej the Python Man

Shipped this project!

Hours: 14.29
Cookies: 🍪 258
Multiplier: 18.03 cookies/hr

What is this project


I built an OS, which runs on the web, and which you can ACTUALLY USE!

It saves all your things in the cloud, so you can continue your progress ANYWHERE just by a user account and password.

How to Test It


  • Open the Demo
  • Use following the login details

Username: admin
Password: Admin

How is this different


Whatever changes you do, arent just limited to your local machine. They are synced with a cloud server, so everyone else using that same ID Password combination as you can see those changes. You can share your account with your friends and log in at the same time into the os and collaborate!


Making this was a High technicality project, I used a lot of Antigravity in this for the server sync and stuff. I also worked a lot on the storytelling to make it perfect and easily understandable.

Do give me a review after using the project, by writing your thoughts in the review text file in the OS!


Hope this is a successful ship!
CYA!

Brahmtej the Python Man

The project is Live!

Use this link: https://usabl.thehytalehost.com/

Changelog

  • Added a readme and installation guide
  • Fixed Day sync system in calendar
  • Fixed bubble popping duration in bubbles screensaver
  • Reset all data for production

VOTERS READ THIS


The project is all ready to be shippped! Voters please use the above link, with the following login credentials. If you use the os, and save files, everyone else can see it when they log in with the same credentials as below.

ID: admin
Pass: admin

LEAVE SOMETHING GOOD IN THE OS, VOTERS! 🎉

Cya! orpheus-duck

Attachment
Attachment
Attachment
0
Brahmtej the Python Man

OS ready for its first ship!

Progress

Now the OS has functional directory system. Along with Rename system.
Brightness and sync option UI is remade to be a bit more professional looking.
Calendar is working now, with access to different months too.
As you see in the ss, desktop icons are now movable and draggable.
Task Menu is also re made to include all apps, and ability to add apps to desktop. Alongside, sleep, restart, logout buttons work as they did before.
Login screen also got a frosted UI at sign in page, and the default wallpaper when you first visit it.

Future Work

The project still needs more functional apps which I would be launching in upcoming ships. I would also be working on the cosmos or something to get that achievement too!

The readme is also pending to be created. Would work on it now.


Attached Images: The images attached show the entire os, file manager, desktop, sign in, register, task menu, options and more..

Thanks for reading this! heart-wx
Stay Tuned :)

Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
0
Brahmtej the Python Man

Progress

Added proper directory system to the file manager.
Made PAINT app, which works quite good, i drew Orpheus with it! (see pics)
Added proper directory file saving and opening system
Battery tracking is now on every refresh, as it took too much processing to check everytime and caused lag sometimes.

Future Work

I would be working on something with Audio, so that i can use the volume features. next devlog would be a bit late as I would be making something rly big and nice..


Attached Images: Show the new file and folder system, it also shows the new paint app and my drawing, and the notepad app.

Thanks for reading this! yay
Cya in the next devlog!

Attachment
0
Brahmtej the Python Man

NEW APP IN THE OS!

Progress

The OS now has a fully functional notepad. It can save files, rename files and write text in files.

The file manager’s UI is completely revamped to make it look a bit like windows for professionalism. Search is also added

Future Work

Work on Image Opening apps like PAINT
Work on browser and audio system
and more..

Attached Image: Shows the new Notepad app and changed UI of file manager.

Thanks for reading this heart-wx
Bye! yay

Attachment
Attachment
0
Brahmtej the Python Man

BIG Features Added!

Changelog:

  • Added Draggable Desktop Icons
  • Added Start Menu (Aka Task Menu)
  • Added Feature to add icons to desktop
  • Added Screensavers
  • Added File Manager
  • Added Notepad (Work in progress)
  • Added Sleep mode (Working now)
  • Added brightness and brightness sync (Working now)

Progress

After a lot of brain eating struggling and hard work, the OS has its own working file manager, with the first app to edit, rename, delete stuff.

File manager can create text, image, and js files. Il try to put ability to run js files too. For text it has notepad, for image it has paint (to be created).

Screensavers and sleep mode also added

Icons can now be added to desktop by right clicking in task menu.

Future Work:

Paint app would be added for image editing.

File system would be made more proper, as right now it is only simulating a file system.

Adding code viewers, browsers, sound effect and more


Attached Image: Shows all the new menus and features, last image shows one of the screensaver!

Thanks for reading this heart-wx
Cya! yay

Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
0
Brahmtej the Python Man

New App in the OS!

Progress

Now, the OS has a file manager. It is currently really basic and I have only worked on the functions. For full functionality it would need file reader and file saving featues too, which I would be working on next.

I also improved the task bar, by improving the taskbar menu. That is under progress and would be shared in next devlog.

Future Work

I would be adding the notepad first, to start up with the basic file manager functionality.
I would also be working on the UI of file manager to add more features in it.
Along with this, il also make it add files to desktop, and make icons draggable.


Attached Image: The new file manager app in the OS with a notes file created.

Thanks for reading this ❤️
Hope you liked it 😁

Attachment
0
Brahmtej the Python Man

Progress

A LOT of work on task bar was done. It now has a functioning task menu with search and a list of apps. The power button is also added which does 3 things.

  • Sleep : Applies a screensaver and pauses stuff (For AFK, WORK IN PROGRESS ON THIS)
  • Restart: Refreshes the client side browser tab and the backend connection (In case anything is wrong)
  • Sign Out: Just logs out the user to the main login page!

Along with this, I have also worked on the action bar, where things like volume and brightness can be controlled. The OS does not have anything which can create sound yet, but volume option is still there for future additions. Brightness option works great! Calendar was also added, its all based on the original system’s clock settings. (Il most likely change it to use API to fetch time and stuff for time zones and make setting for it)

Charging is detected through a charging api, which is also a work in progress.

Future work

  • Add more apps
  • Make the brightness sync work (would be explained in future devlog)
  • Add screensavers and make sleep work
  • Add some customization to settings
  • Make Charging and battery info work

Attached Images: They show the new task bar menu, the UI, action bar, settings and much more things!

Thanks for reading this!
Cya :)

Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
0
Brahmtej the Python Man

First APP of this OS!

Progress

I have worked on the themes, colorcoding everything based on the chosen theme. I have also added the Calculator as the first app, it has all the window controls like close, minimize, maximize and more. It also has a progress history, so if you close the entire tab, open it again, log back in, you would be right on the same thing where you were before.
I also made desktop icons stick to the same color regardless of the theme chosen, which is white icon on a black backdrop, which ensures that regardless of theme or wallpaper chosen, the icons are always visible.

Future Work

I would be re making the entire task bar, adding task bar menu. I would also try to add something to somehow read the user’s battery or something and display it like windows does so it looks like a proper OS.

I would also be working on more apps like video player or browser. My next app would be a notepad, which I would be taking inspiration from Wordpad from windows along with the tab system of notepad in windows 11 which makes it quite neat. I would also make it save the files on the OS Server itself so user can log in and use it anytime which is GREAT!


Attached Images: They show the new theme system and the calculator app, Images also show the calculator app changing colors with themes and just looking beautiful.

Thanks for reading this heart-wx
Hope you like it :)

Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
0
Brahmtej the Python Man

Progress

The work is going extremely well, I have created a good interface for settings, where I have added multiple themes and wallpaper options. I would not be adding an Upload Wallpaper option as this is an os processed remotely on a server, and it could be risky to allow users to upload files as that opens up the system for malicious activity.

Changelog

  • Added Glass, Dark Midnight, Aero and Light Theme
  • Updated Settings Menu
  • Added New Wallpapers

Future Work

Next, I would be working on adding the first app, which would be a simple calculator.
I would then be adding stuff like Notepad, Browser, and more. I’ll try that I do something so the cookies are stored in the device itself for the browser app, so there is no need to re-log into the websites inside the os. Il try to use Iframe or something for that.


Attached Image: Shows the new settings menu, with all the themes and backgrounds feature

Thanks for reading this heart-wx
Stay Tuned!

Attachment
Attachment
Attachment
Attachment
0
Brahmtej the Python Man

Progress

I worked on importing some default wallpapers and making a settings app. When any activity is done, the app actually saves it all into the user’s account and the user can log back in to resume their work.

WIP:

I am also working on adding desktop icons, and basic apps like calculator and stuff, which would be usable and the icons would be draggable and customizable just like an actual OS.


Attached Image: Shows the Desktop and the settings panel with the wallpaper choosing features.

Thanks for reading this heart-wx
Stay Tuned!

Attachment
0
Brahmtej the Python Man

Progress

I have finished working on the login screen. Now I am working on the main desktop and UI of the OS. I have also worked on the task bar, which I tried to make a bit like windows 11. I have not added any apps yet. I made a settings tab, just to work on TeamShare feature, so doing stuff on one browser tab reflects that same on the other too.. For improved team work for devs and ppl.


Attached Image: Shows the Desktop of the application. Settings app is empty rn as its not made.

Attachment
0
Brahmtej the Python Man

Progress

I am now making a login system, which allows users to Create Accounts and Log Into alr created accounts.

For storage, I am using a Sqlite database for all the storage of apps and login info.

I have also finalized the Login Screen Theme which I would be using, and its attached in this devlog.


Attached Image: The login theme which I have decided to keep which is similar to windows 11.

Attachment
0
Brahmtej the Python Man

Progress

Working on designs of the login screen, I have made a few. Im trying to make it similar to windows, as it looks cleaner to me personally.


There are a lot of possibilities, Il try to get the best cleanest one, and after that just put the rest internal UI quite configurable, so user can do it as per their liking..

Attached Images: Shows all my hit and try to get the best login UI.

Attachment
Attachment
Attachment
0
Brahmtej the Python Man

First Devlog

This is my first devlog for this project. As I have mentioned, this is a Vibecoded Web OS, which is actually practically useful as it stores the user data at backend.

AIM

The softwares in the web os should work, and data should save in the backend. Users should be able to log in through ID/Pass. If Multiple users are from the same ID/Pass, they see the same screen and can collaborate.

Also, data could be saved in the cloud so you can log in anywhere and do your work.

I’ll be adding baisc stuff like browsers, notepads, followed by more complex stuff like wallpaper engines and code compilers.

Attached Image: This is a very basic Login page which I have created, asking for username and pass to log in the user.

Thanks for reading this heart-wx
Stay Tuned!

Attachment
0
Brahmtej the Python Man

My First Show and Tell!

For the show and tell, I made some scripts and designs with pytterns to show to everyone. It was a great experience.


There is no major changelog for this devlog. I just worked on some combinations of functions. All videos are in the github.

Challenges

Not much challenges were faced during this time. Everything went smoothly!

Learning & Overcoming Challenges

I learnt how to speak and display my stuff
I had the experience of my first Show and Tell
I learnt how to combine functions and make a rly good movie kinda thing

AI Disclosure

No significant AI was used for this devlog. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Video Attached: The comments and reviews I got while showing my project! 🥰💓

Thanks everyone for such a good show and tell, it was a great experience.

Thanks for reading this 💖
Stay Tuned!

Attachment
Attachment
Attachment
0
Brahmtej the Python Man

Shipped this project!

Hours: 5.55
Cookies: 🍪 58
Multiplier: 10.36 cookies/hr

Hello Everyone,

This is a re-ship for the Optimization Sidequest

To Vote, please start reading the lowest devlog first and work your way up. I have really put in effort to write and explain everything in a really simple way.

To run the project, please download files from github, and after downloading dependencies, Use python 3.12 to run this

What I Learnt:

I learnt how to make gui through tkinter
I learnt how to handle camera OpenCV
I learnt how to make repeating tiles in Canva and stick them in my UI.
I learnt how to pull weather data.
I learnt how to detect system hardware, and adjust software accordingly.
I learnt how to use multithreading
I learnt how to edit images with python
I learnt how to use AI classification models like fashion-clip to identify clothes.
I learnt how to run AI COMPLETELY LOCALLY!
I learnt how to prompt AI to actually have a personality
I learnt how to mess with LLM Configs.

Plans for Future Update:

As I am now comfortable with working with Live ai feeds and cameras, I can make a really good game with this skill.
I would also be improving the snapshot feature, and make it super cool! (more info on that on the latest devlog below)

System Requirements

As this project involves big AI Models, You need to have a capable GPU to get the full results. GPU with total memory (Vram+Shared) of 6GB.

I have a really old Nvidia GTX 1650, which has 4GB Vram, but due to its 8GB Shared Memory, It was a bit slow, but ran okay on it.


Thankyou guys for reading this!
Cya! 💖

Brahmtej the Python Man

I have worked on optimization practices to make this project a part of the Optimization Sidequest. All related information on github readme.

All Set, READY FOR ANOTHER SHIP!

Changelog

  • Cleaned up code
  • Updated Readme
  • Added Optimization Practices
  • Reduced AI Size for weaker systems (from 12gb -> 7gb)

Features

  • Local AI Processing (No API Needed, Works on your hardware)
  • Weather Data collection and processing is faster and has cache.
  • GPU Based AI & Multithreading Enhancements
  • Editing images through Python (Snapshot Feature) [WIP]
  • Menus got better in terms of performance
    And more..

Attached Image: It is a banner I made which shows all the modes from its background, and looks quite good.

Attachment
0
Brahmtej the Python Man

Shipped this project!

Hours: 13.95
Cookies: 🍪 349
Multiplier: 25.05 cookies/hr

READ ME

This is Pytterns, with Pytterns, you can build 1d, 2d and 3d shapes ALL in your terminals.
You can also make great UI stuff like Panels, Tables, Designs and a lot more things, all from Pytterns.

You may ask, there are other libraries which do the same, and are much bigger than this. Yes, that is true, but they are usually not so beginner friendly.
In pytterns, I have put a lot of effort in storytelling. The entire project has really well explained devlogs and readme, and I have written it to the best of my ability.
While coding as well, I have made sure to actually add something which is useful and would be a good part of the framework.

For Voters:

Hello Voters,I am a beginner python dev and currently 16, I know the devlogs are long and it may take time for you to read those. But I would appreciate if you go through the entire history of the project development and rate it accordingly.
If you cant read the entire thing, you MUST watch all the photos and videos, I have tried to cover everything in those. Please start from the bottom and work your way up.

About Me & Origin of project:

I’m Brahmtej Singh, a beginner python developer. I am currently 16 and am working at hostingkarle.com. As a student studying python at school, there are regular questions on making patterns through loops and logic. Though they are good to promote logical thinking, but to put those patterns in actual production level code, I believe some library had to be made for that. So, I made pytterns. Though my school wouldnt accept it if I write it in the answer sheets, but you have no bounds on integrating this with your next terminal project! :)

I’m really proud of this project, and hope this would be a very successful ship.

Cya! yay

Brahmtej the Python Man

All Ready to Ship! Yay!

Changelog

  • Readme Update
  • Adding Optimization Text in Readme for Sidequest
Attachment
0
Brahmtej the Python Man

Getting ready to ship!

Changelog

  • Added Hacker Rain pt.rain( )
  • Added Cuboid in 3d Shapes
  • Updated readme

Challenges

There weren’t any significant challenge while working on these changes, but it did make me re visit that Ascii centering thing which I made while making the pt.panel() for the hacker rain effect to calculate width properly.

The cuboid is kinda a replica of the cube, with changed coordinates in the array, so that wasnt too hard.

Future Updates

I’ll be adding some example codes in the readme, so its easier for beginners and testers.
I would be shipping this now.

AI Disclosure

No significant AI was used for this devlog. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Image Attached: Output of hacker rain pattern, with Green base color, 90% Density, 20% WHITE Glitch Chance and prefix ROOT.

Thanks for reading this 💖
Stay Tuned!

Attachment
0
Brahmtej the Python Man

Great Feature Added! (CHECK VIDEO)

This devlog contains a VIDEO, Check it out!

Changelog

  • Added Typewriting
  • Fixed multiline bug with Progress Bars
  • Improved the list of banned words for security

Challenges

I thought, that shapes arent enough. What if we play with text too. So, i created pt.typewrite()through which you can make typing effects in your terminals. It was quite hard, just like the 3d cube because this gives live updates so it had to pass our buffer thing of pytterns. Centering and color system had to be created separately for this, Though this was not hard, it was a bit time consuming.

Learning & Overcoming Challenges

This is a great addition, because through this you can write text to terminal, and like all of the other functions of pytterns, you can customize the speed, color, delay, typing style, and a lot more parameters! I learnt a lot of ASCII Terminal codes from this, like moving the cursor or to blank the screen through just Terminal Codes.

Future Updates

I’ll be working on more things related to text editing. Like BIG Text or something. Its gonna be great!

AI Disclosure

No significant AI was used for this devlog. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Video Attached: Shows a really good MUST WATCH demo of most of the Pytterns framework and shows how it took over old style terminals and made them ultimate! The video is screen recording of a terminal output of a python code with pytterns.

Thanks for reading this 💖
Stay Tuned!

0
Brahmtej the Python Man

V0.1.3 Released on Pypi

Changelog

  • Working on 3d Revolving of 2d Shapes
  • Added stable release of pt.cube()
  • Fixed security issues
  • Release devlog

Challenges

Not much challenges were faced during this time. Everything went smoothly!

Learning & Overcoming Challenges

I learnt how to display stuff styled in terminal

Future Updates

Working on adding animated text writing stuff, and more 3D shapes.

AI Disclosure

No significant AI was used for this devlog. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Video Attached: Video shows different stuff properly following 3d rotation rules and flawlessly working!

Thanks for reading this 💖
Stay Tuned!

0
Brahmtej the Python Man

Changelog (WORK IN PROGRESS)

  • Added 3d Rendering of Cube
  • Added documentation for Progress Bar and 3d Shapes
  • Added Security bypass system togglable

Challenges

Making a 3d object show nicely in a 2d terminal is a very hard thing. Almost all the complicated maths which is involved in this is completely out of my understanding. I’m also working on shapes like pyramid and circles/spheres which are MUCH more difficult to render.

Learning & Overcoming Challenges

I learnt how to work with maths
I learnt how to render shapes in terminals

Future Updates

I’ll try to add stuff like custom rotation to the shapes, and transitions and animations, all through ASCII in terminal.

AI Disclosure

Some significant google searching and use of AI was done for this devlog as some really complex math was used to render the cube in terminal. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Video Attached: Videos of cubes of different sizes and char being rendered through pytterns from 1 Line of code for the user!

Thanks for reading this 💖
Stay Tuned!

0
Brahmtej the Python Man

BIG STUFF! (SEE ATTACHED VIDEO)

Changelog (WORK IN PROGRESS)

  • Started work on adding 3d Shapes in terminal
  • Working on a revolving or static Cube in terminal
  • Working on Security Bypass function (To allow running blacklisted keywords)

Challenges

Making a cube in a terminal, in a framework like pytterns is extremely hard. It needs super complex maths, including weird trigonometry and high level functions. They were EXTREMELY tricky to get right.

Another challenge was to make a formula which worked on ALL the sizes, and also it worked on all the angles.

Most importantly, each line drawn should have its unique identity, so coloring could be done right.

The output had to be bypassed from the pytterns file, and centering had to be processed locally because of the complexity.

Learning & Overcoming Challenges

I learnt how to work with complex arrays
I learnt how to actually draw edges from one point to another in terminal
I learnt how to fetch terminal sizes

Future Updates

Il be adding more shapes and stuff to this to make it actually production ready and usable.

AI Disclosure

Some significant google searching and use of AI was done for this devlog as some really complex math was used to render the cube in terminal. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Video Attached: Videos of cubes of different sizes and char being rendered through pytterns from 1 Line of code for the user!

Thanks for reading this 💖
Stay Tuned!

0
Brahmtej the Python Man

Changelog

  • Added patterns cache
  • Performance Enhancement

Challenges

Everytime I ran a pattern in a loop, with screen clearing each time, it created a short blank screen, which looked odd. (You can see this in the video in the devlog below)

This was because the framework read the pattern file from disk every single time it ran, causing a slight delay. Even though due to multiple reads, the file goes into the disk cache, it still gave a little visible black screen.

To fix this, I have added caching, which stores the function in ram. We can make it so it preloads functions on boot, else it would keep the function in cache whenever its first run, so till the time the software is running, it always fetches from ram.

Learning & Overcoming Challenges

I learnt how to store stuff in cache/ram
I learnt how to access files repeatedly, really fast
I learnt how disk, disk cache, ram and cpu cache work

Future Updates

More patterns and features, making it more usable in actual real world programs.

AI Disclosure

No significant AI was used for this devlog. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Video Attached: Its the same video of the devlog below, showing the slight blank screens which are visible on updates.

Thanks for reading this 💖
Stay Tuned!

2

Comments

Brahmtej the Python Man

Sorry! Wrong Video attached

Brahmtej the Python Man

See the devlog below for the right video

Brahmtej the Python Man

New Feature! 🎉

BTW, This devlog contains a VIDEO!! Check it out

Changelog

  • Progress Bars
  • Custom Progress Bar Colors and Char
  • Completely fixed panel Title Coloring
  • Banner Mode added to panel

Challenges

I have added progress bar, This was quite a simple process till the time I decided to add colors and stuff. The code got quite messy as the getattr is blocked for security reasons, I had to take some help from AI to successfully add colors through a bit more complex method. It was quite fun and straightforward process, not much difficulties.

Learning & Overcoming Challenges

I learnt how to make progress bars in python
I learnt how to color stuff properly in ASCII
I learnt how to display live cpu use and other stats in terminal (progress bar graph)

Future Updates

Just progress bars isnt enough, I would be adding a lot more shapes and patterns to this project. Im thinking of adding shapes like a kitty or something just for fun.

Il also work on some multithreading and performance enhancement to reduce the time it takes to display the progress bar, so there is no black blank screens in between.

AI Disclosure

Perplexity was used for code cleanup and fixing bugs I had with coloring. . All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Video Attached: Shows the live graph of cpu usage through Pytterns progress bar

Thanks for reading this 💖
Stay Tuned!

0
Brahmtej the Python Man

This is the first devlog after my previous ship.
I read all your comments, and they are just soo nice. Thankyou for all your support guys. 💝

Changelog (WIP)

  • Lisence typo renamed to License (Thanks for informing in vote review)
  • Working on fixing path system to make project work in compiled/packed environments too (Eg. exe)
  • Working on Tables, Banners, and more shapes
  • Bug in text centering in panel title

Challenges

The program just used normal OS to get the path of the module and detect the patterns/ folder. This worked good in normal day to day running, but if any project which was using pytterns had to be built into an exe or binary, it would stop working due to those path errors, and cause the entire build to be useless. This is fixed now by integrating sys.

Learning & Overcoming Challenges

I have received a TON of positive comments about originality and storytelling, and I cant help but thank you all for all your words. Lots of people seem to plan on using this once this project is complete and is packed with lots of features. Thanks for your motivation and time.


Attached Image: Shows reviews put by users.

Thanks for reading this 💖

Attachment
0
Brahmtej the Python Man

Release V1 Published on GIthub

I had to rewrite a lot of the code and test out different versions of dependencies to make the entire project fit under a 2GB .exe file.

Sadly, due to the extremely huge size of the drivers, the released version is about 2.6gb in size. I can reduce it to under 500mb, but I found out that downloading the dependencies during the First Boot would take more time than to just download the 2.6gb project with most dependencies preinstalled.

Also, I did not include the AI models in the release files as it is 12+GB, and upon the first boot it would be downloaded and set up automatically, which may take 5-10 minutes.

Challenges

I was having an extremely hard time with Pytorch and stuff because it compiled a lot of useless junk which made the exe file extremely big. I had to manually check which dlls were being used and which not, and had to remove the useless ones. Also, for some reason it just refused to detect my GPU after building to the .exe, which I fixed afterwards.

Also, the method for reading files which I was using with os would not work in an exe form, as the files get unpacked into a temp folder somewhere in appdata. I had to get that sorted too.

I have now released the proper requirements file, along with the working built exe and all the files on github.

Image: I also made a good looking banner for the project.

Attachment
0
Brahmtej the Python Man

Shipped this project!

Hours: 23.56
Cookies: 🍪 431
Multiplier: 18.3 cookies/hr

Hello Everyone,

Clueless Closet v1 is Shipped!

To Vote, please start reading the lowest devlog first and work your way up. I have really put in effort to write and explain everything in a really simple way.

To run the project, please download files from github, and after downloading dependencies, Use python 3.12 to run this

What I Learnt:

I learnt how to make gui through tkinter
I learnt how to handle camera OpenCV
I learnt how to make repeating tiles in Canva and stick them in my UI.
I learnt how to pull weather data.
I learnt how to detect system hardware, and adjust software accordingly.
I learnt how to use multithreading
I learnt how to edit images with python
I learnt how to use AI classification models like fashion-clip to identify clothes.
I learnt how to run AI COMPLETELY LOCALLY!
I learnt how to prompt AI to actually have a personality
I learnt how to mess with LLM Configs.

Plans for Future Update:

As I am now comfortable with working with Live ai feeds and cameras, I can make a really good game with this skill.
I would also be improving the snapshot feature, and make it super cool! (more info on that on the latest devlog below)

System Requirements

As this project involves big AI Models, You need to have a capable GPU to get the full results. GPU with total memory (Vram+Shared) of 6GB.

I have a really old Nvidia GTX 1650, which has 4GB Vram, but due to its 8GB Shared Memory, It was a bit slow, but ran okay on it.

Thankyou guys for reading this!
Cya! 💖

Brahmtej the Python Man

If you are reading my devlogs for voting. Please start from the bottom, from the very first devlog.

All Set, READY FOR FIRST SHIP!

After all this work, The Clueless Closet has now reached its first stable release and is ready for its first ship.

Changelog

  • Cleaned up code
  • Added better error handling
  • Added CPU ONLY mode for unsupported GPUs

Features

  • Use of AI to detect type of Clothes of User
  • Use of AI to create text from the data
    (All the AI Processing is done LOCALLY! No API Keys needed)
  • Weather Data collection and processing
  • GPU Based AI & Multithreading Enhancements
  • Editing images through Python (Snapshot Feature)
  • Use of tkinter to make Menus
  • Personalities of AI
    And more..

Future Updates:

On the V2, I would be working on making the snapshots a lot better.
Snapshots would first use AI to remove background from your image, then put your image on a template, add all information and the AI’s response on the template and make a perfect high quality photo.

More features coming in v2!

Attached Video: Shows the program running, My face and camera feed is blacked out (for privacy reasons)


The terminal panels you see in the video are from my Pytterns python framework which is also a hack club project. Can be viewed through the following links:

https://flavortown.hackclub.com/projects/14732
https://github.com/brahmtej2009/The-Clueless-Closet/

0
Brahmtej the Python Man

Changelog

  • Used AI to make a PERFECT UI
  • Added Dad Mode (for Dad Jokes)
  • Added Hypeman Mode backgrounds
  • Made weather conditions logic more accurate
  • Emojis in UI
  • Fixed bug where buttons would merge colors when clicked.

Challenges

I had to do graphic designing and stuff to make the backgrounds a repeatable tiles which was a bit tricky to get 100% right, but I did it through CANVA.

Learning & Overcoming Challenges

  • I learnt how to make better Tkinter UI
  • I learnt how to make repeating tiles
  • I learnt how to make Dad Jokes
  • I learnt that gemini is trash at Tkinter

Future Updates

I would be adding features, which would take user’s image, remove background, add it to a template background, and nicely add the roast text in that template for the snapshot. Which would be different for every personality mode. GREAT! (Coming Soon!)

AI Disclosure

After using gemini for my UI Help, which basically sucked, I tried perplexity. It gave me good ideas for my UI, like the emojis. Parts of the UI are coded by the AI. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Image: Attached image shows the new UI in Dad Mode (Dadjokes mode)

Thanks for reading this 💖

Attachment
Attachment
0
Brahmtej the Python Man

BIG UPDATES!

In the past 3 hours, I have almost ENTIRELY chanted the UI, and added Great Features!

Changelog

  • Every personality has its own UI
  • Made it easier to add new personalities for anyone
  • Personality Based UI and Colors
  • Snapshot Backgrounds based on Personality
  • Improved Layout and Interface
  • More efficient AI and better performance

Challenges

I had to do graphic designing and stuff to make the backgrounds a repeatable tiles which was a bit tricky to get 100% right, but I did it through CANVA.

Learning & Overcoming Challenges

  • I learnt how to use Canva to make Repeating Tiles
  • I learnt how to make better tkinter interfaces
  • I learnt how to make AI better and faster through better prompting

Future Updates

I would be adding features, which would take user’s image, remove background, add it to a template background, and nicely add the roast text in that template for the snapshot. Which would be different for every personality mode. GREAT!

AI Disclosure

Gemini was used to help with tkinter menus and helped in background images. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Thanks for reading this 💖

Attachment
Attachment
Attachment
0
Brahmtej the Python Man

Shipped this project!

Hours: 3.64
Cookies: 🍪 84
Multiplier: 22.99 cookies/hr

Pytterns V 0.1 is all READY!

Pytterns is all set for your next terminal project’s UI.
The framework works flawless, and thanks to my friends, everything is now tested multiple times to ensure it can fit any kind of project with ease.

Do use it once before putting your votes. Download files from github.

Thankyou everyone for supporting me this much in this project through your sweet reviews.

Thanks Hack Club for making this happen!

Good Luck! 💖

Brahmtej the Python Man

Version 1.0

Changelog

  • Fixed all the bugs (Which were found)
  • Added new shapes
  • Documentation IMPROVED

Challenges

The program had some bugs, which made it a bit incompatible with general projects. But thanks to my friend’s help, we overcame all the issues and this is now PERFECT!

Learning & Overcoming Challenges

I have received a LOT of positive comments from ALL OF YOU GUYS! and this is genuinely very big for a little programmer like me. Some of you also helped point out bugs and suggested features, which I implemented.


This was a wonderful project, which would not have been possible without Hack Club, and all the lovely voters 💖

Now, I release Pyttern’s First Stable release.

Version 1.0


Thanks for reading this 💖

Attachment
0
Brahmtej the Python Man

See the attached image, its soooo cute dammnn

Changelog

Personalities:

  • Grandma Personality

An always loving and ‘Awwww my baby’ personality

  • Hype Man

An always ‘cheering up’ personality

  • Roast

Rude and shaming personality

Challenges

I have made the system for the personalities. Linked it with the settings. But prompting the AI to give the PERFECT responses is timetaking and hard. Each time I edit, I have to reboot the project, which takes 2-4 minutes. Also, for lower pc hardware systems, personalities dont seem to work that good due to hardware limitation.

Learning & Overcoming Challenges

I learnt how to give personalities to AI through prompting

Future Updates

I am thinking to add different backgrounds in snapshots based on moods.

Also, looking forward to completely remake the tkinter interface for every personality.

I am thinking about maybe also making a character which appears on the screen when the program is loaded, showing expressions. (Maybe…)

AI Disclosure

No significant use of AI was done for this devlog. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Image: The Gramma Mode giving PERFECT REPLIES!! AWW this is soo cute <3

Thanks for reading this 💖
Stay Tuned!

Attachment
0
Brahmtej the Python Man

Changelog

  • Personalities (Work in Progress)

Challenges

It’s been over an hour. I am working on prompts and ideas for all types of personalities I can make. I have perfected the Roast Personality. Trying to make other personalities work as good as it.

Learning & Overcoming Challenges

I learnt how to construct prompts in code through different factors

Future Updates

I am thinking to add different backgrounds in snapshots based on moods.

Also, looking forward to completely remake the tkinter interface for every personality.

AI Disclosure

No significant use of AI was done for this devlog. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Image: All the settings parameters I am working on right now

Thanks for reading this 💖
Stay Tuned!

Attachment
0
Brahmtej the Python Man

Changelog

  • High Performance Multi Threading
  • UI Buttons Updates
  • Changed AI Model for Roast
  • Hardware based Responses

Challenges

The amount of critical roast I was looking for needed a Bigger AI model, and more processing time, which caused timeout issue on tkinter. Multithreading was added to keep it stable. With this, the buttons update according to the process.

For weaker systems, this heavy AI would not work, so it would automatically fall back to the easier to run AI, at the cost of roast quality.

Learning & Overcoming Challenges

I learnt how to add popups in tkinter
I learnt how to run functions in threading
I learnt how to get GPU & Process information

Future Updates

I would be working on different personalities. I feel this has much more potential than just a roasting AI. It could literally be a Gramma or even Groot (I am Groot!)

AI Disclosure

Slight use of Gemini was done for bugfixing for multithreading. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Image 1: Attached image shows the AI scanning the image in threaded mode while tkinter shows a proper interface of it.

Image2: Attached image shows the Final output after scan is done. The snapshot button got activated.

Image area is black for privacy reasons.

Thanks for reading this 💖
Stay Tuned!

Attachment
Attachment
0
Brahmtej the Python Man

Changelog

  • Diary Logging
  • Snapshot Button
  • Better error handling & Cleaned up code

Challenges

For this update, I had to take the live image from feed, use python to add a white bar on top of the image, and write text and save it. This was a BIG thing for me, I managed to do it through cv2 ultimately.

Learning & Overcoming Challenges

I learnt how to edit images through code
I learnt how to add text to images
I learnt how to use .tiff (Text Font) Files

Future Updates

I’ll also try to auto crop the image somehow so it only contains the user.

I would also be working on improving the AI Model. Making 2 separate models. One for high power systems (Gives good result) and one for low power systems where I would use a smaller AI Model.

AI Disclosure

Not much AI was used in this update. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Image: Attached image shows the rendered image which comes from the Snapshot (And gets saved)

Image area is black for privacy reasons.

Thanks for reading this 💖
Stay Tuned!

Attachment
0
Brahmtej the Python Man

Shipped this project!

Hours: 2.24
Cookies: 🍪 28
Multiplier: 12.43 cookies/hr

The project is ready for shipping.

I have added pt.panel() which is now completely stable and functional. It also supports Individual Line Coloring of content.

Please make sure to run this and have an experience before voting on it. PyPi has the latest Stable release, whereas Github has the all feature version.

Download from Github. That would give access to all the features!

Good Luck Designing!

Brahmtej the Python Man

Changelog

  • Complete UI Rewamp
  • Addition of Weather Stats in UI
  • Better display of roasts in UI.
  • Feature to change the camera for systems with multiple cameras

Challenges

I designed the old tkinter UI myself, which was quite basic and unappealing. Making a new looking UI, with all the things displaying properly without looking crowded was a good challenge. I had to take some help from Gemini in order to design the new UI, and now it looks sooo much better with the colors and all.

Learning & Overcoming Challenges

I learnt how to make better tkinter menu
I learnt how to add stuff to UI using Grid Method and align it properly

Future Updates

As the UI is now new, I would be working on more features, and more buttons. I’ll also be adding more UI designs or something in settings which user can change according to their liking.

I’ll also try to auto crop the image somehow so it only contains the user.

Il also try to make a daily diary which gets generated automatically inside a folder, with a history of roasts on the image. (Next Update)

AI Disclosure

I used Gemini to help me make the Tkinter UI, It explained me properly how to use grid and pack properly to align my stuff. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Image: Attached image shows the NEW UI (IMG 1) and the Old UI (IMG 2)

Thanks for reading this 💖
Stay Tuned!

Attachment
Attachment
0
Brahmtej the Python Man

Changelog

  • Great performance enhancements
  • GPU AI Generation on system with Nvidia GPUs
  • Switching from GPU / CPU based processing
  • Added requrements.txt with proper versions of all libraries

Challenges

I have never worked with GPUs in the past, for this project, i had to utilize stuff like torch.cuda and had to integrate that with my AI models. AI tools helped me a lot in this to get a basic understanding of how all this worked. I also was unable to reduce the startup times and processing time of the AI. Which I would be working on soon.

Learning & Overcoming Challenges

I learnt how to use GPU in AI Programs
I learnt how to Improve Code Performance
I learnt how to Detect Presence of Nvidia/Apple Silicon in a system

Future Updates

The tkinter interface is really old looking, I would be working on that in the future release. I’l try to display the information like temp and rain etc. on the screen along with the live feed.

Il also try to make a daily diary which gets generated automatically inside a folder, with a history of roasts on the image. (Most likely Next to Next devlog)

AI Disclosure

I used Gemini in this for research, as I am quite a newbie in this. I got a lot of ideas while conversation with AI. I used AI for learning use of GPUs in AI Projects. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.


Image: Attached image shows the system detecting the GPU and automatically switching to it to increase system performance. This output would most likely not be shown on the tkinter frontend as its not required.

Thanks for reading this 💖
Stay Tuned!

Attachment
0
Brahmtej the Python Man

Changelog

  • Changed from Static Roasting to Live Generated Roast based on all Factors
  • Performance enhancements (Quicker Startup)
  • Better AI Detection
  • Roast is now displayed on the software panel, under your live feed
  • Completely removed the heat score logic
  • Added another AI which dynamically takes information and generates LIVE ROASTS!

Challenges

As i have said before, I’m kinda a newbie in terms of AI, so this update was a bit timetaking for me. I also faced a lot of issues while trying to make the AI be rude and roasty, but at the same time, to avoid swearing. It took a lot of tries.

Learning & Overcoming Challenges

I learnt how to use text generative AI model
I learnt how to pass information properly to an AI Model
I learnt how to NOT do overfitting and let the responses be natural
I learnt how to mess with generation settings like temperature
I learnt how to teach AI to roast people 💀

Future Updates

I am aware that this project runs entirely on CPU right now, which is quite slow when it comes to AI Processing than GPUs. This causes lag in tkinter.

Il try to run the project on GPU & Minimize Lag

Il also try to make a daily diary which gets generated automatically inside a folder, with a history of roasts on the image.

AI Disclosure

I used Gemini in this for research, as I am quite a newbie in this. I got a lot of ideas while conversation with AI, like better prompting for roasting ai, picking up correct AI Models, Reducing processing time and more. All the codeblocks which had AI Involvement are marked through comments in the code.


Image: Attached image shows the AI roasting me for wearing a normal tshirt (While location was set to Canada, where temps are around -30 right now)

The image does not show the video feed as I am not comfy with revealing my face. :)

Thanks for reading this 💖
Stay Tuned!

Attachment
0
Brahmtej the Python Man

I have completely changed the approach I used for AI. Instead of a normal classification model, I now use a Rank Based System where only most matching choice is selected.

Changelog

  • Changed to patrickjohncyh/fashion-clip model
  • Use of Rank Based Identification
  • Weather fetching from openmeteo
  • Integration of my own framework (Pytterns) for display of neat panels

Challenges

I am a complete newbie in terms of AI, I had to spend a good amount of time learning how to use Image Classification Models. I also had to search a lot and test a lot to find the correct model.

The camera also took a lot of time to load, and I found out that we had to use the DirectShow to make it faster for windows.

Learning & Overcoming Challenges

I learnt how to use openmeteo weather API
I learnt how to manipulate and make sense from all the weather factor data
I learnt how to use Classification AI Models
I learnt how to build live camera feed in python
I learnt how to display a live camera feed on tkinter properly

Future Updates

From data, the project must be able to identify mistakes in clothing, and provide good roasts
Make the heat score logic a bit better so it counts more factors
Make its logic so it combines all mistakes for 1 good solid roast

AI Disclosure

I used Gemini to get information about DirectShow & Live Feed Processing. All the work done by AI is properly marked in the code through comments. I always ensure AI Material is less than 40% of the project’s total code.

Image: Attached image shows the terminal output for calculation of Heat Score in the amazon basin. More information on how this is processed in future devlogs!

Thanks for reading this 💖
Stay Tuned!

Attachment
0
Brahmtej the Python Man

The project is released on github.

It is functional, and currently provides information about clothes being Cool or Warm.

Integration with weather is still pending, which is the thing which I am working on.
I am also looking for some cool roasts, which I’l be adding to this by tomorrow’s update.

Looking forward to build a great fun thing!

Attachment
Attachment
Attachment
Attachment
Attachment
0
Brahmtej the Python Man

From now, Il improve my Story Telling, and make this project more fun and more beginner friendly.

I believed that Just Patterns in a terminal isnt enough. What if we had options for making a proper Panel or Checklist style UI.

Version 0.1.1.2

Changelog

  • Added pt.panel()
  • Changed how centering works & stuff to make it more usable

And that’s how I added the pt.panel(), it makes a flawless and easiest to create panel which adapts to content and has TONS of customization, easy to use for beginners. It can be used in Loops to make superb looking Dynamic UI to display information. (Example code in git readme)

Challenges

The BIG challenges here were the changes I had to do in Pytterns.py main file because the color codes were counted as characters by len() , even though they are invisible. This completely messed up the ENTIRE centering system. Also, that white cursor blinking bar thing, was too irritating as it appeared on random areas of the screen while UI was Dynamically Updating.

Learning & Overcoming Challenges

I learnt a LOT while making this, because I haven’t ever messed this much with the terminal ever.

  • I learnt how to hide that white cursor thingy
  • I learnt how to make terminal graphics less lagy (Limitation of previous version solved)
  • I learnt to handle the complex coordinate geometry of ANSI buffers so the user doesn’t have to.

Future Work Includes

  • Better Panel Creation and Editing
  • Creation of Tables
  • Multiple Designs in Panel
  • And More..

AI Disclosure

I used Gemini to help with trickier parts of this update.
Specifically, I used it to nail the math and advanced parts of the panel.py file.
(ANSI codes dont work well with len()..) and to fix some bugs related to border colors breaking due to Content’s Colors.

Thanks for reading this 💖

Attachment
Attachment
0
Brahmtej the Python Man

Shipped this project!

Hours: 5.47
Cookies: 🍪 25
Multiplier: 4.56 cookies/hr

I built Pytterns, an open source library for adding shapes and patterns to your python code with Ease!

With this, Python Devs can add shapes and designs to their terminal software with 1 line of code. This is especially helpful for those who are making software in CLI based OS, where good UI Editing is suggested for clean and mess free code operation.

I learnt a lot of things with this, I learnt github, PyPi, Functions, Colorama, Shutil, and a LOT more.

This was big achievement for me, as it was my first ever publicly launched python library
It is a system in which contributors can add more patterns in the default pack and it would get added in the next update.

I am planning to do a lot of updates in this, and the next big thing which I would be adding would be features to write text in boxes and set them on different areas of screen with ease and add borders and gradient color options.

The challenging part was the security, because anyone could put any malicious file as a template and it would trigger it all. I had to research on AI Tools like chatgpt for a fix for this, and a temp fix which I found which works quite good is a keyword ban method. If a template contains some potentially malicious keywords, it doesnt trigger it.

Although this has lead to a challenge of making the terminal smooth. If we spam the functions to make graphic animations, it works, but it is also a bit lagy. Il be working on that in next update too.

Overall, this feels like a solid project to me, and I hope people use this to make their Terminal UI better once its ready and built completely.
Hope you share your Pyttern Design Templates with me in github. Il be happy to merge them in!

Brahmtej the Python Man

Hello World!
The Basic structure of the platform is working! Security features are also operational and it is working with Linux and Windows Environments.

Custom Patterns can be added through /patterns folder in the project root directory, which is being picked up correctly after version 0.1.1 on PyPi

There are 2 Types of Pattern Templates. The default one and the custom project ones.
Default ones are stored in the library’s root. The Project’s Templates are stored in the /patterns folder in the project’s root, containing .py file for the template.

In the template, from now we MUST define size and center in the function’s define statement. If any other parameter is required, we can just add it in the template file, and it would be picked up by the library by itself and you can use that arg in the function trigger statement seamlessly!

Reply to: “Show your project’s output, not your code editor. Screenshots of code (e.g. VS Code) won’t be accepted — your repo is already linked! Upload a screenshot or video of what your project actually does.”

Images attached below show the running version with custom template. I am not showing the code in the images, thats only for reference if someone wants to replicate, Output is visible in the images

Attachment
Attachment
0
Brahmtej the Python Man

I’m working on my first project! This is so exciting. I can’t wait to share more updates as I build.

Attachment
0