gislack is a CLI tool to submit files to both Gist and Slack. v1.0.4 (February 27, 2021) I noticed that this application uses the duplicated methods of Slack API. Ref By this, the duplicated methods were updated to the new methods as follows. From “channels.list” to “conversations.list”. From “channels.history” to “conversations.history”. Please check it out. https://github.com/tanaikech/gislack
goris is a CLI tool to search for images with Google Reverse Image Search. Today, it was updated to v2.0.0. Please check it out. https://github.com/tanaikech/goris v2.0.0 (April 23, 2020) The specification for running the reverse image search was changed at Google side. By this, this application was also changed.
v1.7.4 (March 11, 2020) Recently, I noticed that new Google Apps Script project of the standalone script type cannot be created by the create method of Drive API. From now, in order to create the standalone Google Apps Script project, only Google Apps Script API is required to be used. Ref By this, I updated ggsrun. So the command for creating new GAS project is not changed.
v1.2.6 (February 23, 2020) When the files are downloaded from the shared folder, if an error occurs, the download was stopped. In this thread, a request for skipping this error was proposed. This request was implemented at v1.2.6. Please try the option of --skiperror like below. $ goodls -u https://drive.google.com/drive/folders/###?usp=sharing --skiperror **The detail information and how to get this are https://github.
v1.2.5 (January 29, 2020) An option for selecting whether the top directory is created was added. $ goodls -u [URL] --notcreatetopdirectory or $ goodls -u [URL] -ntd When this option is NOT used (default situation), when a folder including sub-folders is downloaded, the top folder which is downloaded is created as the top directory under the working directory. When this option is used, the top directory is not created and all files and sub-folders under the top folder are downloaded under the working directory.
I knew that the specification of github.com/urfave/cli had been changed by the update of https://github.com/urfave/cli. By this, when the CLI created by golang is installed with go get, an error occurred. So this error was removed. The updated CLI tools are as follows. goodls ggsrun ggsrun gistwatcher goris gorearrange gislack gogauth
v1.2.3 (October 31, 2019) An option for inputting the directory to save the downloaded files was added. $ goodls -u [URL] -d [directory] **The detail information and how to get this are https://github.
gonetatmo was updated to v.1.0.1 v1.0.1 (August 2, 2019) A bug was removed. When the outer module is not active, an error occurred. In this version, this bug was removed. You can check gonetatmo at https://github.com/tanaikech/gonetatmo.
Overview This is a CLI tool for retrieving the number of comments, stars and forks of Gists. Demo In this demonstration, a Gist is retrieved by an URL. You can see that the number of comments, stars and forks can be retrieved. **The detail information and how to get this are https://github.
ggsrun was updated to v.1.7.1 v1.7.1 (December 30, 2018) A bug was removed. When a project is downloaded and zipped, there was a case that “createdTime” and “modifiedTime” of the project cannot be retrieved by Apps Script API. This was modified. You can check ggsrun at https://github.com/tanaikech/ggsrun.
ggsrun was updated to v.1.7.0 v1.7.0 (December 27, 2018) Manage permissions of files. Get Drive Information. By this, you can know the storage quotas. ggsrun got to be able to be used by not only OAuth2, but also Service Account. By this, using ggsrun, Google Drive for Service Account got to be able to be managed. Some modifications. You can check ggsrun at https://github.com/tanaikech/ggsrun.
v1.2.2 (December 12, 2018) When files are downloaded from a specific folder, it got to be able to select mimeType. By this, files with the specific mimeType in the specific folder can be retrieved. For this, I updated the go library go-getfilelist. $ goodls -u [URL] -key [APIkey] -m "application/pdf,image/png" **The detail information and how to get this are https://github.
ggsrun was updated to v.1.6.0 v1.6.0 (November 30, 2018) Although at ggsrun, files can be searched by filename and file ID, searching files using search query and regex couldn't be done. From version 1.6.0, files got to be able to be searched using the search query and regex. $ ggsrun sf -q "### search query ###" -f "### fields ###" -r "### regex ###" Some modifications.
v1.2.1 (November 25, 2018) API key got to be able to be used by an environment variable. When GOODLS_APIKEY as the environment variable is set API key, goodls uses API key from the environment variable. **The detail information and how to get this are https://github.
v1.2.0 (November 24, 2018) By using API key, the shared large files can be run the resumable download. This demonstration can be seen at Demo. **The detail information and how to get this are https://github.
goodls was updated to v.1.1.1 v1.1.1 (November 13, 2018) Version of go-getfilelist was updated. Because the structure of drive.File got to be able to be used, I also updated this application. **The detail information and how to get this are https://github.
ggsrun was updated to v.1.5.2 v1.5.2 (November 4, 2018) About downloading folders, when files are downloaded from a folder, you can download Google Docs files with the mimeType you want. For example, when you download files from the folder, if -e txt is used, Google Docs are downloaded as the text file. When -e pdf is used, they are downloaded as the PDF file. Of course, there are mimeType which cannot be converted.
goodls was updated to v.1.1.0 v1.1.0 (November 4, 2018) By using API key, files from the shared folder got to be able to be downloaded while keeping the folder structure. This demonstration can be seen at Demo. By using API key, the information of shared file and folder can be also retrieved. About the option of --extension and -e, when -e ms is used, Google Docs (Document, Spreadsheet, Slides) are converted to Microsoft Docs (Word, Excel, Powerpoint), respectively.
ggsrun was updated to v.1.5.1 v1.5.1 (November 2, 2018) Removed a bug. When a file information was retrieved, createdTime and modifiedTime couldn't be seen and the information was incomplete. You can check ggsrun at https://github.com/tanaikech/ggsrun.
ggsrun was updated to v.1.5.0 v1.5.0 (October 27, 2018) From this version, ggsrun got to be able to download all files and folders in the specific folder in Google Drive. When all files are downloaded from a folder, the same folder structure of Google Drive is created to the local PC. $ ggsrun d -f folderName or folderId When the project file is downloaded, it is downloaded as a zip file.
goodls was updated to v.1.0.3 v1.0.3 (September 4, 2018) When the files are downloaded, the progress of downloading got to be able to be displayed. This scene can be seen at this demonstration video. If the new option of --np is used, the progress is not displayed. **The detail information and how to get this are https://github.
goodls was updated to v.1.0.2 v1.0.2 (May 10, 2018) Files with large size has gotten to be able to be used. In order to download files with large size (several gigabytes), files are saved by chunks. **The detail information and how to get this are https://github.
Overview This is a CLI tool to retrieve data from a personal weather station of Netatmo. Description I have a personal weather station of Netatmo. I check the data of my local environment using it. In most case, I have used my browser to retrieve the data so far. About retrieving data using curl, I have created it before. Recently, I thought that I wanted to create this as a CLI too.
ggsrun was updated to v.1.4.1 v1.4.1 (February 9, 2018) For uploading, the resumable-upload method was added. The resumable-upload method is automatically used by the size of file. “multipart/form-data” can upload files with the size less than 5 MB. “resumable-upload” can upload files with the size more than 5 MB. The chunk for resumable-upload is 100 MB as the default. Users can also give this chunk size using an option.
ggsrun was updated to v.1.4.0 v1.4.0 (January 25, 2018) Google Apps Script API was finally released. From this version, ggsrun uses this API. So ggsrun got to be able to use not only projects of standalone script type, but also projects of container-bound script type. I hope this updated ggsrun will be useful for you. To users which are using ggsrun with v1.3.4 and/or less. For retrieving, downloading, creating and updating projects, Apps Script API is used.
goodls was updated to v.1.0.1 v1.0.1 (January 11, 2018) In order to download several files, a datafile including URLs using Standard Input and Pipe have gotten to be able to be inputted. **The detail information and how to get this are https://github.
Overview This is a CLI tool to download shared files from Google Drive. Description We have already known that the shared files on Google Drive can be downloaded without the authorization. But when the size of file becomes large (about 40MB), it requires a little ingenuity to download the file. It requires to access 2 times to Google Drive. At 1st access, it retrieves a cookie and a code for downloading.
ggsrun was updated to v.1.3.4 v1.3.4 (January 2, 2018) Added new option for downloading ‘bound-scripts’ of Google Sheets, Docs, or Forms file. When the bound-scripts are downloaded, the project name cannot be retrieved because Drive API cannot be used for the bound-scripts. So when the bound-scripts are downloaded, the project ID had been used previously. Such filename is not easily to be seen. By this additional option, users can give the filename when it downloads the bound-scripts.
It was found that you can also create new project with your original Manifests using ggsrun. By using this, for example, when you created new project, the project can have libraries, Advanced Google Services and so on at the initial stage. I think that this can be used as a template for Project. $ ggsrun u -pn [Project name] -f appsscript.json https://github.com/tanaikech/ggsrun/blob/master/help/README.md#ModifyManifests **You can check this and download ggsrun at https://github.
ggsrun was updated to v.1.3.3 v1.3.3 (October 30, 2017) At October 24, 2017, “Manifests” which is new function for controlling the properties of Google Apps Script was added (GAS). You can see the detail of “Manifests” here. In order to modify the manifests from local PC, I added this new function to ggsrun. By using this, you can edit the manifests and update it from your local PC.
ggsrun was updated to v.1.3.2 v1.3.2 (October 20, 2017) Updated ggsrun's Install manual (README.md). Since I thought that the manual became too complicated, I separated it to the simple version and the detail version. And also , recently, since Google's specification was updated, about how to deploy API executable and enable APIs for ggsrun's Install manual were updated. From this version, scripts in a project can be rearranged.
go-rearrange and gorearrange were updated to v.1.0.2 From this version, data included multi-bytes characters can be used. At Linux, it works fine. At Windows DOS, rearranging and selecting data can be done. But the displayed data is shifted. Although this may be a bug of termbox-go, I don't know the reason. I'm sorry. On the other hand, data with only single-byte characters works fine. About MAC, I don't have it. If someone can confirm and tell me it, I'm glad.
go-rearrange and gorearrange were updated to v.1.0.1 As one of outputs, indexmode (bool) was added. If this is true, the rearranged result is output as the change of index for the source data. For example, if the source data and rearranged data are ["a", "b", "c"] and ["c", "b", "a"], respectively. The output will become [2, 1, 0]. By this, the specification for creating applications will expand. **The detail information and how to get this are https://github.
Overview This is a CLI tool to interactively rearrange a text data on a terminal. Description Since I couldn't find CLI tools for manually rearranging text data, I created this CLI tool. For this, at first, I created a Golang library go-rearrange. **The detail information and how to get this are https://github.
ggsrun was updated to v.1.3.1 Recently, when scripts on local PC is uploaded to Google Drive as a new project, the time to create on Google became a bit long. (I think that this is due to Google Update.) Under this situation, when the script is uploaded, the timeout error occurs while the new project is created using the script. So the time until timeout of fetch was modified from 10 seconds to 30 seconds.
ggsrun was updated to v.1.3.0 From this version, container-bound scripts can be downloaded. The container-bound script is the script created at the script editor on Google Sheets, Docs, or Forms file. In order to download container-bound scripts, the project ID of container-bound scripts is required. The project ID can be retrieved as follows. Open the project. And please operate follows using click. -> File -> Project properties -> Get Script ID (This is the project ID.
ggsrun was updated to v.1.2.2 For Google Docs (spreadsheet, document, slide and drawing), since I noticed that the revision files would not be able to be retrieved using Drive API v3, I modified this using new workaround. The new workaround is to use Drive API v2. drive.revisions.get of Drive API v2 can retrieve not only the revision list, but also the export links. I thought of the use of the export links.
gislack is a CLI tool to submit files to both Gist and Slack. v1.0.1 (June 30, 2017) Some modifications related to error handling. Please check it out. https://github.com/tanaikech/gislack
Overview This is a CLI tool to submit files to both Gist and Slack. Description When I discuss about developing scripts, I often use Slack. When I submitted a script to Slack, I had saved the script to Gist as a backup. I had done manually this on my browser. Namely, I wanted to be saving the revision of script while I'm discussing about the script at Slack. Recently, I wished this process had been able to be automatically run.
goris is a CLI tool to search for images with Google Reverse Image Search. Today, it was updated to v1.1.0. Please check it out. https://github.com/tanaikech/goris When images are matched to a searched image, web pages with matching images are retrieved. These are web pages displayed on Google top page. When this is not used, images are retrieved. This was added as a boolean option. (This was added by a request.)
ggsrun was updated to v.1.2.1 Configuration file (ggsrun.cfg) became to be able to be read using the environment variable. You can check this at here.
ggsrun was updated to v.1.2.0 Added a command for retrieving revision files on Google Drive. Some modifications. You can check this at here.
goris is a CLI tool to search for images with Google Reverse Image Search. Today, it was updated to v1.0.1. Please check it out. https://github.com/tanaikech/goris When number of retrieved URLs is smaller than number of default output, an error had occurred. This was fixed.
gogauth is a CLI tool to easily retrieve access token for using APIs on Google. I thought that if the access token can easily retrieve, it may be useful for users who can use various convenience Google APIs. So I created this. Also this can be used for testing sample script like the demo. If this will be helpful for you, I'm glad. Today, it was updated to v2.0.1. Please check it out.
Updated ggsrun to v.1.1.0 Added a command for updating existing project on Google Drive. One of scripts in the project can be also updated. https://github.com/tanaikech/ggsrun
Overview This is a CLI tool to search for images with Google Reverse Image Search. Motivation Because I had wanted to search for images with an image URL and file on my terminal, I created this. This can download images from searched image URLs. **The detail information and how to get this are https://github.
gogauth is a CLI tool to retrieve easily access token for using APIs on Google. Today, it was updated with big changes. Please check it out. https://github.com/tanaikech/gogauth
Released a CLI tool for easily retrieving accesstoken from Google OAuth2. The title is gogauth. When I have seen stackoverflow, I knew that it is difficult to retrieve accesstoken from Google OAuth2. So I made this. Features of this CLI tool are as follows. Retrieves easily accesstoken from Google OAuth2 for using Drive API. If you have PhantomeJS, this retrieves “code” from Google using it. So you don't need to launch your browser for retrieving “code”.