{"id":29806755,"url":"https://github.com/raudius/files_scripts","last_synced_at":"2025-07-28T14:13:35.992Z","repository":{"id":40204101,"uuid":"488774579","full_name":"Raudius/files_scripts","owner":"Raudius","description":"Custom file actions app for Nextcloud ","archived":false,"fork":false,"pushed_at":"2025-07-23T02:36:02.000Z","size":3485,"stargazers_count":32,"open_issues_count":21,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-23T04:21:38.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Raudius.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-05-04T23:44:37.000Z","updated_at":"2025-07-23T02:36:06.000Z","dependencies_parsed_at":"2023-10-15T23:09:41.390Z","dependency_job_id":"dacb95e2-ec0d-4010-831f-7c2b4989bdcb","html_url":"https://github.com/Raudius/files_scripts","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/Raudius/files_scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raudius%2Ffiles_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raudius%2Ffiles_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raudius%2Ffiles_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raudius%2Ffiles_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raudius","download_url":"https://codeload.github.com/Raudius/files_scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raudius%2Ffiles_scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267528006,"owners_count":24102031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-28T14:13:32.802Z","updated_at":"2025-07-28T14:13:35.968Z","avatar_url":"https://github.com/Raudius.png","language":"PHP","funding_links":["https://liberapay.com/Raudius/donate"],"categories":[],"sub_categories":[],"readme":"The File Actions app is a scripting tool, which administrators can employ to automate workflows and to give users of the Nextcloud instance additional custom file actions. The actions are accessible straight from the Files app!\n\n**🌕** Scripting in Lua, it's simple and has plenty of online resources.  \n**⚡** Make hard tasks easy, straight from the Files app.   \n**🙋** Are you missing a function in the scripting API? Open an issue on Github!  \n**🤖** Integration with Nextcloud Flow allows you to fully automate workflows.\n\n![Screenshot of Files Scripts Version 1.0.0](https://raw.githubusercontent.com/Raudius/files_scripts/master/screenshots/1.png)\n\n\n## Installation \u0026 Configuration\n\n### Required:\n  * Nextcloud \u003e=23\n  * PHP \u003e=7.4\n\n### Recommended:\nThe app includes a Lua interpreter which runs on PHP. This interpreter is still [under development](https://github.com/Raudius/Luar) and its use is **not** recommended. For a faster and more reliable solution, install the Lua PHP extension.\n\n* Lua + PHP Lua plugin\n```shell\nsudo apt-get install lua5.3\nsudo apt-get install liblua5.3-0\nsudo apt-get install liblua5.3-dev\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eLua plugin for PHP 7\u003c/summary\u003e\n\n```shell\nsudo apt-get install php-pear\nsudo apt-get install php7-dev\n\nsudo cp /usr/include/lua5.3/lua.h /usr/include\nsudo ln -s /usr/include/lua5.3/ /usr/include/lua\nsudo cp /usr/lib/x86_64-linux-gnu/liblua5.3.a /usr/lib/liblua.a\nsudo cp /usr/lib/x86_64-linux-gnu/liblua5.3.so /usr/lib/liblua.so\n\nsudo pecl install lua-2.0.7\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eLua plugin for PHP 8\u003c/summary\u003e\nSince the Lua plugin is not yet officially supported for PHP8, we need to build it.\n\n```shell\nsudo apt-get install php-pear\nsudo apt-get install php-dev\n\ncd ~\ngit clone https://github.com/badoo/php-lua.git\ncd php-lua\nphpize \u0026\u0026 ./configure --with-lua-version=5.3\nmake\n\n# The destination path may change depending on your PHP version\n# You can find your extension directory by using:\n# php -i | grep extension_dir\nsudo cp ./.libs/lua.so /usr/lib/php/20200930/\n```\n\n\u003c/details\u003e\n\n\nDon't forget to append `extension=lua.so` to your `php.ini`!\n\n### Optional:\n\n\u003cdetails\u003e\n\u003csummary\u003eSome functions require additional packages to be installed on the server.\u003c/summary\u003e\n\n* QPDF \u003e=9.1.1 (needed for [PDF functions](docs/Functions.md#Pdf))\n```shell\nsudo apt-get install qpdf\n```\n\n* FFmpeg (needed for [FFmpeg](docs/Functions.md#ffmpeg) and [FFprobe](docs/Functions.md#ffprobe))\n```shell\nsudo apt install ffmpeg\n```\n\n\u003c/details\u003e\n\n## Documentation\n\nThe [admin documentation](docs/Admin.md) contains information about how to create new actions and some precautions that should be taken when writing one.\n\nThe [scripting API documentation](https://github.com/Raudius/files_scripts/blob/master/docs/Functions.md) contains descriptions for all the API functions as well as some snippets of how they can be used.\n\n## Contributing\n\nContributions to the app are most welcome!\n  * 🌍 **Translations**  \nThe app can be translated through the [Nextcloud community](https://www.transifex.com/nextcloud/nextcloud/content/) in Transifex\n  * 🛠 **Scripting API**  \nIf there is something you need that is currently not possible (or complex) to do with scripting API, please open a GitHub issue, or even better, a pull request! \n  * 📃 **Documentation**  \nThe app and API are constantly evolving and the documentation can always be improved. If you have any suggestions or improvements, please do help out!\n  * 💸 **Donations**  \nLast and least, you can donate your hard-earned cash with [Liberapay](https://liberapay.com/Raudius/donate).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraudius%2Ffiles_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraudius%2Ffiles_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraudius%2Ffiles_scripts/lists"}