Anyfile Notepad
Anyfile Notepad is a Google Drive compatible app that let’s you open any type of files on Google Drive and Dropbox.
This repository hosts the code that powers https://anyfile-notepad.semaan.ca/app and is composed of 3 services:
- First and foremost, the client code which encapsulates the application code
- Second, a webserver that serves the client code and encapsulates the paid subscriptions logic
- Third, an API (api.anyfile-notepad.semaan.ca) to serve the data that backs the application (syntaxes, extensions and mime types configuration)
- Fourth, a simple administrative interface to manage the three resources above (admin.anyfile-notepad.semaan.ca)
Building the client side app
NOTE: These instructions are made for Linux and were tested on Debian 8
Templating setup
First, install perl , cpan , gcc , curl and make from your distribution repository. Then install these packages from CPAN:
Assets package manager setup
Next, install npm .
Setting up the app dependencies
Then, clone the repo, and launch the install of the assets of the app.
Basic configuration and initial launch
After that, you need to setup the variables that are proper to your setup via client/assets/js/VARS.js.example (for now, the defaults should do it).
Then, launch the build script and ensure no error or warning shows.
The app will then be compiled into static pages and assets that can be served using any basic hosting service. These files will be in tmp/app-compiled/
Using the integrated development server
You can run the Golang webserver directly from the build script but you will need to have Golang and inotifywait installed. You will then be able to use the following command to serve the files locally and rebuild the app on changes in the client/ directory.
The application will then be available through http://localhost:8000 .
Setting up Google Drive for the app
Once you get the application displaying properly, you will need to setup at least the Google Drive API (Dropbox is optional).
Here are some tips on how to configure it:
- You will be calling the API using a Web application / Javascript
- You will require access to the user data
- The authorized javascript origin should be http://localhost:8000 if using the local dev server that is included with the app build script.
- The authorized URI should be http://localhost:8000/app.html if using the local dev server that is included with the app build script.
Once your application and credentials are created, you will need to get the Client ID from the credentials you created as well as the Drive App ID. So, if your Credentials Client ID is 362162162007-o0uhasgsdlte2s2or9cr265bg2bhvth1.apps.googleusercontent.com , your Drive App ID will be 362162162007 (the first part of the ID prior to the — ).
Then, open client/assets/js/VARS.js and configure it with your Google Drive infos:
WARNING: Unless you have the intention of setting up Dropbox, make sure you put a dummy key in the VARS.js file. Otherwise, the app won’t boot since this parameter will be missing.
Once you’ve setup the Drive integration, rebuild the application using afn-app.sh .
Should any issue arise in the app boot, make sure to look at the Javascript console for any error.
If you were brave enough to reach the end of the setup and are having issues setting it up, feel free to open an issue in this repository.
Name already in use
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Anyfile Notepad is a Google Drive compatible app that let’s you open any type of files on Google Drive and Dropbox.
This repository hosts the code that powers https://anyfile-notepad.semaan.ca/app and is composed of 3 services:
- First and foremost, the client code which encapsulates the application code
- Second, a webserver that serves the client code and encapsulates the paid subscriptions logic
- Third, an API (api.anyfile-notepad.semaan.ca) to serve the data that backs the application (syntaxes, extensions and mime types configuration)
- Fourth, a simple administrative interface to manage the three resources above (admin.anyfile-notepad.semaan.ca)
Building the client side app
NOTE: These instructions are made for Linux and were tested on Debian 8
First, install perl , cpan , gcc , curl and make from your distribution repository. Then install these packages from CPAN:
Assets package manager setup
Next, install npm .
Setting up the app dependencies
Then, clone the repo, and launch the install of the assets of the app.
Basic configuration and initial launch
After that, you need to setup the variables that are proper to your setup via client/assets/js/VARS.js.example (for now, the defaults should do it).
Then, launch the build script and ensure no error or warning shows.
The app will then be compiled into static pages and assets that can be served using any basic hosting service. These files will be in tmp/app-compiled/
Using the integrated development server
You can run the Golang webserver directly from the build script but you will need to have Golang and inotifywait installed. You will then be able to use the following command to serve the files locally and rebuild the app on changes in the client/ directory.
The application will then be available through http://localhost:8000 .
Setting up Google Drive for the app
Once you get the application displaying properly, you will need to setup at least the Google Drive API (Dropbox is optional).
Here are some tips on how to configure it:
- You will be calling the API using a Web application / Javascript
- You will require access to the user data
- The authorized javascript origin should be http://localhost:8000 if using the local dev server that is included with the app build script.
- The authorized URI should be http://localhost:8000/app.html if using the local dev server that is included with the app build script.
Once your application and credentials are created, you will need to get the Client ID from the credentials you created as well as the Drive App ID. So, if your Credentials Client ID is 362162162007-o0uhasgsdlte2s2or9cr265bg2bhvth1.apps.googleusercontent.com , your Drive App ID will be 362162162007 (the first part of the ID prior to the — ).
Then, open client/assets/js/VARS.js and configure it with your Google Drive infos:
WARNING: Unless you have the intention of setting up Dropbox, make sure you put a dummy key in the VARS.js file. Otherwise, the app won’t boot since this parameter will be missing.
Once you’ve setup the Drive integration, rebuild the application using afn-app.sh .
Should any issue arise in the app boot, make sure to look at the Javascript console for any error.
If you were brave enough to reach the end of the setup and are having issues setting it up, feel free to open an issue in this repository.
Anyfile Notepad
Отзыв 3
Anyfile Notepad is a text editor that lets you open any type of files on Google Drive and Dropbox.
Опубликовано сентября 29, 2022
Отличное программное обеспечение для облачного хранения с отличными функциями

Brian G . Garrett

Мне нравится его простота в использовании, а также его способность вносить изменения, когда это необходимо, не дожидаясь обновления от них! Это здорово, потому что я могу сохранять свои собственные версии, если это необходимо, или просто иметь резервные копии на случай, если что-то пойдет не так с их программой/веб-сайтом в какой-то момент в будущем (что случается). На самом деле ничего — пока все выглядит хорошо, но и ничего особенного — может быть, было бы неплохо иметь больше возможностей? Может быть, добавить еще и другие шрифты? Но, кроме этих вещей, в этом программном обеспечении нет ничего особенно отрицательного, кроме того, что он не может видеть все функции по умолчанию при первом открытии, к чему потребовалось некоторое время, чтобы привыкнуть, поскольку до этого они скрывали большинство функций за меню. Если вы хотите использовать облачные сервисы хранения, такие как Dropbox и т. д.,
julsemaan / anyfile-notepad Goto Github PK
#VERSION:002
#DURATION:0000023701
#HEADER:coff700922_Dev7249_2019-04-11-00-00-23
2019-04-11-00-00-23:25.1357747,121.5056786
a=20.198;b=52.900001525878906;c=fused
2019-04-11-00-09-22:25.1357747,121.5056786
a=20.198;b=52.900001525878906;c=fused
2019-04-11-00-12-00:25.1357747,121.5056786
a=20.198;b=52.900001525878906;c=fused
2019-04-11-00-22-00:25.1357569,121.5056654
a=22.746;b=52.900001525878906;c=fused
2019-04-11-00-30-33:25.1357724,121.5056799
a=22.923;b=52.900001525878906;c=fused
2019-04-11-00-32-33:25.1357724,121.5056799
a=22.923;b=52.900001525878906;c=fused
2019-04-11-00-43-00:25.1357701,121.5056902
a=22.413;b=52.900001525878906;c=fused
2019-04-11-00-51-00:25.135797,121.5056584
a=20.868;b=52.900001525878906;c=fused
2019-04-11-00-53-33:25.135797,121.5056584
a=20.868;b=52.900001525878906;c=fused
2019-04-11-01-04-02:25.1357936,121.5056559
a=22.379;b=52.900001525878906;c=fused
2019-04-11-01-11-18:25.1357936,121.5056559
a=22.379;b=52.900001525878906;c=fused
2019-04-11-01-14-33:25.1358056,121.5056522
a=17.686;b=52.900001525878906;c=fused
2019-04-11-01-26-00:25.1358056,121.5056522
a=17.686;b=52.900001525878906;c=fused
2019-04-11-01-33-08:25.1357694,121.5056846
a=26.759;b=52.900001525878906;c=fused
2019-04-11-01-37-41:25.1357707,121.5056766
a=24.462;b=52.900001525878906;c=fused
2019-04-11-01-44-00:25.1361487,121.5043465
a=500.0;b=0.0;c=fused
2019-04-11-01-44-00:25.1361487,121.5043465
a=500.0;b=0.0;c=fused
2019-04-11-01-44-37:25.1357722,121.5056852
a=22.65;b=52.900001525878906;c=fused
2019-04-11-01-45-17:25.1357736,121.5056696
a=22.314;b=52.900001525878906;c=fused
2019-04-11-01-45-54:25.1357847,121.5056629
a=23.583;b=52.900001525878906;c=fused
2019-04-11-01-46-33:25.1357853,121.5056674
a=23.986;b=52.900001525878906;c=fused
2019-04-11-01-47-10:25.1357849,121.5056682
a=17.951;b=52.900001525878906;c=fused
2019-04-11-01-47-47:25.1357861,121.505666
a=24.275;b=52.900001525878906;c=fused
2019-04-11-01-48-24:25.1357826,121.505668
a=22.223;b=52.900001525878906;c=fused
2019-04-11-01-49-02:25.1357746,121.5056794
a=22.291;b=52.900001525878906;c=fused
2019-04-11-01-49-39:25.1357707,121.5056847
a=22.494;b=52.900001525878906;c=fused
2019-04-11-01-50-16:25.1357787,121.5056672
a=22.514;b=52.900001525878906;c=fused
2019-04-11-01-50-53:25.1357757,121.5056771
a=24.275;b=52.900001525878906;c=fused
2019-04-11-01-51-30:25.1357703,121.5056861
a=22.517;b=52.900001525878906;c=fused
2019-04-11-01-52-07:25.135778,121.505665
a=23.994;b=52.900001525878906;c=fused
2019-04-11-01-52-44:25.1357719,121.5056835
a=22.585;b=52.900001525878906;c=fused
2019-04-11-01-53-21:25.135771,121.5056845
a=22.629;b=52.900001525878906;c=fused
2019-04-11-01-53-21:25.135771,121.5056845
a=22.629;b=52.900001525878906;c=fused
2019-04-11-01-54-00:25.1357715,121.5056852
a=22.67;b=52.900001525878906;c=fused
2019-04-11-02-05-10:25.1357732,121.5056929
a=22.574;b=52.900001525878906;c=fused
2019-04-11-02-14-15:25.1357717,121.5056854
a=22.681;b=52.900001525878906;c=fused
2019-04-11-02-17-00:25.1357711,121.5056862
a=22.699;b=52.900001525878906;c=fused
2019-04-11-02-27-00:25.1357716,121.5056871
a=22.79;b=52.900001525878906;c=fused
2019-04-11-02-34-34:25.1357712,121.5056849
a=22.569;b=52.900001525878906;c=fused
2019-04-11-02-38-01:25.1357736,121.5056805
a=24.457;b=52.900001525878906;c=fused
2019-04-11-02-49-56:25.1361487,121.5043465
a=500.0;b=0.0;c=fused
2019-04-11-03-33-35:25.1357717,121.5056839
a=22.096;b=52.900001525878906;c=fused
2019-04-11-03-33-35:25.1357717,121.5056839
a=22.096;b=52.900001525878906;c=fused
2019-04-11-03-45-01:25.1357827,121.5056739
a=23.804;b=52.900001525878906;c=fused
2019-04-11-03-57-08:25.1357875,121.5056668
a=23.539;b=52.900001525878906;c=fused
2019-04-11-03-57-08:25.1357875,121.5056668
a=23.539;b=52.900001525878906;c=fused
2019-04-11-04-07-44:25.1357809,121.5056659
a=23.765;b=52.900001525878906;c=fused
2019-04-11-04-21-13:25.1357853,121.5056634
a=23.297;b=52.900001525878906;c=fused
2019-04-11-04-21-13:25.1357853,121.5056634
a=23.297;b=52.900001525878906;c=fused
2019-04-11-04-34-21:25.1357839,121.5056663
a=24.423;b=52.900001525878906;c=fused
2019-04-11-04-43-07:25.1357839,121.5056663
a=24.423;b=52.900001525878906;c=fused
2019-04-11-04-49-04:25.1357839,121.5056663
a=24.423;b=52.900001525878906;c=fused
2019-04-11-05-23-38:25.1357839,121.5056663
a=24.423;b=52.900001525878906;c=fused
2019-04-11-05-23-38:25.1357839,121.5056663
a=24.423;b=52.900001525878906;c=fused
2019-04-11-05-45-58:25.1357837,121.5056736
a=22.371;b=52.900001525878906;c=fused
2019-04-11-05-45-58:25.1357837,121.5056736
a=22.371;b=52.900001525878906;c=fused
2019-04-11-05-57-52:25.1357837,121.5056736
a=22.371;b=52.900001525878906;c=fused
2019-04-11-06-08-57:25.1357837,121.5056736
a=22.371;b=52.900001525878906;c=fused
2019-04-11-06-08-57:25.1357837,121.5056736
a=22.371;b=52.900001525878906;c=fused
2019-04-11-06-26-14:25.1357837,121.5056736
a=22.371;b=52.900001525878906;c=fused
Anyfile Notepad leaves "Anyfile Notepad Files" directories in my Google Drive root directory
Anyfile Notepad leaves «Anyfile Notepad Files» directories in my Google Drive root directory. These directories are created when I open text files, one directory per each file. I presume these are some sort of «temp» directories. The problem is that they are created in the root directory of my Google drive and that they are not deleted after I close the edited files.