{"id":361934,"date":"2024-05-21T01:24:03","date_gmt":"2024-05-21T01:24:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=361934"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=361934","title":{"rendered":"<span>TeleDrive: Unleash Unlimited Cloud Storage with Telegram<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>Hey everyone! Today, I&#8217;ll guide you through creating a boundless cloud storage solution on Telegram using TeleDrive. This open-source project is a game-changer, offering functionalities like Google Drive\/OneDrive via the Telegram API.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/196\/9a7\/879\/1969a7879fdbead5b787024900a5dcef.png\" width=\"1743\" height=\"873\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/196\/9a7\/879\/1969a7879fdbead5b787024900a5dcef.png\"\/><\/figure>\n<p><strong>Creating the Cloud<\/strong><\/p>\n<p>For those seeking info in various forums or YouTube, it&#8217;s slim pickings. I spent about 2 hours decoding the problem since the script was on a coffee break! Turns out, the fix was sitting pretty in the issues repository. ?<\/p>\n<p>Instead of wasting our million-dollar software engineering time, let&#8217;s dive into learning how to install TeleDrive.<\/p>\n<p><strong>Setting the Stage<\/strong><\/p>\n<p>Let&#8217;s start by updating our packages:<\/p>\n<pre><code>apt-get update<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6a2\/706\/8b9\/6a27068b9db7223fc001a3d0894bbbfe.png\" width=\"709\" height=\"134\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6a2\/706\/8b9\/6a27068b9db7223fc001a3d0894bbbfe.png\"\/><\/figure>\n<p>Next, the crucial Build-essentials:<\/p>\n<pre><code>apt-get install build-essential<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/df6\/957\/29c\/df695729c46533b6e472db6089b26f62.png\" width=\"768\" height=\"282\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/df6\/957\/29c\/df695729c46533b6e472db6089b26f62.png\"\/><\/figure>\n<p>Following that, let&#8217;s grab the fork repository with git-clone:<\/p>\n<pre><code>git clone https:\/\/github.com\/mgilangjanuar\/teledrive<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/319\/474\/099\/319474099759eae3cb1ddd9867338e4a.png\" width=\"730\" height=\"154\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/319\/474\/099\/319474099759eae3cb1ddd9867338e4a.png\"\/><\/figure>\n<p>If Git&#8217;s on a break, hit it with:<\/p>\n<pre><code>apt install git<\/code><\/pre>\n<p><strong>Node and Beyond<\/strong><\/p>\n<p>Now, let&#8217;s install NVM (Node Version Manager):<\/p>\n<pre><code>wget https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/master\/install.sh<\/code><\/pre>\n<p>After the download:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/91b\/c73\/311\/91bc73311f1eab93570edddab7a76161.png\" width=\"903\" height=\"258\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/91b\/c73\/311\/91bc73311f1eab93570edddab7a76161.png\"\/><\/figure>\n<pre><code>bash install.sh source ~\/.bashrc<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/40d\/2d0\/531\/40d2d05319ecd21e46e8451fdbe28967.png\" width=\"831\" height=\"594\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/40d\/2d0\/531\/40d2d05319ecd21e46e8451fdbe28967.png\"\/><\/figure>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/365\/9e8\/4ad\/3659e84ad85e3f14a3763eff1f252e69.png\" width=\"359\" height=\"38\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/365\/9e8\/4ad\/3659e84ad85e3f14a3763eff1f252e69.png\"\/><\/figure>\n<p>Ensure NVM&#8217;s up and running:<\/p>\n<pre><code>nvm -v<\/code><\/pre>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fd1\/1ba\/01f\/fd11ba01f78d1186f52885d6644546b1.png\" width=\"224\" height=\"39\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fd1\/1ba\/01f\/fd11ba01f78d1186f52885d6644546b1.png\"\/><\/figure>\n<p>Let&#8217;s get Node.JS 18.16.0 via NVM:<\/p>\n<pre><code>nvm install v18.16.0<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8d8\/ad9\/09d\/8d8ad909d6de79336074f0c2a6114129.png\" width=\"900\" height=\"340\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8d8\/ad9\/09d\/8d8ad909d6de79336074f0c2a6114129.png\"\/><\/figure>\n<p>Checking Node.JS and NPM versions:<\/p>\n<pre><code>node -v npm -v<\/code><\/pre>\n<p>Now, let&#8217;s move into our downloaded GitHub project:<\/p>\n<pre><code>cd teledrive<\/code><\/pre>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f5c\/068\/0fd\/f5c0680fdcd8d47bcaee3df6b1e49f34.png\" width=\"344\" height=\"58\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f5c\/068\/0fd\/f5c0680fdcd8d47bcaee3df6b1e49f34.png\"\/><\/figure>\n<p>We&#8217;ll need to install Yarn and PostgreSQL:<\/p>\n<pre><code>sudo apt install postgresql -y<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/74c\/611\/f98\/74c611f987e7ce69465c81a54b6ca49b.png\" width=\"606\" height=\"129\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/74c\/611\/f98\/74c611f987e7ce69465c81a54b6ca49b.png\"\/><\/figure>\n<p>Let&#8217;s trigger TeleDrive installation:<\/p>\n<pre><code>chmod +x .\/install.manual.sh .\/install.manual.sh<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f12\/179\/26b\/f1217926b2af96f3b8cd579f5758ceb6.png\" width=\"640\" height=\"188\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f12\/179\/26b\/f1217926b2af96f3b8cd579f5758ceb6.png\"\/><\/figure>\n<p><strong>Configuring TeleDrive<\/strong><\/p>\n<p>Parameters will pop up that require filling:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8c7\/9b0\/800\/8c79b080025d1d6a325c87e727e59da5.png\" width=\"525\" height=\"52\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8c7\/9b0\/800\/8c79b080025d1d6a325c87e727e59da5.png\"\/><\/figure>\n<ul>\n<li>\n<p>TG_API_ID: Application ID<\/p>\n<\/li>\n<li>\n<p>TG_API_HASH: The hash<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/834\/fac\/d96\/834facd96bbbf906051b01561473d0fc.png\" width=\"896\" height=\"136\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/834\/fac\/d96\/834facd96bbbf906051b01561473d0fc.png\"\/><\/figure>\n<\/li>\n<li>\n<p>ADMIN_USERNAME: Telegram username (should be admin)<\/p>\n<\/li>\n<li>\n<p>DATABASE_URL: Your postgres database<\/p>\n<\/li>\n<li>\n<p>PORT: Operational port<\/p>\n<\/li>\n<li>\n<p>REACT_APP_API_URL: API operation address<\/p>\n<\/li>\n<\/ul>\n<p>After a successful setup, the installation of packages kicks in. Once that&#8217;s done, a confirmation text should appear, indicating TeleDrive&#8217;s successful launch.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4c7\/ccd\/6ac\/4c7ccd6acf13d75f734b1e1719c59f98.png\" width=\"496\" height=\"216\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4c7\/ccd\/6ac\/4c7ccd6acf13d75f734b1e1719c59f98.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e29\/797\/dcc\/e29797dccd1db8ed334790b161c98a5b.png\" width=\"901\" height=\"287\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e29\/797\/dcc\/e29797dccd1db8ed334790b161c98a5b.png\"\/><\/figure>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/657\/ec3\/506\/657ec350687a97d79e21b288f5b39ce1.png\" width=\"450\" height=\"73\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/657\/ec3\/506\/657ec350687a97d79e21b288f5b39ce1.png\"\/><\/figure>\n<p><strong>Getting APP_ID and API_HASH<\/strong><\/p>\n<p>Let&#8217;s head over to <a href=\"http:\/\/my.telegram.org\" rel=\"noopener noreferrer nofollow\">my.telegram.org<\/a> and log in using your phone number.<\/p>\n<p>Create an application and gather its data.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c64\/89c\/4a7\/c6489c4a73675ee31c8b29ad5ba08663.png\" width=\"768\" height=\"486\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c64\/89c\/4a7\/c6489c4a73675ee31c8b29ad5ba08663.png\"\/><\/figure>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/99c\/a34\/986\/99ca34986b4df7722c6581018f8e511c.png\" width=\"413\" height=\"193\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/99c\/a34\/986\/99ca34986b4df7722c6581018f8e511c.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/56b\/a95\/939\/56ba959392ee90a5072de9c06eb76bc0.png\" width=\"858\" height=\"271\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/56b\/a95\/939\/56ba959392ee90a5072de9c06eb76bc0.png\"\/><\/figure>\n<p><strong>Linking to the Database<\/strong><\/p>\n<p>Create and import data into the database.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/af1\/c27\/ffb\/af1c27ffb36c816f2108815a9df61302.png\" width=\"989\" height=\"565\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/af1\/c27\/ffb\/af1c27ffb36c816f2108815a9df61302.png\"\/><\/figure>\n<p><strong>Creating:<\/strong><\/p>\n<p>To get started, access PostgreSQL:<\/p>\n<pre><code>arduinoCopy codepsql -U postgres # or sudo su - postgres psql <\/code><\/pre>\n<p>Then, execute the following command:<\/p>\n<pre><code>sqlCopy codeCREATE DATABASE teledrive; <\/code><\/pre>\n<p>Note: If you perform these actions, you&#8217;ll also need to import server variables.<\/p>\n<p><strong>DATABASE_URL:<\/strong> postgresql:\/\/postgres@localhost:5432\/teledrive<\/p>\n<p>Then, watch in awe as TeleDrive works its magic and showcases its wonders through screenshots.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/436\/27c\/0fc\/43627c0fcf086f0713c16205c51cdd6c.png\" width=\"704\" height=\"455\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/436\/27c\/0fc\/43627c0fcf086f0713c16205c51cdd6c.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/20c\/ea1\/08d\/20cea108d0bd19a09529623cea71a718.png\" width=\"1137\" height=\"216\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/20c\/ea1\/08d\/20cea108d0bd19a09529623cea71a718.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/27a\/189\/37b\/27a18937b03f2f7a634de906cc79db8a.png\" width=\"1919\" height=\"990\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/27a\/189\/37b\/27a18937b03f2f7a634de906cc79db8a.png\"\/><\/figure>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5d1\/a14\/e0e\/5d1a14e0e928da9065ffc561f6d15ea3.png\" width=\"181\" height=\"353\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5d1\/a14\/e0e\/5d1a14e0e928da9065ffc561f6d15ea3.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f98\/683\/999\/f98683999d40c588f8148e78749bc3c9.png\" width=\"1120\" height=\"174\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f98\/683\/999\/f98683999d40c588f8148e78749bc3c9.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4c9\/112\/c5e\/4c9112c5e60f587a6630103a57713158.png\" width=\"1389\" height=\"452\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4c9\/112\/c5e\/4c9112c5e60f587a6630103a57713158.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fc9\/bb1\/d73\/fc9bb1d733d09e13f7b0d75aa00d8385.png\" width=\"613\" height=\"186\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fc9\/bb1\/d73\/fc9bb1d733d09e13f7b0d75aa00d8385.png\"\/><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/dcb\/1e3\/ce1\/dcb1e3ce1df30de1f9f6a073afa76e66.png\" width=\"605\" height=\"394\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dcb\/1e3\/ce1\/dcb1e3ce1df30de1f9f6a073afa76e66.png\"\/><\/figure>\n<p>And there you have it! A comprehensive guide to unleashing the power of TeleDrive. Enjoy seamless cloud storage on Telegram! If you found this article helpful, share it with friends and stay tuned for more.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/778250\/\"> https:\/\/habr.com\/ru\/articles\/778250\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>Hey everyone! Today, I&#8217;ll guide you through creating a boundless cloud storage solution on Telegram using TeleDrive. This open-source project is a game-changer, offering functionalities like Google Drive\/OneDrive via the Telegram API.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p><strong>Creating the Cloud<\/strong><\/p>\n<p>For those seeking info in various forums or YouTube, it&#8217;s slim pickings. I spent about 2 hours decoding the problem since the script was on a coffee break! Turns out, the fix was sitting pretty in the issues repository. ?<\/p>\n<p>Instead of wasting our million-dollar software engineering time, let&#8217;s dive into learning how to install TeleDrive.<\/p>\n<p><strong>Setting the Stage<\/strong><\/p>\n<p>Let&#8217;s start by updating our packages:<\/p>\n<pre><code>apt-get update<\/code><\/pre>\n<figure class=\"full-width\"><\/figure>\n<p>Next, the crucial Build-essentials:<\/p>\n<pre><code>apt-get install build-essential<\/code><\/pre>\n<figure class=\"full-width\"><\/figure>\n<p>Following that, let&#8217;s grab the fork repository with git-clone:<\/p>\n<pre><code>git clone https:\/\/github.com\/mgilangjanuar\/teledrive<\/code><\/pre>\n<figure class=\"full-width\"><\/figure>\n<p>If Git&#8217;s on a break, hit it with:<\/p>\n<pre><code>apt install git<\/code><\/pre>\n<p><strong>Node and Beyond<\/strong><\/p>\n<p>Now, let&#8217;s install NVM (Node Version Manager):<\/p>\n<pre><code>wget https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/master\/install.sh<\/code><\/pre>\n<p>After the download:<\/p>\n<figure class=\"full-width\"><\/figure>\n<pre><code>bash install.sh source ~\/.bashrc<\/code><\/pre>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"\"><\/figure>\n<p>Ensure NVM&#8217;s up and running:<\/p>\n<pre><code>nvm -v<\/code><\/pre>\n<figure class=\"\"><\/figure>\n<p>Let&#8217;s get Node.JS 18.16.0 via NVM:<\/p>\n<pre><code>nvm install v18.16.0<\/code><\/pre>\n<figure class=\"full-width\"><\/figure>\n<p>Checking Node.JS and NPM versions:<\/p>\n<pre><code>node -v npm -v<\/code><\/pre>\n<p>Now, let&#8217;s move into our downloaded GitHub project:<\/p>\n<pre><code>cd teledrive<\/code><\/pre>\n<figure class=\"\"><\/figure>\n<p>We&#8217;ll need to install Yarn and PostgreSQL:<\/p>\n<pre><code>sudo apt install postgresql -y<\/code><\/pre>\n<figure class=\"full-width\"><\/figure>\n<p>Let&#8217;s trigger TeleDrive installation:<\/p>\n<pre><code>chmod +x .\/install.manual.sh .\/install.manual.sh<\/code><\/pre>\n<figure class=\"full-width\"><\/figure>\n<p><strong>Configuring TeleDrive<\/strong><\/p>\n<p>Parameters will pop up that require filling:<\/p>\n<figure class=\"full-width\"><\/figure>\n<ul>\n<li>\n<p>TG_API_ID: Application ID<\/p>\n<\/li>\n<li>\n<p>TG_API_HASH: The hash<\/p>\n<figure class=\"full-width\"><\/figure>\n<\/li>\n<li>\n<p>ADMIN_USERNAME: Telegram username (should be admin)<\/p>\n<\/li>\n<li>\n<p>DATABASE_URL: Your postgres database<\/p>\n<\/li>\n<li>\n<p>PORT: Operational port<\/p>\n<\/li>\n<li>\n<p>REACT_APP_API_URL: API operation address<\/p>\n<\/li>\n<\/ul>\n<p>After a successful setup, the installation of packages kicks in. Once that&#8217;s done, a confirmation text should appear, indicating TeleDrive&#8217;s successful launch.<\/p>\n<figure class=\"\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"\"><\/figure>\n<p><strong>Getting APP_ID and API_HASH<\/strong><\/p>\n<p>Let&#8217;s head over to <a href=\"http:\/\/my.telegram.org\" rel=\"noopener noreferrer nofollow\">my.telegram.org<\/a> and log in using your phone number.<\/p>\n<p>Create an application and gather its data.<\/p>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<p><strong>Linking to the Database<\/strong><\/p>\n<p>Create and import data into the database.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p><strong>Creating:<\/strong><\/p>\n<p>To get started, access PostgreSQL:<\/p>\n<pre><code>arduinoCopy codepsql -U postgres # or sudo su - postgres psql <\/code><\/pre>\n<p>Then, execute the following command:<\/p>\n<pre><code>sqlCopy codeCREATE DATABASE teledrive; <\/code><\/pre>\n<p>Note: If you perform these actions, you&#8217;ll also need to import server variables.<\/p>\n<p><strong>DATABASE_URL:<\/strong> postgresql:\/\/postgres@localhost:5432\/teledrive<\/p>\n<p>Then, watch in awe as TeleDrive works its magic and showcases its wonders through screenshots.<\/p>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<p>And there you have it! A comprehensive guide to unleashing the power of TeleDrive. Enjoy seamless cloud storage on Telegram! If you found this article helpful, share it with friends and stay tuned for more.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/778250\/\"> https:\/\/habr.com\/ru\/articles\/778250\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-361934","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/361934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=361934"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/361934\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=361934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=361934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=361934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}