{"id":1797,"date":"2023-08-17T08:21:27","date_gmt":"2023-08-17T08:21:27","guid":{"rendered":"https:\/\/summersnow.eu.org\/?p=1797"},"modified":"2023-08-17T08:21:27","modified_gmt":"2023-08-17T08:21:27","slug":"looking-for-other-alternatives-to-file-listing-program","status":"publish","type":"post","link":"https:\/\/summersnow.eu.org\/?p=1797","title":{"rendered":"Looking for Other Alternatives to File Listing Program"},"content":{"rendered":"\n<p>Less than a month after a blog \u201c<a href=\"https:\/\/summersnow.eu.org\/2023\/03\/08\/cloudflare-workers-kv-deploys-onepoint-to-mount-onedrive-with-rclone\/\" data-type=\"link\" data-id=\"https:\/\/summersnow.eu.org\/2023\/03\/08\/cloudflare-workers-kv-deploys-onepoint-to-mount-onedrive-with-rclone\/\" target=\"_blank\" rel=\"noreferrer noopener\">Cloudflare Workers + KV Deploys OnePoint to Mount OneDrive with Rclone<\/a>\u201d written in March this year, the E5 was forced to expire. The method introduced in this blog cannot be implemented in OneDrive account without API. You can go to the author\u2019s blog of \u201d\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/qyi.io\/archives\/687.html\" target=\"_blank\">E5\u81ea\u52a8\u8ba2\u9605\u7a0b\u5e8f<\/a>\u201d to have a look. The address is\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/qyi.io\/archives\/687.html\" target=\"_blank\">https:\/\/qyi.io\/archives\/687.html<\/a>, which is still accessible at present.<\/p>\n\n\n\n<p>As a result, the file listing programs implemented by the API-based OneDrive account I set up before can no longer be opened. These file listing programs include the following two addresses:<\/p>\n\n\n\n<p>\u9752\u6625\u8def\u4e0a\u7684\u6587\u6863\u5907\u4efd<a href=\"https:\/\/summersnow2001.github.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/summersnow2001.github.io\/<\/a><\/p>\n\n\n\n<p>\u9752\u6625\u8def\u4e0a\u7684\u6587\u6863\u5907\u4efd<a href=\"https:\/\/divine-flower-6ea4.summersnow.workers.dev\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/divine-flower-6ea4.summersnow.workers.dev\/<\/a><\/p>\n\n\n\n<p>Keep the above two addresses temporarily, and update them after applying for an OneDrive account with API later.<\/p>\n\n\n\n<p>Then, the next question is, is it possible to implement the file listing program for OneDrive accounts without API or other online disk accounts such as Ali Cloud Disk? The answer is yes. After searching, I found a simple and practical implementation of the file listing program Alist, but it needs to be built on the server. Are there still free servers or containers available? Of course there are. I tried to do it with two free containers, GoormIDE and Replit.<\/p>\n\n\n\n<p>For the free container application and use of GoormIDE, please refer to the blog post \u201c<a rel=\"noreferrer noopener\" href=\"https:\/\/yisous.xyz\/posts\/14740f7c\/\" target=\"_blank\">GoormIDE\u7684VPS\u767d\u5ad6\uff081\uff09-\u767d\u5ad6\u4e0e\u5b89\u88c5\u5b9d\u5854\u9762\u677f\u6559\u7a0b<\/a>\u201d. Currently free account can set an Always on.<\/p>\n\n\n\n<p>The detailed process is as follows:<\/p>\n\n\n\n<p>One-click Script is only for Linux-x86_64\/arm64 platform. The default installation is in \/opt\/alist.<\/p>\n\n\n\n<p>#Install<\/p>\n\n\n\n<p>curl -fsSL \u201chttps:\/\/alist.nn.ci\/v3.sh\u201d | bash -s install<\/p>\n\n\n\n<p>#Update<\/p>\n\n\n\n<p>curl -fsSL \u201chttps:\/\/alist.nn.ci\/v3.sh\u201d | bash -s update<\/p>\n\n\n\n<p># Grant the program execution permission<\/p>\n\n\n\n<p>chmod +x alist<\/p>\n\n\n\n<p># Run the program<\/p>\n\n\n\n<p>.\/alist server<\/p>\n\n\n\n<p># Get administrator information<\/p>\n\n\n\n<p>.\/alist admin<\/p>\n\n\n\n<p>#nohup command enables the program to always run in the background.<\/p>\n\n\n\n<p>Query whether nohup is installed:<\/p>\n\n\n\n<p>which nohup<\/p>\n\n\n\n<p>If \/usr\/bin\/nohup is displayed, it proves that it has been installed.<\/p>\n\n\n\n<p>Use of commands:<\/p>\n\n\n\n<p>nohup Command [Arg\u2026] [&amp;]<\/p>\n\n\n\n<p>Among them: Command is the command to be executed, Arg is some parameters, you can specify the output file, &amp; lets the command execute in the background, and the command is still executed after the terminal exits.<\/p>\n\n\n\n<p>The complete execution process is as follows:<\/p>\n\n\n\n<p>curl -fsSL \u201chttps:\/\/alist.nn.ci\/v3.sh\u201d | bash -s install<\/p>\n\n\n\n<p>cd \/opt\/alist<\/p>\n\n\n\n<p>chmod +x alist<\/p>\n\n\n\n<p>nohup .\/alist server &amp;<\/p>\n\n\n\n<p>For a detailed tutorial on how to build an Alist with Replit, see the blog post \u201c<a href=\"https:\/\/sxbai.com\/2022\/11\/11\/replit-alist\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5229\u7528replit\u642d\u5efaAlist<\/a>\u201c.<\/p>\n\n\n\n<p>The software package of alist-linux-amd64.tar.gz can also be directly uploaded to the file directory of Replit. The downloading address is as follows:&nbsp;<a href=\"https:\/\/alist.summersnow2001.repl.co\/%E5%B1%B1%E4%B8%9C%20%E5%86%9C%E4%B8%9A%E5%A4%A7%E5%AD%A6365%E7%A9%BA%E9%97%B4\/alist-for-replit-main.zip\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/alist.summersnow2001.repl.co\/%E5%B1%B1%E4%B8%9C %E5%86%9C%E4%B8%9A%E5%A4%A7%E5%AD%A6365%E7%A9%BA%E9%97%B4\/alist-for-replit-main.zip<\/a><\/p>\n\n\n\n<p>Finally, list the access addresses of my above two file listing programs:<\/p>\n\n\n\n<p><a href=\"https:\/\/summersnow.run.goorm.site\/\">https:\/\/summersnow.run.goorm.site\/<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/alist.summersnow2001.repl.co\/\">https:\/\/alist.summersnow2001.repl.co\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Less than a month after a blog \u201cCloudflare Workers + KV &#8230;.&nbsp;&nbsp;<a class=\" special\" href=\"https:\/\/summersnow.eu.org\/?p=1797\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[128,126,127,125],"class_list":["post-1797","post","type-post","status-publish","format-standard","hentry","category-internet","tag-alist","tag-file-listing-program","tag-goormide","tag-replit"],"views":416,"_links":{"self":[{"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/1797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1797"}],"version-history":[{"count":1,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/1797\/revisions"}],"predecessor-version":[{"id":1798,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/1797\/revisions\/1798"}],"wp:attachment":[{"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}