Loading video...

Video Failed to Load

Go Home

I programmed this mini-keyboard to have GPT-4 automatically complete various tasks for me. Here’s an example for AI-powered coding.

451,512 views • 3 years ago •via X (Twitter)

53 Comments

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

This just came in so barely starting to experiment with it. Interested to see where I prefer key-based macros compared to audio-based work as demonstrated below. Both seem to have a place.

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

Reminder that computers are way more powerful than you think and there are endless possibilities if you just learn a little bit of Python

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

Also - technology should be enjoyed. Tinker for the sake of tinkering. It’s fun. Life’s fun. Enjoy it.

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

Btw commenting is one of the best ways to help LLMs do meaningful work in your files. I’ve completely changed my programming style to be more LLM friendly. Just going to toss that out there - highly recommend.

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

IMPORTANT STATEMENT

Georgi Nikolov's profile picture
Georgi Nikolov3 years ago

You were a few more random clicks away from conjuring AGI...

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

That is for off camera only

Ara's profile picture
Ara3 years ago

Hey McKay, You would love this

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

Can confirm that I do in fact love this! I’m a huge huge fan of anything and anyone tinkering with AI - especially when it involves hardware!

Ara's profile picture
Ara3 years ago

I am so glad that someone I admire so much actually liked my project. After taking inspiration from your tweet, I setup a whisper voice support in my own system and I talk to it all day( I use claude + sourcegraph search for code talk)

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

I think very highly of the Sourcegraph team. Open sourcing Cody was a significant gift to devs - they deserve a huge amount of credit. The Codewand VS Code extension’s UI is heavily influenced by it!

Michael Gruen's profile picture
Michael Gruen3 years ago

@arafatkatze you are welcome for showing you sourcegraph

Ara's profile picture
Ara3 years ago

@mckaywrigley Alright I will do that

Phil Freo's profile picture
Phil Freo3 years ago

custom keyboard button = cool committing comments that useless = fired

JayWang | Justin's profile picture
JayWang | Justin3 years ago

Was thinking of doing something similar but with AutoHotKey as a way to launch/trigger the script using my existing kb

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

Yeah the mini keyboard is a bit gimmicky but it’s a lot of fun haha

Erick E's profile picture
Erick E3 years ago

Why is this preferable to having traditional keyboard shortcuts?

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

The short answer is that it’s mostly not other than being more fun, the long answer is you can kind of bypass some bindings that are native to the apps you use to prevent shortcut confusion

Chandan 🚀 Twig.so's profile picture
Chandan 🚀 Twig.so3 years ago

@hnshah And it's great those keys don't have any labels. So you don't know which tasks you are triggering, We are all so brave here.

JoelDaniel's profile picture
JoelDaniel3 years ago

This is F’in cool!

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

best part is it’s just <$20 for some mini keys on Amazon and a lil’ Python and anyone can do it!

JoelDaniel's profile picture
JoelDaniel3 years ago

Can you share anymore detail on what your 6 macros are? Are they all about streamlining coding workflow?

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

Q&A, explanations, comments, writes, edits, deletes, etc. Once I get it in a stable state I’m just going to share it

Dan Leshem's profile picture
Dan Leshem3 years ago

@HaJongler it'd be cool if we could launch agents on @thisisfinedev like this. UX suggestion for the agent palette :)

DB Hurley's profile picture
DB Hurley3 years ago

I did this same thing! Only I used one of those StreamDecks with the physical buttons…soooo slick. Esp with the digital custom screen cap you can setup. This is next level. My coding is feeling futuristic.

Min Choi's profile picture
Min Choi3 years ago

Cool! Maybe this will become a norm to have custom AI macro hotkeys🔥

Owen Colegrove's profile picture
Owen Colegrove3 years ago

This is super interesting! Couldn’t something similar be created by supporting shortcuts like Ctrl+X/Y/Z at the OS level? Next version OS’s are going to be amazing.

oFFMetaSweat's profile picture
oFFMetaSweat3 years ago

6 buttons? I see room for further optimizations.

Hanz's profile picture
Hanz3 years ago

Question from a noob :). Do you send your code via api and receive back the reply which you then write to a file ? Or is it just using some sort of copilot function call within VScode ?

Lance Korsun's profile picture
Lance Korsun3 years ago

Custom classes... functions... or frameworks.. I see it. Good work!

Connor Jacobsen's profile picture
Connor Jacobsen3 years ago

Make a VSCode extension or a raycast style cmd+K UI for this with quick Vim-style keyboard shortcuts. Could then have a shortcut to open a chat window or whatever for longer feedback etc.

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

@AI_Tailored Blessed to live in the dawn of ai. Lots of fun!

Miles's profile picture
Miles3 years ago

Are you just keeping a python file running in the background listening for keyboard input? Then each tied to a specific prompt and will copy paste the output ?

Kummer Speck's profile picture
Kummer Speck3 years ago

In between you apple watch video and this. ❤️ Seeing your vids where you tinker with AI.

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

I am a tinkerer that likes to be curious and have fun and experiment before all else :)

Matt Schlicht's profile picture
Matt Schlicht3 years ago

Brilliant

Andrew's profile picture
Andrew3 years ago

or just use a shortcut...

Ilir's profile picture
Ilir3 years ago

Use a shortcut dude 😂

Mckay Wrigley's profile picture
Mckay Wrigley3 years ago

Actually prevents app-native shortcuts from getting triggered

Honey-Covered Hobo's profile picture
Honey-Covered Hobo3 years ago

Couldn't you jus make it a hotkey combo or something? Why have a separate keyboard thing? Can it be a dildo you sit on too and depending on which way you lean it runs the right macro? Future is here bros!

Photonic's profile picture
Photonic3 years ago

Not sure if I’ll ever be a true coder, but using chatgpt to code to create cool things has been so much fun

Ro Figueras's profile picture
Ro Figueras3 years ago

Curious to know what the other keys do?

Victor :)'s profile picture
Victor :)3 years ago

lol, just saw this tweet about the problem of potential feedback loops in LLM training. And straight to GPT generators of comments in code xD

Jack Johns's profile picture
Jack Johns3 years ago

Very cool!

Nathan Shearer's profile picture
Nathan Shearer3 years ago

Savage!

Pradeep Padala's profile picture
Pradeep Padala3 years ago

Why not keyboard shortcuts?

Daryll's profile picture
Daryll3 years ago

Very cool. Now imagine no keypad and instead a voice interface. Touch interface is the way of the past. Voice interface is the future IMHO.

Eric from Exploding ideas's profile picture
Eric from Exploding ideas3 years ago

You could sell those

Marko's profile picture
Marko3 years ago

Love this, still don’t know how all these tinkerings get productized though, any hints?

Will's profile picture
Will3 years ago

that sucks

Joe's profile picture
Joe3 years ago

Cool - future would just be a push to prompt button that takes in spoken language. (E.g “comment code”)

SafZ's profile picture
SafZ3 years ago

@hnshah 👌

NICE's profile picture
NICE1 year ago

Stay competitive by balancing cutting-edge AI with automation tools. Forrester shows how.

Related Videos