Go to file
2023-12-22 00:41:41 +01:00
.gitignore Initial commit 2023-12-22 00:32:45 +01:00
index.html Initial Commit 2023-12-22 00:37:25 +01:00
main.py Initial Commit 2023-12-22 00:37:25 +01:00
README.md First Version 2023-12-22 00:41:41 +01:00

Flask YAML Editor

Flask YAML Editor is a web application that provides an interface for reading and updating YAML file content. This application is built using Flask and serves an HTML page that interacts with the Flask backend to manage YAML data.

Features

  • Read YAML Data: View the contents of a YAML file in a web interface.
  • Update YAML Data: Edit and save changes to the YAML file directly from the web interface.
  • Simple and Responsive UI: Built with HTML, CSS, and minimal JavaScript for a clean user experience.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Python 3
  • Flask
  • PyYAML

You can install Flask and PyYAML using pip:

pip install Flask PyYAML

Installing

  1. Clone the repository to your local machine:

    git clone https://your-repository-url.git
    
  2. Navigate to the cloned directory:

    cd flask-yaml-editor
    
  3. Start the Flask server:

    python app.py
    

    Replace app.py with the name of your main Python script.

  4. Open your web browser and go to http://localhost:5000.

Usage

  • View YAML Data: The text area displays the current content of the YAML file.
  • Edit YAML Data: Make changes in the text area and click the 'Save Data' button to update the file.
  • Reload Data: Click the 'Reload Data' button to refresh the content from the YAML file.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

  • Isaak Buslovich - Initial work

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc