I Programmed a Keyboard A.I. to DESTROY EVERYONE on TYPERACER!

Ойын-сауық

In this video, I explored the world of automation by attempting to create a bot that simulates keystrokes. I used the Python programming language along with a couple modules to achieve this. Keep in mind this video was only made for educational and entertainment purposes.
💻 Instagram: / im.ardens
💻 Discord: / discord
💻 GitHub: github.com/myNameIsArdens
#programming #tech #computerscience
Credit:
The Angels Weep by Audionautix is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/...
Artist: audionautix.com/

Пікірлер: 562

  • @luixyou8977
    @luixyou89772 жыл бұрын

    I love these Code Bullet type of channels, keep it up

  • @Hurateo

    @Hurateo

    2 жыл бұрын

    Same

  • @D1P69

    @D1P69

    2 жыл бұрын

    Can You Tell Me Some Channel Name ?

  • @peterverduin7156

    @peterverduin7156

    2 жыл бұрын

    Bro, Code Bullet needs to upload more

  • @D1P69

    @D1P69

    2 жыл бұрын

    @@peterverduin7156 yes

  • @questionmarkquestionmarkques

    @questionmarkquestionmarkques

    2 жыл бұрын

    @@peterverduin7156 i'd rather he took his time with his uploads. better for content and his mental health

  • @vuufke4327
    @vuufke43272 жыл бұрын

    OpenCv is too overkill for this, if I had to do it I could make a chrome extension that intercepts the Api calls to get the text, and then types it back to the browser using some automation tool like puppeteer but I suppose you have to be familiar with javascript to do that

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    yeahh, but that would be thinking like a good programmer

  • @arjix8738

    @arjix8738

    2 жыл бұрын

    you dont even need to intercept api calls, the text is in plain html

  • @nano-ai

    @nano-ai

    2 жыл бұрын

    yeah, i ended up doing this (vid is on my yt if you want it)

  • @chervilious

    @chervilious

    2 жыл бұрын

    tbf, "AI" is more clickable than "Chrome Extension".

  • @Mtg2

    @Mtg2

    2 жыл бұрын

    Yeah that’s what I thought

  • @IMCYT
    @IMCYT2 жыл бұрын

    Dude how do you have only around 400 subscribers, the jokes are amazing and the content is gold

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    lol I'm slowly getting some attention and thank you so much

  • @PilotTurtle

    @PilotTurtle

    2 жыл бұрын

    @@Ardens. bruh this is more than slow Ur funny tho :)

  • @SchPal

    @SchPal

    2 жыл бұрын

    Since this comment he went to 6x in subs. Algorythm came in clutch. (Nice content, tho u deserve 100x more.)

  • @Hematite

    @Hematite

    2 жыл бұрын

    3.18k*

  • @IMCYT

    @IMCYT

    2 жыл бұрын

    @@Ardens. You are growing faster, The KZread algorithm has blessed you. Remember me when you are famous xD

  • @pwbandwidth
    @pwbandwidth2 жыл бұрын

    This is a cool beginner project. If you were to re-do it, I would suggest using the requests library to reliably fetch the text from the site, and have it be passed into your message function. The library serves as a good introduction into HTTP if you are new!

  • @shalamar2671
    @shalamar26712 жыл бұрын

    If you use selenium, you can take the text from the html element directly, assuming the text isn’t an image.

  • @meistroldcontent

    @meistroldcontent

    2 жыл бұрын

    I was going to say this. You can also send keystrokes using selenium.

  • @sharathkumark9692

    @sharathkumark9692

    Жыл бұрын

    How's beautiful soup library I heard about it didn't used before tho

  • @katrinabryce

    @katrinabryce

    Жыл бұрын

    @@sharathkumark9692 I use Beautiful Soup a lot, but I wouldn't choose it for this project.

  • @DrGold-ks1mp
    @DrGold-ks1mp2 жыл бұрын

    I really like this channel, mainly because it's so simple to follow along! Seeing libraries that I use being discovered for the first time and utilized so well is really interesting, and a breath of fresh air compared to some other channels that seems like they have to fight the urge to type at 4 million wpm

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Thank you. I'm glad I'm able to give something of value

  • @Emily-fm7pt
    @Emily-fm7pt2 жыл бұрын

    This is the epitome of beginner projects, and I love it! Keep making these!

  • @xfika.1
    @xfika.12 жыл бұрын

    This is really cool, how you can automate keyboard inputs, something that would be super funny is if you coded the code to code itself

  • @rebeccavolcy8358
    @rebeccavolcy83582 жыл бұрын

    This was the finest one yet, in my opinion. Thanks for the laughs. Man, we'll miss you. However, you did an excellent job with this video.

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Thank you so much! Glad you like it!

  • @rafa_e_la
    @rafa_e_la2 жыл бұрын

    Wow that was really cool, you sick man! Keep posting I'll truly keep watching you

  • @skyluf4655
    @skyluf46552 жыл бұрын

    you deserve more subscribers and fame dude you're really underrated, keep up with the good work 👍

  • @jazepol
    @jazepol2 жыл бұрын

    this is definitely another code bullet

  • @snowzin9505
    @snowzin95052 жыл бұрын

    Great video man! I learned a lot, keep it up 👍

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Glad to hear it!

  • @nano-ai
    @nano-ai2 жыл бұрын

    Nice video! I think OpenCV was a bit overkill but at least you can use it on different websites! I did the something similar a while back and used Selenium. I also made a KZread video showing what I made!

  • @neonwolf07
    @neonwolf072 жыл бұрын

    your videos are awesome dude keep it up. I really learned something from this video (I started python few months ago) your video is easy and short

  • @thestraightpipe
    @thestraightpipe2 жыл бұрын

    This video is the first one I saw by you. You have earned another subscriber! Great video man!!

  • @geoulhs9405
    @geoulhs94052 жыл бұрын

    A youtube short appeared in my recommended and I watched all your vids and now got to say you're my fav creator in the app!!! Great job with all your vids waiting for the next one!

  • @ClosedAI404
    @ClosedAI4042 жыл бұрын

    Your video got on my recommended page keep up the good work

  • @zanerios2776
    @zanerios27762 жыл бұрын

    just subbed mate hoping for more great content in the future 🐥

  • @divine203
    @divine2032 жыл бұрын

    Yo sick bro, its nice to see great content like yours being recognized...gives hope to the rest of us ❤

  • @Hurateo
    @Hurateo2 жыл бұрын

    I have shared your channel with my friends. Can't wait to see untill you reach 100k

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Fingers crossed!

  • @rinunderscore
    @rinunderscore2 жыл бұрын

    nice use of pyautogui, now i wanna see more of what you do! lmao ur actually make usefull stuff while i make stuff to make me even more lazier than i already am love it!

  • @Asumji
    @Asumji2 жыл бұрын

    I've made a typeracer bot in python like a year or so ago great to see someone else to do it never seen a youtube video anout it and hey you used the same method I used. Take screenshot convert to text and type it

  • @vivalavivaldi
    @vivalavivaldi2 жыл бұрын

    Holy JESUS the quality of your videos ist absolutely insane. Keep up the great work man and you'll make it far

  • @thobbol
    @thobbol2 жыл бұрын

    You are underrated, your content is great and your funny af. Keep up the great content and I wish you luck on KZread.

  • @themancow2962
    @themancow29622 жыл бұрын

    Just found you and I LOVE the content will be watching more!

  • @sundarakrishnann8242
    @sundarakrishnann82422 жыл бұрын

    Damn lol,that was smart! Great video!

  • @abdullahfaiyaz7624
    @abdullahfaiyaz76242 жыл бұрын

    That's it. I'm subbing . The quality of this is way too good. btw you should have used a library called selenium to read the text and then type it. Then you would only have to put that in a while loop and it would work

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Thank you. I really appreciate it. I try. And I didn't know that 🤔 cool

  • @abdullahfaiyaz7624

    @abdullahfaiyaz7624

    2 жыл бұрын

    @@Ardens. My job is entirely based on that module (Web scraping) so seeing you not use it made me very surprised

  • @Sushant-ot1fp
    @Sushant-ot1fp2 жыл бұрын

    The picture recognition is not so good i think you could use web scraping for that it would be better :)

  • @nano-ai

    @nano-ai

    2 жыл бұрын

    yeah, i ended up doing this using selenium (vid is on my yt if you want it)

  • @fantasy7777

    @fantasy7777

    2 жыл бұрын

    Ye i used voice recog

  • @conspiracy2134

    @conspiracy2134

    2 жыл бұрын

    lol mine was just pure javascript in the inspect console

  • @mrbu
    @mrbu2 жыл бұрын

    This guy will reach 1 million very soon im sure as long he still uploads

  • @fiyinaregbe2740
    @fiyinaregbe27402 жыл бұрын

    This is funny. You earned a new subscriber

  • @xhec
    @xhec2 жыл бұрын

    If you really want to do this in python and not javascript then you could have used selenium and then scrape the key that is expected to be next pressed. I believe there is always the next letter in a html tag on the site

  • @Jern05
    @Jern052 жыл бұрын

    Followed because you're amazing and actually made me laugh. Keep it up broski!

  • @Jern05

    @Jern05

    2 жыл бұрын

    Subscribed*

  • @Dugaid
    @Dugaid2 жыл бұрын

    dude made a top tier video and said aight imma take a break for work and school see yall later.. mannn I was looking forward to watching alot of content

  • @126sivgucsivanshgupta2
    @126sivgucsivanshgupta22 жыл бұрын

    This gives me code bullet vibes, nice video

  • @randomperson846
    @randomperson8462 жыл бұрын

    A side note that you could have done it with Javascript in a way so it selects the text element and emits the key events each 0.5 second or something

  • @iukey
    @iukey2 жыл бұрын

    was kinda bored w my major no biggie but damn this made it seem fun again. good looks mane

  • @davidsalterego4481
    @davidsalterego44812 жыл бұрын

    You can remove the underscore spaces in settings. Great video btw

  • @axendude8239
    @axendude82392 жыл бұрын

    good job man, i like this video

  • @Cornboi
    @Cornboi2 жыл бұрын

    Congrats on 1k subs!

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Crazy. Idk what to say besides thank you to everyone who made it possible

  • @thesovietunion8385
    @thesovietunion83852 жыл бұрын

    I ain’t even gonna lie to you bro, I thought this was a code bullet video at first, but yo shit fire ong

  • @magicisgonnabealongnameont2217
    @magicisgonnabealongnameont22172 жыл бұрын

    8:01 sounds like an ad for a certain site

  • @Feninou
    @Feninou2 жыл бұрын

    You could randomize the pauses between keystrokes to make it look even more human! Also I didn't understand why don't you just scrape the data directly from the source code, it is kinda obsfuscated on keybr but not that much. Thank you for your work this is a really great video overall !

  • @tactile6315
    @tactile63152 жыл бұрын

    PLEASE MAKE MORE CONTENTT I ENJOY IT

  • @rnaodmsomething
    @rnaodmsomething2 жыл бұрын

    Your overall vibe and jive is similar to Code Bullet, and I love it

  • @kavarod101
    @kavarod1012 жыл бұрын

    Try getting the plain text from the html itself. It's much faster and easier. i dont know how to do it in python, but the idea is as follows: 1) download the page 2) regex the container above the text. 3) get all entries from the regex and remove garbage like ( , /) . 4) use the leftovers. In JS it is even much simpler than that but that should do for now. Love the vids!

  • @tasty0rang3

    @tasty0rang3

    2 жыл бұрын

    possible to do it all via a python webscraper using selenium. all you need is to get the xpath element containing the plain text and keybind it for whenever the prompt updates

  • @egoworks5611

    @egoworks5611

    2 жыл бұрын

    Yeah bro it's just plain text way easier.

  • @MJ123and5
    @MJ123and52 жыл бұрын

    Fek I had this idea a couple of days ago, but you already created it :)

  • @og-michael7285
    @og-michael72852 жыл бұрын

    this man needs subscribers asap. quality content

  • @gilbertenevoldsen4469
    @gilbertenevoldsen44692 жыл бұрын

    Did this too a few months ago, it was a really fun project!

  • @humanbagel
    @humanbagel Жыл бұрын

    you're my freaking hero man

  • @belfedhalmohamed9152
    @belfedhalmohamed91522 жыл бұрын

    that intro alone was worth subsciribing for

  • @barbariankinggamer3366
    @barbariankinggamer33662 жыл бұрын

    Dude i aspire to be like you. I'm 18 an tried KZread multiple times and it never worked out. Then got into game dev. If i ever decide to make a yt channel w coding n stuff, bro you'll be my inspiration. Awesome vid. Hope to see more

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Hey, I'm glad to know that. My advice is to look at what these channels have in common. For example, I noticed comedy played a massive role, so I emulate that in my commentary; there are other factors at play, but that's just one. If you ever decide to try KZread again, I wish you the best outcome. Thanks for commenting.

  • @stevecalvinbarrera6291
    @stevecalvinbarrera62912 жыл бұрын

    Awesome video bro

  • @shreder95ua
    @shreder95ua Жыл бұрын

    ARDENS HAND AND KEYBOARD RELEAVE!!!! and table too, dont forget.

  • @h_ngm_n7225
    @h_ngm_n72252 жыл бұрын

    Yo, I subbed, I hope to see you agian, we finna dust these fools

  • @dylkii
    @dylkii2 жыл бұрын

    I clicked this thinking it was code bullet, but stayed for the amazing content Nice video

  • @kongle8737
    @kongle87372 жыл бұрын

    fun fact you can write imports on one line like this: import pytesseract, pyautogui, cv2, time

  • @hacklordmonster8780
    @hacklordmonster87802 жыл бұрын

    Ardens: I'm just goin to kindly trap you here also Ardens: please don't leave

  • @yemam4156
    @yemam41562 жыл бұрын

    Nice channel bro Keep going, Annnnnd i need that bot bro XD to crush people( i mean teach people;)

  • @karolbaskin3941
    @karolbaskin39412 жыл бұрын

    this gives code bullet editing/video style vibes

  • @user-cd4bx6uq1y
    @user-cd4bx6uq1y9 ай бұрын

    2:34 is clever and I'm also glad someone else called this the Cose Bullet format Edit: guess I'm a bot because I also thought these were underscores

  • @mikey10006
    @mikey100062 жыл бұрын

    That keyboard gives me eargasms

  • @naddical
    @naddical2 жыл бұрын

    I recommend against the home row, as it’s known to cause carpel tunnel and cap at around 70 WPM.

  • @gasped
    @gasped2 жыл бұрын

    this dude def gonna blow up this year

  • @Matt-sk6hi
    @Matt-sk6hi2 жыл бұрын

    You could also bind the script to a hotkey instead of adding a delay. That way you could hotkey anywhere there is a text box super easy.

  • @sawomirszlot4705
    @sawomirszlot47052 жыл бұрын

    nice functional good working easy install thanks

  • @its_Shooter
    @its_Shooter2 жыл бұрын

    extremely good video, thank you algorithm

  • @marekprokopec7323
    @marekprokopec73232 жыл бұрын

    If anyone wanted to try this, open typeracer and when the countdown ends paste this into devtools console: let mainEl = document.querySelector("table.inputPanel"); let textEL = mainEl.querySelector("tr"); let text = textEL.innerText.replaceAll(" ", "").split(""); let inputEl = mainEl.querySelector("input"); for (let i = 0; i const letter = text[i]; setTimeout(() => { inputEl.value += letter; }, i * 120 + Math.floor(Math.random() * 10)); } It should be just barely under the 100wpm mark (Use only in free practice mode of course.)

  • @maximofernandez196

    @maximofernandez196

    2 жыл бұрын

    Jokes aside, this seems cool to learn some js. I just didn't have any idea at the start what query selector was supposed to mean, and then I continued reading and I got what the code meant

  • @marekprokopec7323

    @marekprokopec7323

    2 жыл бұрын

    @@maximofernandez196 Yeah, reading other's code is really helpful, because especially js has so many features that you would never find by yourself and you can kind of observe what they're doing differently than you. Other than that I find doing small stuff like this really nice way to practice your skills.

  • @maximofernandez196

    @maximofernandez196

    2 жыл бұрын

    @@marekprokopec7323 Yeah, really, I appreciate that. Thank you so much, dude

  • @jadenruanes1858
    @jadenruanes1858 Жыл бұрын

    “No highlighting, no fake underscores, and no baloney.”

  • @shojauddin2509
    @shojauddin25092 жыл бұрын

    9:08 you are a genius

  • @arnav_mehta
    @arnav_mehta2 жыл бұрын

    man you're so underrated

  • @spirlo
    @spirlo2 жыл бұрын

    Bro this quality of videos and just 3k subs wtfffffff,bro keep it up you will hit 10M one day!!!!!!

  • @ilaik
    @ilaik2 жыл бұрын

    Very cool! Ehat you could have done is instead of extracting the text out of the image, you could get the html of the page and extract the exact text from there. I know it seems hard but it's not that hard, look at selenium or beautifulSoup or request_html. Keep going you are doing great! Imma sub

  • @iDubah
    @iDubah2 жыл бұрын

    You deserve more subscribers to be honest. :')

  • @6we
    @6we Жыл бұрын

    This man must be makin' hella bread rn

  • @dagdbot83
    @dagdbot832 жыл бұрын

    0:08 BRO THE MOMENT I SUBBED THAT PART ENDED LIKE THE EXACT MOMENT I SUBBED

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    that's crazy😂

  • @austingarcia3953
    @austingarcia39532 жыл бұрын

    i left when you "kindly trapped me"

  • @eyeofgafeeney
    @eyeofgafeeney Жыл бұрын

    he's a family friendly code bullet

  • @procoolgamer3875
    @procoolgamer38752 жыл бұрын

    Will you post the script? I was gonna try your work of art. Anyways great vid!

  • @Hematite
    @Hematite2 жыл бұрын

    to make it more realistic you should've made it so it has a random time between letters so use math.random(first number, second number)

  • @isavfx
    @isavfx2 жыл бұрын

    Underrated Good Video

  • @calitts4708
    @calitts47082 жыл бұрын

    It is so strange such quality channel with so little subscribes. I'll do my part at least, subbed!

  • @thatboiireal
    @thatboiireal2 жыл бұрын

    DAMN that keyboard CRONCHY

  • @snipetdm0001
    @snipetdm00012 жыл бұрын

    I love your content and I am sure you got heavily inspired by CodeBullet (Thumbnail) and Dani ('Borrow'ing code) Idk how to program complex shit like you guys but I get simple pleasures from watching other people suffer 😂

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Yes, undoubtedly, CB is an inspiration of mine, Dani not so much. I knew if I did the Thumbnail and title like this, it would grab people's attention. However, the downside is now I'm being called a copycat 😂 but it is what it is. I'll continue making tech videos I find fun and entertaining to the public. But thank you, I'm glad you like them.

  • @snipetdm0001

    @snipetdm0001

    2 жыл бұрын

    @@Ardens. nah this is one of the best original video I have seen 🙂

  • @HTWwpzIuqaObMt
    @HTWwpzIuqaObMt2 жыл бұрын

    And also the issues you had are very easy to fix. Just apply a spellcheck on the result and also clear it from special characters. And with the highlighting, just load the image with cv2 as a grayscale with the 0 flag.

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Your expectations of me are too high

  • @xkevop2263
    @xkevop22632 жыл бұрын

    subscribed. liked the video bro.

  • @johncarranza5925
    @johncarranza59252 жыл бұрын

    after 2 videos, i decide susbscribe to your channel, good stuf!

  • @GDgetnscped
    @GDgetnscped2 жыл бұрын

    POV: you thought this was a code bullet video (btw I subbed)

  • @user-cd4bx6uq1y
    @user-cd4bx6uq1y9 ай бұрын

    ASMR Code Bullet is your kindergarten teacher and explains coding to you

  • @novahthonks9564
    @novahthonks95642 жыл бұрын

    I found your channel today. I thought you have like 3m subscribers and found out you have 3k. you will grow. Mark my words.

  • @poluefemus
    @poluefemus2 жыл бұрын

    that car is on drugs

  • @cibieop285
    @cibieop2852 жыл бұрын

    ive done something similar to this but in typeracer with selenium. Scrape the div that holds the text and type it back with the wpm you choose

  • @EchossHereMate
    @EchossHereMate2 жыл бұрын

    'i click refresh' 100000 iq moment

  • @SiphanixGamingFR
    @SiphanixGamingFR2 жыл бұрын

    I had made something like this using selenium, it was way easier. Selenium is a browser automation module and it lets you find elements by their id or their xpath, whatever you like. It also lets you type in input boxes.

  • @Under_
    @Under_2 жыл бұрын

    I literrally subbed liked and shared AND YOU WERE STILL LAUGHING AT ME

  • @darshanpatil1921
    @darshanpatil19212 жыл бұрын

    You could use selenium driver where you can get text directly by using get element by id or class.

  • @0xmakors
    @0xmakors Жыл бұрын

    Would have recommended playwright for this, but this solution also works!

  • @redsie1076
    @redsie10762 жыл бұрын

    To do the cap at ha you could just input the raw data into your source code and use the program to type it from there

  • @mony7859
    @mony78592 жыл бұрын

    Great work i like it

Келесі