GithubHelp home page GithubHelp logo

davidinfosec / remote-json-editor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8 KB

Remotely adds or remove sections for my ReportName.com project JSON data; feel free to customize to your needs.

Python 100.00%

remote-json-editor's Introduction

Remote JSON Editor

The Remote JSON Editor is a Python script that allows users to remotely edit a JSON file hosted on an FTP server. With this tool, users can add, remove, or list tools within different sections of the JSON file using a command-line interface.

ShareX_o1sHQIqOfX ShareX_MmU6ExHzBl

Features

  • Add Tool: Users can add a new tool to the JSON file by specifying the section name, tool name, URL, description, and whether to open the URL in a new tab.
  • Remove Tool: Users can remove a tool from the JSON file by specifying the section name and the tool name to be removed. If the removal of a tool results in an empty section, that section will be automatically removed from the JSON file.
  • List Tools: Users can list the names of all tools within the JSON file grouped by their respective sections.
  • User-Friendly Interface: The script provides a simple and intuitive command-line interface for interacting with the JSON file.

How to Use

  1. Clone the repository to your local machine.
  2. Update the FTP server credentials and JSON file path in the creds.yaml file to match your setup.
  3. Run the script using Python: python remotejson.py.
  4. Follow the on-screen instructions to add, remove, or list tools within the JSON file.

Requirements

  • Python 3.x
  • ftplib (Python FTP library)

License

This project is licensed under the MIT License. See the LICENSE file for details.

remote-json-editor's People

Contributors

davidinfosec avatar

Watchers

 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.