A college student built a Twitter bot with Python that tracks the location of Elon Musk's private jet - then Elon offered him $5K to shut it down. Now the situation is blowing up in the media... 

This is the first edition of "The Code Report" - a new series where I bring you breaking news every programmer should know.

#code #elon #thecodereport

🔗 Resources

Source Code https://github.com/Jxck-S/plane-notify
ElonJet https://twitter.com/ElonJet
Teen Turn's Down 5K Article https://www.nbcnews.com/news/us-news/teen-rejects-elon-musks-5000-offer-shut-jet-tracker-rcna14256


🔥 Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- How to build ElonJet Twitter Bot 
- How flight tracking works
2024-02-04T13:44:56.547Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
6fa3f203-c771-449b-a5d1-b7071f53d972
c6327364496d1cbb21f8f050023c868505ff8ae75c6ed7e7c0a16b0f1c8bb222
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
It's February 1, 2022, and you're watching the Code Report news for people who code and stuff.
Everybody loves billionaires, but for some of us, that love can go too far.
Recent polling data indicates that Elon Musk is the world's most popular billionaire by a wide margin, but he's been having a rough week.
Not Only did he lose 1,000,000,000 of dollars in net worth, but a college student named Jack Sweeney from the University of Central Florida created a Twitter bot that tracks the location Of his private jet, Elon, fearing for his safety, slid into the 19 year old's DMs.
The world's richest person offered him $5,000,000 or no, I'm sorry, $5,000 to take it down.
Most teenagers would believe if Elon asked them to.
But apparently, this kid is some kind of alpha gigachad and counter offered with 50 ks and an internship, but Elon declined.
What Idiot.
And now you're hearing about it on my channel because the Streisand effect is in full swing.
The story got picked up by the mainstream media and the Elon Jet Twitter account has grown by over a 100000 followers over the last couple days.
Some people call this guy a stalker or extortionist, especially because Elon only has one private jet, unlike most billionaires.
Like Jeff Bezos recently went to the COP 26 climate summit in his private jet to lecture us about how we're destroying the environment, but he has multiple private jets, making it much harder for stalkers to track him.
Bezos also has a $500,000,000 mega yacht, while Elon doesn't have a not at all.
So Elon kind of did this to himself by only having one mode of transportation.
I realize he's saving up his money to go live on Mars, but now everybody in The world knows how to track November 628, tango Sierra.
But, how does a 19 year old figure out how to track a private jet?
Is Jack Sweeney some Enough coding genius?
Well, the code is on GitHub, so I did some investigating.
It's written in Python and uses the OpenSky network API to track the unique transponder of the plane.
This is a really cool API because it's free and made possible by a huge network of people who relay data to the system from all over the world.
Flight tracking is perfectly legal and there's all kinds of different apps that rely on this data.
In the code, he tracks the plane's altitude and position every few minutes.
Then there's an algorithm that will look for changes from the previous Mission to determine a takeoff or landing event.
In most cases, the plane is just on the ground, but when a takeoff or landing event occurs, it uses the Google Maps static API or takes a screenshot with a browser to generate an image of the plane's current location.
It then uses both the Twitter and Discord APIs to post that content on social media.
It's a pretty clever way to take public data and turn it into interesting content on social media.
If you wanna see a full Twitter bot tutorial on this channel, let me know Comments.
This has been the Code Report.
Thanks for watching, and I will see you in the next one.

Speaker 0: It's February 1, 2022, and you're watching the Code Report news for people who code and stuff. Everybody loves billionaires, but for some of us, that love can go too far. Recent polling data indicates that Elon Musk is the world's most popular billionaire by a wide margin, but he's been having a rough week. Not Only did he lose 1,000,000,000 of dollars in net worth, but a college student named Jack Sweeney from the University of Central Florida created a Twitter bot that tracks the location Of his private jet, Elon, fearing for his safety, slid into the 19 year old's DMs. The world's richest person offered him $5,000,000 or no, I'm sorry, $5,000 to take it down.

Most teenagers would believe if Elon asked them to. But apparently, this kid is some kind of alpha gigachad and counter offered with 50 ks and an internship, but Elon declined. What Idiot. And now you're hearing about it on my channel because the Streisand effect is in full swing. The story got picked up by the mainstream media and the Elon Jet Twitter account has grown by over a 100000 followers over the last couple days.

Some people call this guy a stalker or extortionist, especially because Elon only has one private jet, unlike most billionaires. Like Jeff Bezos recently went to the COP 26 climate summit in his private jet to lecture us about how we're destroying the environment, but he has multiple private jets, making it much harder for stalkers to track him. Bezos also has a $500,000,000 mega yacht, while Elon doesn't have a not at all. So Elon kind of did this to himself by only having one mode of transportation. I realize he's saving up his money to go live on Mars, but now everybody in The world knows how to track November 628, tango Sierra.

But, how does a 19 year old figure out how to track a private jet? Is Jack Sweeney some Enough coding genius? Well, the code is on GitHub, so I did some investigating. It's written in Python and uses the OpenSky network API to track the unique transponder of the plane. This is a really cool API because it's free and made possible by a huge network of people who relay data to the system from all over the world.

Flight tracking is perfectly legal and there's all kinds of different apps that rely on this data. In the code, he tracks the plane's altitude and position every few minutes. Then there's an algorithm that will look for changes from the previous Mission to determine a takeoff or landing event. In most cases, the plane is just on the ground, but when a takeoff or landing event occurs, it uses the Google Maps static API or takes a screenshot with a browser to generate an image of the plane's current location. It then uses both the Twitter and Discord APIs to post that content on social media.

It's a pretty clever way to take public data and turn it into interesting content on social media. If you wanna see a full Twitter bot tutorial on this channel, let me know Comments. This has been the Code Report. Thanks for watching, and I will see you in the next one.
It's February 1, 2022, and you're watching the Code Report news for people who code and stuff. Everybody loves billionaires, but for some of us, that love can go too far. Recent polling data indicates that Elon Musk is the world's most popular billionaire by a wide margin, but he's been having a rough week. Not Only did he lose 1,000,000,000 of dollars in net worth, but a college student named Jack Sweeney from the University of Central Florida created a Twitter bot that tracks the location Of his private jet, Elon, fearing for his safety, slid into the 19 year old's DMs. The world's richest person offered him $5,000,000 or no, I'm sorry, $5,000 to take it down. Most teenagers would believe if Elon asked them to. But apparently, this kid is some kind of alpha gigachad and counter offered with 50 ks and an internship, but Elon declined. What Idiot. And now you're hearing about it on my channel because the Streisand effect is in full swing. The story got picked up by the mainstream media and the Elon Jet Twitter account has grown by over a 100000 followers over the last couple days. Some people call this guy a stalker or extortionist, especially because Elon only has one private jet, unlike most billionaires. Like Jeff Bezos recently went to the COP 26 climate summit in his private jet to lecture us about how we're destroying the environment, but he has multiple private jets, making it much harder for stalkers to track him. Bezos also has a $500,000,000 mega yacht, while Elon doesn't have a not at all. So Elon kind of did this to himself by only having one mode of transportation. I realize he's saving up his money to go live on Mars, but now everybody in The world knows how to track November 628, tango Sierra. But, how does a 19 year old figure out how to track a private jet? Is Jack Sweeney some Enough coding genius? Well, the code is on GitHub, so I did some investigating.
It's written in Python and uses the OpenSky network API to track the unique transponder of the plane. This is a really cool API because it's free and made possible by a huge network of people who relay data to the system from all over the world. Flight tracking is perfectly legal and there's all kinds of different apps that rely on this data. In the code, he tracks the plane's altitude and position every few minutes. Then there's an algorithm that will look for changes from the previous Mission to determine a takeoff or landing event.
aircraft
air travel
aerospace
In most cases, the plane is just on the ground, but when a takeoff or landing event occurs, it uses the Google Maps static API or takes a screenshot with a browser to generate an image of the plane's current location.
It then uses both the Twitter and Discord APIs to post that content on social media. It's a pretty clever way to take public data and turn it into interesting content on social media. If you wanna see a full Twitter bot tutorial on this channel, let me know Comments. This has been the Code Report. Thanks for watching, and I will see you in the next one.
social media
twitter
internet
media
streaming
It's February 1, 2022, and you're watching the Code Report news for people who code and stuff. Everybody loves billionaires, but for some of us, that love can go too far. Recent polling data indicates that Elon Musk is the world's most popular billionaire by a wide margin, but he's been having a rough week. Not Only did he lose 1,000,000,000 of dollars in net worth, but a college student named Jack Sweeney from the University of Central Florida created a Twitter bot that tracks the location Of his private jet, Elon, fearing for his safety, slid into the 19 year old's DMs. The world's richest person offered him $5,000,000 or no, I'm sorry, $5,000 to take it down. Most teenagers would believe if Elon asked them to. But apparently, this kid is some kind of alpha gigachad and counter offered with 50 ks and an internship, but Elon declined. What Idiot. And now you're hearing about it on my channel because the Streisand effect is in full swing. The story got picked up by the mainstream media and the Elon Jet Twitter account has grown by over a 100000 followers over the last couple days. Some people call this guy a stalker or extortionist, especially because Elon only has one private jet, unlike most billionaires. Like Jeff Bezos recently went to the COP 26 climate summit in his private jet to lecture us about how we're destroying the environment, but he has multiple private jets, making it much harder for stalkers to track him. Bezos also has a $500,000,000 mega yacht, while Elon doesn't have a not at all. So Elon kind of did this to himself by only having one mode of transportation. I realize he's saving up his money to go live on Mars, but now everybody in The world knows how to track November 628, tango Sierra. But, how does a 19 year old figure out how to track a private jet? Is Jack Sweeney some Enough coding genius? Well, the code is on GitHub, so I did some investigating. It's written in Python and uses the OpenSky network API to track the unique transponder of the plane. This is a really cool API because it's free and made possible by a huge network of people who relay data to the system from all over the world. Flight tracking is perfectly legal and there's all kinds of different apps that rely on this data. In the code, he tracks the plane's altitude and position every few minutes. Then there's an algorithm that will look for changes from the previous Mission to determine a takeoff or landing event. In most cases, the plane is just on the ground, but when a takeoff or landing event occurs, it uses the Google Maps static API or takes a screenshot with a browser to generate an image of the plane's current location. It then uses both the Twitter and Discord APIs to post that content on social media. It's a pretty clever way to take public data and turn it into interesting content on social media. If you wanna see a full Twitter bot tutorial on this channel, let me know Comments. This has been the Code Report. Thanks for watching, and I will see you in the next one.
It's
it's
February
february
1,
1
2022,
2022
and
and
you're
you're
watching
watching
the
the
Code
code
Report
report
news
news
for
for
people
people
who
who
code
code
and
and
stuff.
stuff
Everybody
everybody
loves
loves
billionaires,
billionaires
but
but
for
for
some
some
of
of
us,
us
that
that
love
love
can
can
go
go
too
too
far.
far
Recent
recent
polling
polling
data
data
indicates
indicates
that
that
Elon
elon
Musk
musk
is
is
the
the
world's
world's
most
most
popular
popular
billionaire
billionaire
by
by
a
a
wide
wide
margin,
margin
but
but
he's
he's
been
been
having
having
a
a
rough
rough
week.
week
Not
not
Only
only
did
did
he
he
lose
lose
1,000,000,000
1,000,000,000
of
of
dollars
dollars
in
in
net
net
worth,
worth
but
but
a
a
college
college
student
student
named
named
Jack
jack
Sweeney
sweeney
from
from
the
the
University
university
of
of
Central
central
Florida
florida
created
created
a
a
Twitter
twitter
bot
bot
that
that
tracks
tracks
the
the
location
location
Of
of
his
his
private
private
jet,
jet
Elon,
elon
fearing
fearing
for
for
his
his
safety,
safety
slid
slid
into
into
the
the
19
19
year
year
old's
old's
DMs.
dms
The
the
world's
world's
richest
richest
person
person
offered
offered
him
him
$5,000,000
$5,000,000
or
or
no,
no
I'm
i'm
sorry,
sorry
$5,000
$5,000
to
to
take
take
it
it
down.
down
Most
most
teenagers
teenagers
would
would
believe
believe
if
if
Elon
elon
asked
asked
them
them
to.
to
But
but
apparently,
apparently
this
this
kid
kid
is
is
some
some
kind
kind
of
of
alpha
alpha
gigachad
gigachad
and
and
counter
counter
offered
offered
with
with
50
50
ks
ks
and
and
an
an
internship,
internship
but
but
Elon
elon
declined.
declined
What
what
Idiot.
idiot
And
and
now
now
you're
you're
hearing
hearing
about
about
it
it
on
on
my
my
channel
channel
because
because
the
the
Streisand
streisand
effect
effect
is
is
in
in
full
full
swing.
swing
The
the
story
story
got
got
picked
picked
up
up
by
by
the
the
mainstream
mainstream
media
media
and
and
the
the
Elon
elon
Jet
jet
Twitter
twitter
account
account
has
has
grown
grown
by
by
over
over
a
a
100000
100000
followers
followers
over
over
the
the
last
last
couple
couple
days.
days
Some
some
people
people
call
call
this
this
guy
guy
a
a
stalker
stalker
or
or
extortionist,
extortionist
especially
especially
because
because
Elon
elon
only
only
has
has
one
one
private
private
jet,
jet
unlike
unlike
most
most
billionaires.
billionaires
Like
like
Jeff
jeff
Bezos
bezos
recently
recently
went
went
to
to
the
the
COP
cop
26
26
climate
climate
summit
summit
in
in
his
his
private
private
jet
jet
to
to
lecture
lecture
us
us
about
about
how
how
we're
we're
destroying
destroying
the
the
environment,
environment
but
but
he
he
has
has
multiple
multiple
private
private
jets,
jets
making
making
it
it
much
much
harder
harder
for
for
stalkers
stalkers
to
to
track
track
him.
him
Bezos
bezos
also
also
has
has
a
a
$500,000,000
$500,000,000
mega
mega
yacht,
yacht
while
while
Elon
elon
doesn't
doesn't
have
have
a
a
not
not
at
at
all.
all
So
so
Elon
elon
kind
kind
of
of
did
did
this
this
to
to
himself
himself
by
by
only
only
having
having
one
one
mode
mode
of
of
transportation.
transportation
I
i
realize
realize
he's
he's
saving
saving
up
up
his
his
money
money
to
to
go
go
live
live
on
on
Mars,
mars
but
but
now
now
everybody
everybody
in
in
The
the
world
world
knows
knows
how
how
to
to
track
track
November
november
628,
628
tango
tango
Sierra.
sierra
But,
but
how
how
does
does
a
a
19
19
year
year
old
old
figure
figure
out
out
how
how
to
to
track
track
a
a
private
private
jet?
jet
Is
is
Jack
jack
Sweeney
sweeney
some
some
Enough
enough
coding
coding
genius?
genius
Well,
well
the
the
code
code
is
is
on
on
GitHub,
github
so
so
I
i
did
did
some
some
investigating.
investigating
It's
it's
written
written
in
in
Python
python
and
and
uses
uses
the
the
OpenSky
opensky
network
network
API
api
to
to
track
track
the
the
unique
unique
transponder
transponder
of
of
the
the
plane.
plane
This
this
is
is
a
a
really
really
cool
cool
API
api
because
because
it's
it's
free
free
and
and
made
made
possible
possible
by
by
a
a
huge
huge
network
network
of
of
people
people
who
who
relay
relay
data
data
to
to
the
the
system
system
from
from
all
all
over
over
the
the
world.
world
Flight
flight
tracking
tracking
is
is
perfectly
perfectly
legal
legal
and
and
there's
there's
all
all
kinds
kinds
of
of
different
different
apps
apps
that
that
rely
rely
on
on
this
this
data.
data
In
in
the
the
code,
code
he
he
tracks
tracks
the
the
plane's
plane's
altitude
altitude
and
and
position
position
every
every
few
few
minutes.
minutes
Then
then
there's
there's
an
an
algorithm
algorithm
that
that
will
will
look
look
for
for
changes
changes
from
from
the
the
previous
previous
Mission
mission
to
to
determine
determine
a
a
takeoff
takeoff
or
or
landing
landing
event.
event
In
in
most
most
cases,
cases
the
the
plane
plane
is
is
just
just
on
on
the
the
ground,
ground
but
but
when
when
a
a
takeoff
takeoff
or
or
landing
landing
event
event
occurs,
occurs
it
it
uses
uses
the
the
Google
google
Maps
maps
static
static
API
api
or
or
takes
takes
a
a
screenshot
screenshot
with
with
a
a
browser
browser
to
to
generate
generate
an
an
image
image
of
of
the
the
plane's
plane's
current
current
location.
location
It
it
then
then
uses
uses
both
both
the
the
Twitter
twitter
and
and
Discord
discord
APIs
apis
to
to
post
post
that
that
content
content
on
on
social
social
media.
media
It's
it's
a
a
pretty
pretty
clever
clever
way
way
to
to
take
take
public
public
data
data
and
and
turn
turn
it
it
into
into
interesting
interesting
content
content
on
on
social
social
media.
media
If
if
you
you
wanna
wanna
see
see
a
a
full
full
Twitter
twitter
bot
bot
tutorial
tutorial
on
on
this
this
channel,
channel
let
let
me
me
know
know
Comments.
comments
This
this
has
has
been
been
the
the
Code
code
Report.
report
Thanks
thanks
for
for
watching,
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
In this episode of the Code Report, the host discusses Elon Musk's recent behavior, including losing money and creating a Twitter bot to track private jets. The host also discusses Elon Musk's code, which uses a network of people to track private jets and has multiple private jets. Elon Musk's code is based on scratchy Python code and uses the OpenSky network API to track the plane'seleration and position. The code also uses the Twitter and Discord APIs to post user information on social media, making it a clever way to turn public data into interesting content.
How a CS student tracks Elon’s Private Jet with Python // The Code Report
It's February 1, 2022, and you're watching the Code Report news for people who code and stuff. Everybody loves billionaires, but for some of us, that love can go too far. Recent polling data indicates that Elon Musk is the world's most popular billionaire by a wide margin, but he's been having a rough week. Not Only did he lose 1,000,000,000 of dollars in net worth, but a college student named Jack Sweeney from the University of Central Florida created a Twitter bot that tracks the location Of his private jet, Elon, fearing for his safety, slid into the 19 year old's DMs. The world's richest person offered him $5,000,000 or no, I'm sorry, $5,000 to take it down. Most teenagers would believe if Elon asked them to. But apparently, this kid is some kind of alpha gigachad and counter offered with 50 ks and an internship, but Elon declined. What Idiot. And now you're hearing about it on my channel because the Streisand effect is in full swing. The story got picked up by the mainstream media and the Elon Jet Twitter account has grown by over a 100000 followers over the last couple days. Some people call this guy a stalker or extortionist, especially because Elon only has one private jet, unlike most billionaires. Like Jeff Bezos recently went to the COP 26 climate summit in his private jet to lecture us about how we're destroying the environment, but he has multiple private jets, making it much harder for stalkers to track him. Bezos also has a $500,000,000 mega yacht, while Elon doesn't have a not at all. So Elon kind of did this to himself by only having one mode of transportation. I realize he's saving up his money to go live on Mars, but now everybody in The world knows how to track November 628, tango Sierra. But, how does a 19 year old figure out how to track a private jet? Is Jack Sweeney some Enough coding genius? Well, the code is on GitHub, so I did some investigating. It's written in Python and uses the OpenSky network API to track the unique transponder of the plane. This is a really cool API because it's free and made possible by a huge network of people who relay data to the system from all over the world. Flight tracking is perfectly legal and there's all kinds of different apps that rely on this data. In the code, he tracks the plane's altitude and position every few minutes. Then there's an algorithm that will look for changes from the previous Mission to determine a takeoff or landing event. In most cases, the plane is just on the ground, but when a takeoff or landing event occurs, it uses the Google Maps static API or takes a screenshot with a browser to generate an image of the plane's current location. It then uses both the Twitter and Discord APIs to post that content on social media. It's a pretty clever way to take public data and turn it into interesting content on social media. If you wanna see a full Twitter bot tutorial on this channel, let me know Comments. This has been the Code Report. Thanks for watching, and I will see you in the next one.
In this episode of the Code Report, the host discusses Elon Musk's recent behavior, including losing money and creating a Twitter bot to track private jets. The host also discusses Elon Musk's code, which uses a network of people to track private jets and has multiple private jets. Elon Musk's code is based on scratchy Python code and uses the OpenSky network API to track the plane'seleration and position. The code also uses the Twitter and Discord APIs to post user information on social media, making it a clever way to turn public data into interesting content.