0:09
>> Hello everyone. Welcome back to my
0:12
If you watched my previous video, create
0:14
your own free image bad file hosting
0:17
site using Cloudflare free services,
0:20
then you probably already set up same
0:23
similar at least 51 sec image bad
0:27
website. So, what we can do is we can
0:30
uploading your files, your image videos,
0:34
and they can save it to the Cloudflare
0:37
R2 storage. The all services is based on
0:41
this GitHub project open source file
0:45
hosting solution project.
0:47
We used Cloudflare R2 as a storage,
0:52
and there's a limitation on this one, 10
0:56
If we would like to use
1:01
solutions such as Telegram,
1:04
then we can get unlimited capacity here.
1:08
But, there's limitation files larger
1:09
than 10 megabytes need to be stored in
1:11
chunks. Cloudflare R2 only have 10 gig
1:16
Any other S3 compatible storage, you can
1:18
use it as well. Pricing will varies by
1:21
providers. Discord 10 megabytes need to
1:26
Hugging Face computer free support a
1:29
large file direct upload requires
1:32
Hugging Face account. So, in this video,
1:35
we're going to use Telegram bot and try
1:40
We're going to follow the guide as shown
1:44
and then make the configuration changes
1:47
on this page, and then we're going to do
1:54
my website is up and the running.
1:58
I have management login. Username
2:00
password has been preset.
2:03
I have couple folders created. Guest
2:05
folder is for everyone can take a look.
2:09
If you want to see the settings,
2:15
If you want to uploading, you will be
2:19
So, all are working great right now.
2:22
What we need to do is we will add
2:27
So, we're going to add one Telegram
2:29
channel adding to here.
2:31
Based on settings, they are mostly
2:35
Some Google Translate might not fully
2:37
working, but if you follow my guide, you
2:39
should be able to get it without a
2:44
Now, let's jump into Telegram setup and
2:47
we can uh start from Telegram web and
2:50
then I'm going to using my phone to
2:52
authorize it to login and we can uh
2:54
follow this guide step-by-step complete
3:03
As I mentioned before, if you haven't
3:05
watched my previous video, you
3:07
definitely want to take a look. Find the
3:09
link below and then you should be able
3:12
to watch it. You do need a GitHub
3:14
account to fork the project.
3:17
Also, you will need a Cloudflare account
3:20
to set up a Cloudflare pages, KV
3:23
namespace, and also R2
3:26
storage space. Like the first video, for
3:30
this video, we're going to go through
3:31
the Telegram setup process.
3:34
Just as I showed you here, we're going
3:37
to using Telegram bot channel, create
3:40
and then we're going to add it
3:43
Of course, you will need a Telegram
3:46
account. If you don't have it, download
3:48
from Play Store or Apple Store.
3:53
You do need to log in Telegram by QR
3:56
code or by phone number or passkey. So,
4:00
I already have my cell phone here.
4:03
So, what I'm going to do is I going to
4:08
I'm going to link desktop device.
4:11
So, I'm going to link it. I'm going to
4:16
the screen going to automatically
4:19
logged you in from your desktop web
4:24
Once you logged in, you need to search
4:37
You need to send out a message new bot
4:40
because we're going to create our own
4:47
We're going to call it
4:49
So, find a unique username.
5:00
now we got that username.
5:06
Next step here, we going to create a new
5:15
Now, let's create channel.
5:17
It's simple. Go to add button, new
5:30
You don't have to add any subscribers.
5:35
Then, you get a new channel.
5:43
Um unfortunately, you can add a
5:48
So, strongly suggest you use your phone
5:52
And go back to your user.
5:58
If you don't know the user, then
6:03
can click the link from the bot father.
6:06
You should be able to do same.
6:14
bot info. You can change some bot
6:16
settings. Uh but there is no option here
6:21
on the web browser. But you should be
6:24
able to go to the same bot
6:28
image bot dash with 51 sec. You can send
6:34
From there, you can just click image bot
6:37
dash 51 sec, the header here, and then
6:40
you should be able to see add to group
6:42
or channel. So, I'm going to do it on my
6:45
phone because there's no option here.
6:48
So, I'm going to add it. Once you add
6:50
it, just make sure you can manage the
6:56
on the channel. So, that's the
6:59
bot. You can add this bot as admin, but
7:04
almost everything checked in here.
7:06
So, add bot as admin.
7:09
Okay, I did that. So, we go back to
7:14
check the channel information. So,
7:20
we got the promoted as admin. That's the
7:23
bot as admin, so we also have all those
7:28
permissions we can do.
7:30
You may not want him to do
7:34
this add the new admins, but others
7:38
Okay, then we go to next step.
7:41
We need to get the channel ID. We're
7:42
going to send a message to
7:49
So, there's message here. You can
7:59
Forward your message to Versa Tools bot.
8:02
There's a couple of them. I will use the
8:07
We need to check the channel ID. We're
8:09
forward channel the message to bot. So,
8:14
message in a channel test in channel.
8:19
And then we're going to forward this
8:34
We got our channel ID starting from
8:36
hyphen. This is our ID.
8:39
That's very important.
8:42
So, that's great. We got everything we
8:44
needed from this Telegram web portal.
8:48
You can do same on your phone. Um
8:51
there's one extra step actually you have
8:53
to do it on the phone, which is uh add
8:56
the bot as a channel admin. So, the main
8:59
reason is we need to get this channel
9:01
ID. So, we got channel ID. Now, we go to
9:10
Now, we are back to our
9:12
Image Pad application we created from my
9:18
If you haven't watched that, please go
9:19
back to watch this and then complete the
9:22
previous step to create it or Telegram
9:26
bot channel, get your channel ID. Now,
9:32
So, we are adding a Telegram channel.
9:37
enter the channel name,
9:39
so which we can all get from here.
9:42
You're going to need a bot token.
9:47
That's pretty much everything. And we
9:50
confirm to add it. Of course, you want a
9:55
I going to turn this off
9:57
since we already have a new channel. I
10:00
don't want to use Cloudflare R2. We're
10:02
going to use the image pad 51 seconds
10:04
channel using the bot to add this thing.
10:09
Now, all setup has been completed. We
10:11
can all test it out.
10:17
So, now let's test it out. So, we can uh
10:23
We can all go back to our
10:34
copy paste, drag and drop,
10:37
or you can just put the URL
10:40
in from the external URL. You can paste
10:42
here, and it can automatically upload to
10:47
this one, I'm going to
10:49
to make it a symbol, I'm going to just
10:54
one image to here from my local storage.
11:05
You see, that's the photo, the logo of
11:09
So, now you should be able to get this
11:15
Perfect. It's uploaded and available.
11:20
interesting things, you should be able
11:22
to see it from a Telegram. Yeah, because
11:28
using the bot to send this image to the
11:33
channel and then since this is
11:37
Telegram back end, so they will store it
11:40
there and the Telegram basically they
11:42
have unlimited storage at the back end.
11:48
And that's all for this video.
11:51
It shows you how to use Telegram to
11:55
store your image or files and we have
11:59
front end which is Cloudflare
12:02
hosted pages which allows you to drag
12:06
and drop or control V to paste the image
12:10
or files to the image pad which you can
12:13
use it anywhere else. Thank you for
12:16
watching. That's all for today. If you
12:18
like this video, give me thumbs up and
12:21
subscribe my channel if you haven't. See