{"id":22788464,"url":"https://github.com/astrabert/praivatesearch","last_synced_at":"2025-04-07T11:06:46.871Z","repository":{"id":250531728,"uuid":"834597906","full_name":"AstraBert/PrAIvateSearch","owner":"AstraBert","description":"Own your AI, search the web with it🌐😎","archived":false,"fork":false,"pushed_at":"2025-01-14T10:59:01.000Z","size":3729,"stargazers_count":83,"open_issues_count":2,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T15:01:59.041Z","etag":null,"topics":["ai","docker","gguf","llamacpp","llm","local-search-engine","open-source","phi-3-mini","streamlit","web-search-engine"],"latest_commit_sha":null,"homepage":"https://astrabert.github.io/PrAIvateSearch/","language":"Python","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/AstraBert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-07-27T18:55:36.000Z","updated_at":"2025-03-24T06:04:20.000Z","dependencies_parsed_at":"2024-09-13T22:42:14.882Z","dependency_job_id":"bdbea0d6-95fb-4a39-920d-360f224f4855","html_url":"https://github.com/AstraBert/PrAIvateSearch","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":0.04347826086956519,"last_synced_commit":"a460e73d550bb5b8f04c53526b6379692a39d59e"},"previous_names":["astrabert/searchphi","astrabert/praivatesearch"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstraBert%2FPrAIvateSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstraBert%2FPrAIvateSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstraBert%2FPrAIvateSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstraBert%2FPrAIvateSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AstraBert","download_url":"https://codeload.github.com/AstraBert/PrAIvateSearch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640462,"owners_count":20971557,"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":["ai","docker","gguf","llamacpp","llm","local-search-engine","open-source","phi-3-mini","streamlit","web-search-engine"],"created_at":"2024-12-12T01:31:30.269Z","updated_at":"2025-04-07T11:06:46.829Z","avatar_url":"https://github.com/AstraBert.png","language":"Python","funding_links":["https://github.com/sponsors/AstraBert"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ePrAIvateSearch\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003eOwn your AI, search the web with it🌐😎\u003c/h2\u003e\n\n\u003cdiv align=\"center\"\u003e\n   \u003cdiv\u003e\n        \u003cimg src=\"./imgs/PrAIvateSearch_logo.png\" alt=\"Logo\" align=\"center\"\u003e\n   \u003c/div\u003e\n\u003c/div\u003e\n\n\n## About PrAIvateSearch\n\nPrAIvateSearch is a NextJS web application that aims to implement similar features to SearchGPT, but in an open-source, local and private way. \n\n## Flowchart\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./imgs/PrAIvateSearch_Flowchart.png\" alt=\"Logo\" align=\"center\"\u003e\n    \u003cp\u003e\u003ci\u003eFlowchart for PrAIvateSearch\u003c/i\u003e\u003c/p\u003e\n\u003c/div\u003e\n\nThe process of creating and the functioning of PrAIvateSearch is explained in [this blog post on HuggingFace](https://huggingface.co/blog/as-cle-bert/search-the-web-with-ai).\n\n## Installation and usage\n\n\u003e [!IMPORTANT]\n\u003e _For this section, you should have [`conda`](https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html) package manager, [`docker`](https://www.docker.com/) and [`docker compose`](https://docs.docker.com/compose/)._\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/AstraBert/PrAIvateSearch.git\ncd PrAIvateSearch\n```\n\n2. Move `.env.example` to `.env`...\n\n```bash\nmv .env.example .env\n```\n\n...and specify PostgreSQL related variables:\n\n```bash\n# .env file\npgql_db=\"postgres\"\npgql_user=\"localhost\"\npgql_psw=\"admin\"\n```\n\n3. Install necessary dependencies with [`conda`](https://anaconda.org/anaconda/conda):\n\n```bash\nconda env create -f conda_environment.yaml\n```\n\n4. Set up Crawl4AI inside the `conda` environment:\n\n```bash\nconda activate praivatesearch\ncrawl4ai-setup\ncrawl4ai-doctor\nconda deactivate\n```\n\n4. Start third-party services:\n\n```bash\ndocker compose up -d\n```\n\n5. Run `Qwen-2.5-1.5B-Instruct` on API with FastAPI/Uvicorn:\n\n```bash\nconda activate praivatesearch\ncd qwen-on-api/\nuvicorn main:app --host 0.0.0.0 --port 8000\n```\n\nYou can access the application from `http://localhost:3000` and chat with it!\n\n### Usage note\n\n\u003e [!IMPORTANT]\n\u003e _The NextJS application was successfully developed and tested on a Ubuntu 22.04.3 machine, with 32GB RAM, 22 cores CPU and Nvidia GEFORCE RTX4050 GPU (6GB, cuda version 12.3), python version 3.11.11 (packaged by conda 24.11.0)_\n\nAlthough being at a good stage of development, the application is a `beta` and might still contain bugs and have OS/hardware/python version incompatibilities.\n\n## Contributions\n\nContributions are more than welcome! See [contribution guidelines](./CONTRIBUTING.md) for more information :)\n\n## Funding\n\nIf you found this project useful, please consider to [fund it](https://github.com/sponsors/AstraBert) and make it grow: let's support open-source together!😊\n\n## License and rights of usage\n\nThis project is provided under [MIT license](./LICENSE): it will always be open-source and free to use.\n\nIf you use this project, please cite the author: [Clelia (Astra) Bertelli](https://cleliasportfolio.xyz)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrabert%2Fpraivatesearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrabert%2Fpraivatesearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrabert%2Fpraivatesearch/lists"}