{"id":29315213,"url":"https://github.com/py-lama/weblama","last_synced_at":"2026-04-13T21:32:19.498Z","repository":{"id":294695386,"uuid":"987789401","full_name":"py-lama/weblama","owner":"py-lama","description":"A web-based Markdown editor with syntax highlighting, Mermaid diagram support, automatic Python code execution and fixing, and Git integration.","archived":false,"fork":false,"pushed_at":"2025-05-31T21:24:59.000Z","size":578,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T01:58:13.086Z","etag":null,"topics":["instance","llama","llm","local","ollama","python","web"],"latest_commit_sha":null,"homepage":"https://py-lama.github.io/weblama/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/py-lama.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,"zenodo":null}},"created_at":"2025-05-21T15:31:25.000Z","updated_at":"2025-06-12T13:14:32.000Z","dependencies_parsed_at":"2025-05-21T16:46:59.321Z","dependency_job_id":"cd8c2f8f-a591-4dfa-a2b1-c6bad3586c9c","html_url":"https://github.com/py-lama/weblama","commit_stats":null,"previous_names":["py-lama/weblama"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/py-lama/weblama","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-lama%2Fweblama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-lama%2Fweblama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-lama%2Fweblama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-lama%2Fweblama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/py-lama","download_url":"https://codeload.github.com/py-lama/weblama/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-lama%2Fweblama/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31771824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["instance","llama","llm","local","ollama","python","web"],"created_at":"2025-07-07T11:20:21.516Z","updated_at":"2026-04-13T21:32:19.474Z","avatar_url":"https://github.com/py-lama.png","language":"JavaScript","funding_links":["https://github.com/sponsors/tom-sapletta-com","https://opencollective.com/tom-sapletta-com","https://www.paypal.me/softreck/10.00"],"categories":[],"sub_categories":[],"readme":"# WebLama\n\n## PyLama Ecosystem Navigation\n\n| Project | Description | Links |\n|---------|-------------|-------|\n| **WebLama** | Web application generation | [GitHub](https://github.com/py-lama/weblama) · [Docs](https://py-lama.github.io/weblama/) |\n| **GetLLM** | LLM model management and code generation | [GitHub](https://github.com/py-lama/getllm) · [PyPI](https://pypi.org/project/getllm/) · [Docs](https://py-lama.github.io/getllm/) |\n| **DevLama** | Python code generation with Ollama | [GitHub](https://github.com/py-lama/devlama) · [Docs](https://py-lama.github.io/devlama/) |\n| **LogLama** | Centralized logging and environment management | [GitHub](https://github.com/py-lama/loglama) · [PyPI](https://pypi.org/project/loglama/) · [Docs](https://py-lama.github.io/loglama/) |\n| **APILama** | API service for code generation | [GitHub](https://github.com/py-lama/apilama) · [Docs](https://py-lama.github.io/apilama/) |\n| **BEXY** | Sandbox for executing generated code | [GitHub](https://github.com/py-lama/bexy) · [Docs](https://py-lama.github.io/bexy/) |\n| **JSLama** | JavaScript code generation | [GitHub](https://github.com/py-lama/jslama) · [NPM](https://www.npmjs.com/package/jslama) · [Docs](https://py-lama.github.io/jslama/) |\n| **JSBox** | JavaScript sandbox for executing code | [GitHub](https://github.com/py-lama/jsbox) · [NPM](https://www.npmjs.com/package/jsbox) · [Docs](https://py-lama.github.io/jsbox/) |\n| **SheLLama** | Shell command generation | [GitHub](https://github.com/py-lama/shellama) · [PyPI](https://pypi.org/project/shellama/) · [Docs](https://py-lama.github.io/shellama/) |\n\n## Author\n\n**Tom Sapletta** — DevOps Engineer \u0026 Systems Architect\n\n- 💻 15+ years in DevOps, Software Development, and Systems Architecture\n- 🏢 Founder \u0026 CEO at Telemonit (Portigen - edge computing power solutions)\n- 🌍 Based in Germany | Open to remote collaboration\n- 📚 Passionate about edge computing, hypermodularization, and automated SDLC\n\n[![GitHub](https://img.shields.io/badge/GitHub-181717?logo=github\u0026logoColor=white)](https://github.com/tom-sapletta-com)\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?logo=linkedin\u0026logoColor=white)](https://linkedin.com/in/tom-sapletta-com)\n[![ORCID](https://img.shields.io/badge/ORCID-A6CE39?logo=orcid\u0026logoColor=white)](https://orcid.org/0009-0000-6327-2810)\n[![Portfolio](https://img.shields.io/badge/Portfolio-000000?style=flat\u0026logo=about.me\u0026logoColor=white)](https://www.digitname.com/)\n\n## Support This Project\n\nIf you find this project useful, please consider supporting it:\n\n- [GitHub Sponsors](https://github.com/sponsors/tom-sapletta-com)\n- [Open Collective](https://opencollective.com/tom-sapletta-com)\n- [PayPal](https://www.paypal.me/softreck/10.00)\n- [Donate via Softreck](https://donate.softreck.dev)\n\n---\n\nA web frontend for the PyLama ecosystem that provides a user interface for interacting with the various PyLama services. WebLama integrates with LogLama as the primary service for centralized logging, environment management, and service orchestration.\n\n## Installation\n\n```bash\n# Create a virtual environment\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n\n# Install the package in development mode\npip install -e .  # This is important! Always install in development mode before starting\n```\n\n\u003e **IMPORTANT**: Always run `pip install -e .` before starting the project to ensure all dependencies are properly installed and the package is available in development mode.\n\n## Building and Running the Docker Container\n\nTo build the Docker image, run the following command from the project directory:\n\n```bash\ndocker build -t weblama .\n```\n\nTo run the container, mapping port 8084 on the host to port 80 in the container:\n\n```bash\ndocker run -p 8084:80 weblama\n```\n\nOnce the container is running, you can access the application at [http://localhost:8084](http://localhost:8084)\n\n## Project Structure\n\n- `server.js` - The main Node.js application file\n- `package.json` - Node.js dependencies and project configuration\n- `public/index.html` - The HTML file served by the application\n- `Dockerfile` - Instructions for building the Docker image\n\n## LogLama Integration\n\nWebLama integrates with LogLama as the primary service in the PyLama ecosystem. This integration provides:\n\n- **Centralized Environment Management**: Environment variables are loaded from the central `.env` file in the `devlama` directory\n- **Dependency Management**: Dependencies are validated and installed by LogLama\n- **Service Orchestration**: WebLama is started after all backend services by LogLama\n- **Centralized Logging**: All WebLama operations are logged to the central LogLama system\n- **Structured Logging**: Logs include component context for better filtering and analysis\n- **Health Monitoring**: LogLama monitors WebLama service health and availability\n\n## Using the Makefile\n\nWebLama includes a Makefile to simplify common development tasks:\n\n```bash\n# Set up the project (creates a virtual environment and installs dependencies)\nmake setup\n\n# Run the web server (default port 8081)\nmake web\n\n# Run the web server on a custom port\nmake web PORT=8080\n\n# Run tests\nmake test\n\n# Clean up project (remove __pycache__, etc.)\nmake clean\n\n# Show all available commands\nmake help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy-lama%2Fweblama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpy-lama%2Fweblama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy-lama%2Fweblama/lists"}