Category: Projects
TermTalk. Talk to AI from Your Terminal.
Piotr
Nov 13, 2024
In a world where AI is accessible to more people than ever, many of us interact with GPT-4 through user-friendly web interfaces (like CharGPT). But what if you could bring that same powerful conversation engine directly to your terminal? Thatâs where TermTalk comes in, a new Linux-based tool thatâs redefining how developers, command-line enthusiasts, and productivity powerhouses connect with AI.
What is TermTalk?
TermTalk is an open-source, command-line tool built in Python that gives you the power of OpenAIâs GPT-4 models straight from the console. Imagine having the capabilities of ChatGPT right in your terminal â whether you're working in an interactive mode or simply seeking a quick answer, TermTalk is designed to deliver AI responses as efficiently as possible. Although initially configured for Linux, TermTalkâs Python-based design makes it highly adaptable for other operating systems.
Key Features
Interactive Mode TermTalkâs interactive mode is like having a ChatGPT-like chat window in your terminal. You can ask follow-up questions, explore complex topics, and maintain a fluid conversation with AI, all without leaving the console.
Question-Answer Mode For times when youâre looking for straightforward, one-off answers, TermTalkâs question-answer mode is perfect. Just type a question (also about the system files), get your response, and move on. Itâs quick, to the point, and ideal for developers who want answers without a lot of back-and-forth.
Local Conversation Storage TermTalk is also privacy-conscious, storing all your conversations in a local SQLite database. This means you have complete control over your data, with easy access to previous chats, making it simple to retrieve information when you need it.
Whatâs Next for TermTalk?
While TermTalk is already packed with features, this is just the beginning. Hereâs a glimpse of whatâs on the roadmap:
API Integration The upcoming TermTalk API will open the door for other applications to interact with TermTalk. This could pave the way for custom workflows, integration with development environments, and even mobile or desktop applications.
Web Client Imagine the ease of the ChatGPT-like website experience combined with the local storage and privacy of TermTalk. The future TermTalk web client will provide a more graphical, user-friendly interface, ideal for those who prefer a web-based interaction.
With TermTalk, youâre not just getting an AI-powered terminal tool; youâre stepping into a future where AI is embedded directly into your workflow, whether youâre scripting, troubleshooting, or simply brainstorming ideas.
âŹď¸ Download from GitHub: TermTalk 0.1-alpha (Release info)
đ Visit the main page for TermTalk: https://piotrkepka.com/termtalk.
đť The code is hosted on GitHub.
đ Documentation is available at https://termtalk.github.io.
đ Stay updated and connect with the TermTalk community on LinkedIn.
How I Accidentally Went Viral on LinkedIn with the #Desperate Hashtag. And a Bear
Piotr
Oct 9, 2024
Picture this: youâre sitting at your computer, working late into the night on a quirky project you started on a whim. You finally wrap it up and, instead of posting immediately, you decide to sleep on it. Early the next morning, you hit "post" on LinkedIn and go about your day. By the time you check back, youâre semi-viral. Thatâs exactly what happened to me, turning the hashtag #desperate into a platform for creativityâand a surprising moment of social media fame.
The Desperate Badge and the Birth of My App
It all started with a LinkedIn post by Courtney Summer Myers đŹđ§, where she introduced the #desperate badge as a cheeky overlay for job-seekers to show their determination. Like many, Iâm currently navigating a tough job market. But rather than just using the badge, I had an idea: Why not create a tool that allows anyone to design their own custom banner?
So, late one afternoon, I took to coding. By 3 a.m., after combining my front-end skills with some basic graphic design, I had a working app that could apply personalized banners to LinkedIn profile pictures. And because Bern, Switzerlandâwhere I liveâwas named after a bear, I threw in an Easter egg: a bear. To try the app, users could slap the #desperate banner (or any custom text) onto a bear picture, without needing to share any personal data. The app was designed to be secure and operate entirely within the user's browser. Otherwise, who would trust a random guy on the Internet with their picture?
But here's where things took a wild turn.
From Idea to 30,000+ Impressions in Days
I posted about my new tool on LinkedIn, fully expecting maybe a handful of views from friends. The next morning, I had almost 20,000 impressions, over 150 reactions, and nearly 20 comments. My phone wouldnât stop buzzing. On October 1st, the post reached its peak, with thousands of people engaging. By October 5th, the post's virality slowed, but it had already hit over 30,000 impressions and 330 reactions in total.
Why Did It Go Viral?
The secret sauce? Timing. I launched my app right as the #desperate badge was gaining momentum on LinkedIn. The badge struck a chord with people worldwide, frustrated with their job search struggles. My app, which allowed users to easily create custom banners, offered a quick, fun way to join the trendâno graphic design skills needed, and it could all be done in under a minute.
What made it stand out even more was how simple and secure the app was. Users didnât have to upload any personal data, everything worked directly in their browser. No graphic design skills were required. It was just me, my app, and a quirky bear.
What Came Next?
Besides a flood of LinkedIn notifications, I received about 40 networking opportunities. Some people offered to recommend me for jobs, and while I didnât land any concrete offers from the viral post (yet), Iâve certainly expanded my network in ways I never expected. And letâs face it, in todayâs job market, visibility is currency.
Reflections on Going Viral
Going viral is a strange, exhilarating, and overwhelming experience, especially for someone who had rarely posted on social media before this. In just a few days, I saw firsthand how quickly something can snowball online. What started as a fun side project transformed into a viral momentâand a personal lesson in seizing opportunities.
So whatâs next? Well, Iâm continuing to explore projects like this, sharpening my skills, and trying to stand out in a very competitive market. If nothing else, this experience has reinforced one thing: donât wait for the perfect opportunity to showcase your skills. Sometimes, you just have to throw a bear into the mix and see what happens.
And if you want to check out my app or learn more about my projects, head over to piotrkepka.com/desperate.
Now, letâs see what I can cook up next. Hopefully, it doesnât involve staying up until 3 a.m. again... but no promises.
Statistics
I believe in being transparent because it helps build trust and fosters stronger relationships.
Why I Built Colorosaur.com?
Piotr
Sep 7, 2024
Sometimes, all it takes to move forward is a simple reason â even something as small as creating coloring pages.
In December 2023, I created a website called colorosaur.com, The Coloring Dinosaur, to offer free, family-friendly coloring pages for every occasion. At first glance, the website might seem simple or perhaps even unnecessary, but my intention was entirely different.
I hadnât built a website or an application from scratch in quite some time. Although I had been involved in maintenance and working on other peopleâs projects, it had been a while since Iâd embarked on a project of my own. I wanted to challenge myself with something new, so I began looking for an idea that would allow me to apply my skills in PHP while learning a new framework, Laravel.
I decided to create this website to provide a fun, creative outlet while also serving as a platform to refresh and expand my development skills. I designed, developed, and deployed everything entirely on my own â from the logo and website code to the domain registration, the SSL certificate, and the cloud hosting setup. The project was motivating and educational, and I built it from the ground up in just two weeks. This process included everything from brainstorming functionality to mastering the Laravel framework and launching a complete, fully functional product.
The website offers several key features. Users can choose from hundreds of carefully selected coloring pages, which can be printed individually or combined into a custom PDF collection for easy printing. Each PDF also includes a QR code that quickly directs users back to the website for more coloring pages.
While colorosaur.com, The Coloring Dinosaur may appear simple, but it represents a significant personal achievement. It merges creativity with technology and serves as a fun, accessible resource for families.
Happy coloring!
How I Used AI to Fix a Laundry Room Problem
Piotr
Sep 7, 2024
Whenever you need a new Waschplan fĂźr die WaschkĂźche (PDF), it is there waiting for you!
If youâve ever dealt with a shared laundry room, you know the annoyance when the sign-up list (Waschplan) isnât there. Thatâs what happened to me recently. I went downstairs to reserve a slot, but the list for the upcoming week was missing againâthe Hauswart hadn't put it up yet. I saw the current weekâs list, which was empty, but I needed to sign up for the following week. I knew we'd be stuck without a schedule until the Hauswart returned, which could take days.
So, I decided to get creative. I took a photo of this week's empty list and asked ChatGPT, with its new vision capabilities, to recreate it using PHP code.
The original photo sent to GPT4o
Prompt:
Recreate this layout of page in PDF in PHP on A4 page.
If you ask me if the result was perfect â the simple answer is: No â the general layout was there, but the columns and sizing were off. However, it gave me a solid starting point.
I spent a few minutes adjusting the script, refining the layout, and then asked ChatGPT to generate the dates for six days, starting from the previous Monday or the next one if the PDF wasnât created on a Monday. Within about 40 minutes, I had a working prototypeâa quick, practical solution I hadnât even considered before.
Whenever the Hauswart forgets the list (Waschplan fĂźr ein Mehrfamilienhaus (PDF)), I have a tool to generate a PDF instantly and keep everyone on schedule.
Problem solved!
You can also check my other projects and coding experiments.
Waschplan fĂźr die WaschkĂźche, Waschplan fĂźr ein Mehrfamilienhaus, Der Waschplan pdf, Waschplan Vorlage zum Ausdrucken