{"id":18245876,"url":"https://github.com/superhexa/hexgraph","last_synced_at":"2025-04-11T17:11:00.573Z","repository":{"id":256279267,"uuid":"854788214","full_name":"superhexa/hexgraph","owner":"superhexa","description":"A simple Telegraph clone with new features, allowing article publishing and management.","archived":false,"fork":false,"pushed_at":"2025-02-06T09:59:51.000Z","size":25,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T13:04:25.639Z","etag":null,"topics":["article-editor","articles","telegraph"],"latest_commit_sha":null,"homepage":"https://graph.pvfd.online","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/superhexa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09-09T19:23:58.000Z","updated_at":"2025-03-17T14:53:13.000Z","dependencies_parsed_at":"2024-11-05T09:27:11.756Z","dependency_job_id":"ad1093f9-22aa-4d13-b6dd-5388874214f7","html_url":"https://github.com/superhexa/hexgraph","commit_stats":null,"previous_names":["superhexa/hexgraph"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superhexa%2Fhexgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superhexa%2Fhexgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superhexa%2Fhexgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superhexa%2Fhexgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/superhexa","download_url":"https://codeload.github.com/superhexa/hexgraph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248447557,"owners_count":21105137,"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":["article-editor","articles","telegraph"],"created_at":"2024-11-05T09:23:21.350Z","updated_at":"2025-04-11T17:11:00.567Z","avatar_url":"https://github.com/superhexa.png","language":"CSS","readme":"![Screenshot from 2024-09-09 14-34-47](https://github.com/user-attachments/assets/43c7a319-846d-4c2e-a320-e3fec6b014ed)\n\n\n# Hexgraph\n\nHexgraph is a simple web application built with Flask and Quill. It allows users to create and view posts with rich text formatting. This application uses a lightweight database client to store posts and provides a clean, modern user interface for interacting with the posts.\n\n## Features\n\n- **Create Posts:** Users can create new posts with a title and rich text content using the Quill editor.\n- **View Posts:** Users can view individual posts with their title and formatted content.\n- **Responsive Design:** The application is designed to be user-friendly and responsive.\n\n## Technologies Used\n\n- **Flask:** A lightweight WSGI web application framework for Python.\n- **Quill:** A modern WYSIWYG editor built for the web.\n- **FlashSQL:** A lightweight database for storing post data.\n- **HTML/CSS:** For building the web pages and styling them.\n\n## Getting Started\n\nTo get Hexgraph up and running on your local machine, follow these steps:\n\n### Prerequisites\n\n- **Python**: Make sure you have Python installed. You can download it from [python.org](https://www.python.org/).\n- **pip**: Python's package installer.\n\n### Installation\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/superhexa/hexgraph.git\n   cd hexgraph\n   ```\n\n2. **Create a Virtual Environment**\n\n   ```bash\n   python -m venv venv\n   ```\n\n3. **Activate the Virtual Environment**\n\n   - On Windows:\n     ```bash\n     venv\\Scripts\\activate\n     ```\n   - On macOS/Linux:\n     ```bash\n     source venv/bin/activate\n     ```\n\n4. **Install Dependencies**\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n5. **Run the Application**\n\n   ```bash\n   python app.py\n   ```\n\n   The application will start and be available at `http://127.0.0.1:1020`.\n\n### Run via Docker\n\nIf you prefer to run Hexgraph via Docker, follow these steps:\n\n1. **Build the Docker Image**\n\n   ```bash\n   docker build -t hexgraph .\n   ```\n\n2. **Run the Docker Container**\n\n   ```bash\n   docker run -p 1020:1020 hexgraph\n   ```\n\n   The application will be available at `http://127.0.0.1:1020` in your browser.\n\n### Usage\n\n1. **Access the Application**\n\n   Open a web browser and navigate to `http://127.0.0.1:1020` to view the application.\n\n2. **Create a Post**\n\n   - Enter a title for the post in the \"Post Title\" field.\n   - Use the Quill editor to write the content of the post.\n   - Click \"Create Post\" to submit the form. You will be redirected to the post's view page.\n\n3. **View a Post**\n\n   - After creating a post, you'll be automatically redirected to the post's page.\n   - You can also view posts by navigating to `http://127.0.0.1:1020/post/\u003cpost_id\u003e`, replacing `\u003cpost_id\u003e` with the actual ID of the post.\n\n## Live preview\n\n- https://graph.pvfd.online\n\n## Contributing\n\nFeel free to submit issues, fork the repository, and create pull requests. All contributions are welcome!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperhexa%2Fhexgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuperhexa%2Fhexgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperhexa%2Fhexgraph/lists"}