Git Product home page Git Product logo

community-scripts's Introduction

community-scripts

This is a list of powershell, python, and batch scripts for use in TacticalRMM

See https://docs.tacticalrmm.com/contributing_community_scripts/ for best practices on committing.

scripts_wip folder

The /scripts_wip/ is a collection box for anything you want WIP=(Work In Progress). Jot ideas, not completed scripts, all commits welcome. Have some time and want to help with Tactical RMM? Discuss in the #script Discord channel and toss around ideas with other people and improve scripts from wip to official script quality.

scripts_staging folder

The /scripts_staging/ is a collection box for WIP scripts that are believed to be ready for official "Community Scripts" integration. Please test these scripts, and provide feedback on the quality of the script in the Discord #scripts channel.

scripts folder

The /scripts/ folder is the Official Community Script folder. Everything in here will be distributed with Tactical RMM during the install process.

Everything in this folder MUST have a corresponding and valid entry in the community_scripts.json which is used in TRMMs install and upgrade process to integrate these scripts into the Tactical RMM Script Manager > Community Scripts in all Tactical Installations.

Until v1 of Tactical RMM is released function changes on existing scripts is allowed, but not encouraged. Be aware there may be Tactical RMM installs in the field where you might be breaking someones scripts/tasks applied to their workstations. Work hard and try to add additional functionality/consolidate multiple scripts while preserving backwards functionality (or make a new version of the script).

Running tests locally

Setup the env and install pytest

python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Run tests

pytest

Develop using Docker

Download and install Task into your path (or current directory). Run task --list to list available tasks. Run task <task-name> --summary to generate a summary of the commands Task will run. Run task dev-python to develop Python scripts in Docker. Run task dev-powershell to develop PowerShell scripts in Docker.

Note: The --interactive flag was introduced in [Docker compose version v2.3.0][].

$ task --list
task: Available tasks for this project:
* dev-powershell:                   Use Docker compose for development of PowerShell scripts
* dev-python:                       Build and run Python in Docker to develop Python scripts
* dev-python-build:                 Build the Docker image to develop Python scripts
* dev-python-compose-run:           Use Docker compose for development of Python scripts

community-scripts's People

Contributors

bbrendon avatar bc24fl avatar bellenottelling avatar bionemesis avatar bradhawkins85 avatar clanto007 avatar convexserv avatar davidrudduck avatar derfladi avatar dinger1986 avatar ebdavison avatar iamkhris avatar itdonerightnc avatar jcpit avatar joeldeteves avatar meuchels avatar mrapoc avatar niceguyit avatar omnicef avatar redanthrax avatar rfost52 avatar sadnub avatar silversword411 avatar somzoli avatar spookoz avatar styx-tdo avatar tremor021 avatar twixwix avatar wh1te909 avatar yaroz avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.