{"id":29239938,"url":"https://github.com/akash-nath29/flaskgen","last_synced_at":"2025-07-03T19:07:58.311Z","repository":{"id":261185275,"uuid":"883550490","full_name":"Akash-nath29/FlaskMason","owner":"Akash-nath29","description":"An CLI tool to generate Django like project structure in flask","archived":false,"fork":false,"pushed_at":"2024-11-06T16:59:20.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T19:52:58.063Z","etag":null,"topics":["cli","flask","tool"],"latest_commit_sha":null,"homepage":"https://flaskmason.vercel.app","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akash-nath29.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-11-05T06:54:37.000Z","updated_at":"2025-01-09T08:24:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c9aab05-905b-4480-9e08-d442850923ac","html_url":"https://github.com/Akash-nath29/FlaskMason","commit_stats":null,"previous_names":["akash-nath29/flaskgen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Akash-nath29/FlaskMason","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-nath29%2FFlaskMason","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-nath29%2FFlaskMason/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-nath29%2FFlaskMason/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-nath29%2FFlaskMason/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akash-nath29","download_url":"https://codeload.github.com/Akash-nath29/FlaskMason/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-nath29%2FFlaskMason/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263385761,"owners_count":23458745,"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","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":["cli","flask","tool"],"created_at":"2025-07-03T19:07:57.816Z","updated_at":"2025-07-03T19:07:58.289Z","avatar_url":"https://github.com/Akash-nath29.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FlaskMason\n\nFlaskMason is a command-line tool designed to quickly scaffold Flask applications with a Django-like project structure. It automates the creation of a boilerplate project with organized blueprints, configuration files, and other essential components, allowing developers to focus on building features instead of setting up their environment.\n\n## Features\n\n- **Django-like Folder Structure**: Automatically creates a structured layout for your Flask projects, including blueprints for authentication, admin, and more.\n- **Predefined Boilerplate Code**: Generates essential files with predefined content, reducing the need for repetitive setup.\n- **Easy Installation**: Installs all necessary dependencies with a single command.\n\n## Installation\n\nYou can install FlaskMason via pip. To install it along with its dependencies, run:\n\n```bash\npip install flaskmason\n```\n\n## Usage\n\nTo create a new Flask project, simply run:\n\n```bash\nflaskmason \u003cproject_name\u003e\n```\n\nThis command will generate a new directory called `\u003cproject_name\u003e` containing the following structure:\n\n```\n\u003cproject_name\u003e/\n├── app.py\n├── config.py\n├── requirements.txt\n├── .env\n├── blueprints/\n│   ├── __init__.py\n│   ├── auth/\n│   │   ├── __init__.py\n│   │   ├── views.py\n│   │   ├── models.py\n│   │   └── forms.py\n│   └── admin/\n│       ├── __init__.py\n│       ├── views.py\n│       ├── models.py\n│       └── forms.py\n├── static/\n└── templates/\n```\n\n### Example Commands\n\n1. **Create a new Flask project**:\n   ```bash\n   flaskmason my_flask_project\n   ```\n\n2. **Change directory into the new project**:\n   ```bash\n   cd my_flask_project\n   ```\n\n3. **Run the application**:\n   ```bash\n   python app.py\n   ```\n\n## File Descriptions\n\n- **app.py**: The main application file where the Flask app is created and configured.\n- **config.py**: Contains configuration settings for the application, such as database URI and secret keys.\n- **blueprints/**: Directory for organizing application features into blueprints, improving modularity and maintainability.\n- **static/**: Directory for static files (CSS, JavaScript, images).\n- **templates/**: Directory for HTML templates used in rendering views.\n\n## Contributing\n\nContributions are welcome! If you have suggestions or find bugs, please open an issue or submit a pull request.\n\n1. Fork the repository.\n2. Create your feature branch (`git checkout -b feature/YourFeature`).\n3. Commit your changes (`git commit -m 'Add some feature'`).\n4. Push to the branch (`git push origin feature/YourFeature`).\n5. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Author\n\n[Akash Nath](https://www.akashnath.me/)\n\n## Acknowledgements\n\n- Thanks to the Flask community for providing an excellent framework for web development.\n\n### Notes:\n- **Personalize the Author Section**: Update the author section with your name and any other relevant details, like your LinkedIn or personal website, if desired.\n- **Add More Details**: Feel free to expand on any sections, add more examples, or include additional features you plan to implement in the future.\n- **Contribution Guidelines**: You might want to include more specific contribution guidelines if you expect contributions from others. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakash-nath29%2Fflaskgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakash-nath29%2Fflaskgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakash-nath29%2Fflaskgen/lists"}