{"id":19380381,"url":"https://github.com/margostino/babel-cli","last_synced_at":"2025-02-24T16:43:41.658Z","repository":{"id":192141241,"uuid":"686148842","full_name":"margostino/babel-cli","owner":"margostino","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-18T16:36:15.000Z","size":9239,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T06:16:42.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/margostino.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":"2023-09-01T21:46:55.000Z","updated_at":"2024-12-18T16:36:20.000Z","dependencies_parsed_at":"2024-11-28T14:31:09.478Z","dependency_job_id":"1b8a1de9-4b1f-41bb-8550-d84ae497424c","html_url":"https://github.com/margostino/babel-cli","commit_stats":null,"previous_names":["margostino/babel-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margostino%2Fbabel-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margostino%2Fbabel-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margostino%2Fbabel-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margostino%2Fbabel-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/margostino","download_url":"https://codeload.github.com/margostino/babel-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240517096,"owners_count":19814138,"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":[],"created_at":"2024-11-10T09:13:47.880Z","updated_at":"2025-02-24T16:43:41.628Z","avatar_url":"https://github.com/margostino.png","language":"Go","readme":"# 🛠️ Babel CLI\n\n(This project is under Babel Foundation initiative. You can read the manifest [here](https://github.com/margostino/babel-foundation))\n\n`babel-cli` is a command-line tool for searching and indexing and syncing Babel assets. It supports semantic and generative search powered by [Weaviate Vector DB](https://weaviate.io/).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/margostino/babel-foundation/blob/master/assets/babel-architecture.png?raw=true\" alt=\"Babel Foundation Architecture\"/\u003e\n\u003c/p\u003e\n\n## Demo\n\n[![Watch the video](https://img.youtube.com/vi/dkvbfGB1qRE/default.jpg)](https://youtu.be/dkvbfGB1qRE)\n\n## Features\n\n- **Index**: Index babel assets.\n- **Sync**: Sync metadata. Walk through Babel assets and sync metadata.\n- **Search**: [Semantic](https://weaviate.io/developers/academy/py/starter_text_data/text_searches/semantic) and [Generative](https://weaviate.io/developers/weaviate/modules/reader-generator-modules/generative-openai) Search.\n\n## Commands\n\n### Index\n\n```bash\nbabel-cli metadata init\n```\n\n### Sync\n\n```bash\nbabel-cli metadata sync\n```\n\n### Semantic Search\n\n```bash\nbabel-cli sem-search --limit 1 --query \"vacation plan\"\n```\n\n![semantic search example](./assets/sem-search-example.png \"Semantic Search\")\n\n### Generative Search\n\n```bash\nbabel-cli gen-search --limit 1 --query \"vacation plan\" --prompt \"write a short story max 20 words about {summary}\"\n```\n\n![semantic search example](./assets/gen-search-example.png \"Generative Search\")\n\n### TODO\n\n- [x] Vector DB (weaviate) integration\n- [x] Initialize database and home directory\n- [x] Initialize metadata\n- [x] Sync metadata\n- [x] Stats reporting\n- [ ] CRUD commands (basic)\n- [ ] Tag implementation\n- [ ] Sync with remote (Git)\n- [ ] BabelQL implementation?\n- [ ] Workflow implementation: inbox -\u003e project -\u003e area -\u003e resource -\u003e archive\n- [ ] Share implementation\n- [ ] Knowledge graph generation\n- [ ] Search implementation (local and remote)\n  - By similarity\n  - By tags\n  - By parameters (name, category, etc.)\n- [ ] Testing Testing Testing\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmargostino%2Fbabel-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmargostino%2Fbabel-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmargostino%2Fbabel-cli/lists"}