| .gitignore | ||
| index.html | ||
| LICENSE.md | ||
| main.py | ||
| README.md | ||
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
-
Clone the repository to your local machine:
git clone https://your-repository-url.git -
Navigate to the cloned directory:
cd flask-yaml-editor -
Start the Flask server:
python app.pyReplace
app.pywith the name of your main Python script. -
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