{"id":15966283,"url":"https://github.com/yamalight/litlytics","last_synced_at":"2025-04-06T18:17:35.265Z","repository":{"id":257813815,"uuid":"851147291","full_name":"yamalight/litlytics","owner":"yamalight","description":"🔥 LitLytics - an affordable, simple analytics platform that leverages LLMs to automate data analysis","archived":false,"fork":false,"pushed_at":"2024-11-25T10:44:12.000Z","size":2764,"stargazers_count":97,"open_issues_count":3,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T17:09:38.256Z","etag":null,"topics":["analytics","data-science","llm"],"latest_commit_sha":null,"homepage":"https://litlytics.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yamalight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-02T14:09:15.000Z","updated_at":"2025-03-15T21:50:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5ffaa01-ea75-4968-8a18-1df6eb0ec103","html_url":"https://github.com/yamalight/litlytics","commit_stats":null,"previous_names":["yamalight/litlytics"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamalight%2Flitlytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamalight%2Flitlytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamalight%2Flitlytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yamalight%2Flitlytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yamalight","download_url":"https://codeload.github.com/yamalight/litlytics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247526768,"owners_count":20953143,"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":["analytics","data-science","llm"],"created_at":"2024-10-07T18:01:24.083Z","updated_at":"2025-04-06T18:17:35.224Z","avatar_url":"https://github.com/yamalight.png","language":"TypeScript","funding_links":[],"categories":["\u003cimg src=\"./assets/satellite.svg\" width=\"16\" height=\"16\" style=\"vertical-align: middle;\"\u003e Satellites","TypeScript"],"sub_categories":[],"readme":"# LitLytics\n\n**LitLytics** is an affordable, simple analytics platform that leverages LLMs to automate data analysis.\nIt was designed to help teams without dedicated data scientists gain insights from their data.\n\n[Try Live Demo](https://litlytics.app)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://litlytics.app\" target=\"_blank\"\u003e\u003cimg src=\"./public/litlytics-screenshot.png\" alt=\"LitLytics screenshot\" width=\"400\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Key Features\n\n- **No Data Science Expertise Required:** LitLytics simplifies the entire analytics process, making it accessible to anyone.\n- **Automatic Pipeline Generation:** Describe your analytics task in plain language, and LitLytics will generate a custom pipeline for you.\n- **Customizable Pipelines:** You can review, update, or modify each step in the analytics pipeline to suit your specific needs.\n- **Cost-Efficient:** Leveraging modern LLMs allows LitLytics to keep the cost of processing data incredibly low — typically fractions of a cent per document.\n- **Scalable \u0026 Flexible:** Works with various data formats including CSV, PDF, and plain text.\n\nWatch [the demo video](https://youtu.be/GHXn0l5qcr0) for more detailed intro.\n\n## Running as a Docker container\n\nMake sure you have [Docker](https://www.docker.com/) installed.\n\nThen, start LitLytics from [image](https://github.com/yamalight/litlytics/pkgs/container/litlytics) by running following command:\n\n```bash\ndocker run -d -p 3000:3000 ghcr.io/yamalight/litlytics:latest\n```\n\nThis will launch the platform inside a docker container, and you will be able to interact with it in your browser: [http://localhost:3000](http://localhost:3000).\n\n## Running locally in development mode\n\nMake sure you have [Bun](https://bun.sh/) (\u003e=1.1.0) installed.\n\nClone this repository:\n\n```bash\ngit clone https://github.com/yamalight/litlytics.git\ncd litlytics\n```\n\nInstall dependencies:\n\n```bash\nbun install\n```\n\nAnd finally start the LitLytics platform:\n\n```bash\nbun run dev\n```\n\nThis will launch the platform, and you will be able to interact with it in your browser: [http://localhost:5173](http://localhost:5173).\n\n## Running pipelines via API\n\n`POST /api/execute` endpoint executes pipeline using given LLM provider and model.  \nThe body should be a JSON object with the following fields:\n\n- **provider**: The language model provider you wish to use.\n- **model** (`LLMModel`): The specific model to use, based on the selected provider.\n- **key** (`string`): The API key to authenticate with the specified provider.\n- **pipeline** (`Pipeline`): The configuration for the processing pipeline.\n\nExample request:\n\n```json\n{\n  \"provider\": \"openai\",\n  \"model\": \"gpt-4o-mini\",\n  \"key\": \"sk-your-api-key\",\n  \"pipeline\": {\n    // your pipeline configuration\n  }\n}\n```\n\nA response will include new pipeline config that includes results of the task execution.\n\n## Contributing\n\nContributions are welcome! If you’d like to contribute to LitLytics, please fork the repository and submit a pull request with your changes.\n\n1. Fork the repo\n2. Create your feature branch (`git checkout -b feature/YourFeature`)\n3. Commit your changes (`git commit -m 'Add YourFeature'`)\n4. Push to the branch (`git push origin feature/YourFeature`)\n5. Open a pull request\n\n## License\n\nThis project is [licensed](/LICENSE.md) under the **GNU Affero General Public License v3.0 (AGPL-3.0)**.\nThis license ensures that the software remains free and open, even when used as part of a network service. If you modify or distribute the project (including deploying it as a service), you must also make your changes available under the same license.\n\n### Commercial/Enterprise Licensing\n\nIf your use case requires a proprietary license (for example, you do not wish to open-source your modifications or need a more flexible licensing arrangement), we offer **commercial and enterprise licenses**. Please [contact us](mailto:tim@codezen.dev?subject=LitLytics%20License) to discuss licensing options tailored to your needs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyamalight%2Flitlytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyamalight%2Flitlytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyamalight%2Flitlytics/lists"}