Search engine for your files!
Project description
Cosma
Search engine for your files!
[!CAUTION] This software is in early alpha! There will be lots of bugs. If you encounter any, please report them to the issue tracker.
How It Works
Choose which directories to index, and Cosma will process all files in those directories into a search-optimized index. It'll also watch for for changes to keep the index updated.
After files are indexed, you can search for them with natural language! Cosma uses vector-powered search to find files quickly and easily.
Cosma can run 100% locally or in the cloud.
Get Started
Currently, Cosma has only been tested on MacOS ARM. Windows and Linux support is coming soon!
Installing
Cosma can be downloaded from PyPI. We highly recommend you do this with uv.
uv tool install comsa
Upgrading
To upgrade to the latest version:
uv tool upgrade cosma --no-cache
Setup
Make sure you have Ollama installed.
Cosma has a backend to serve search queries, so it must be started first. This needs to always be running to watch for file changes and process files in the background.
cosma serve
Running
To start the terminal UI and start searching, run search.
[!IMPORTANT]
The backend must be running for this command to work (see above).
cosma search /path/to/directory/to/search
[!WARNING]
This will begin processing all files in the directory specified, which will take some time if running locally.
MacOS App
We're also working on a Mac app! If this seems like a useful project, give us a star!
Contributing
Cosma is open source, and we'd love to have you contribute! Please feel free to open an issue or pull request with code changes. We'll have documentation for how best to contribute soon!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cosma-0.3.0.tar.gz.
File metadata
- Download URL: cosma-0.3.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
105fc4603b6432d35b6b5d9efe49a7291d6c154648bde361131942126dd24b4c
|
|
| MD5 |
3ab25520afc0c139bcde70726061e1b9
|
|
| BLAKE2b-256 |
8897bc04c49040de4ce2af336372ffa29b5702d58f181260cd8f0e0aa7673a52
|
Provenance
The following attestation bundles were made for cosma-0.3.0.tar.gz:
Publisher:
release.yml on cosmasense/cosma
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cosma-0.3.0.tar.gz -
Subject digest:
105fc4603b6432d35b6b5d9efe49a7291d6c154648bde361131942126dd24b4c - Sigstore transparency entry: 698335145
- Sigstore integration time:
-
Permalink:
cosmasense/cosma@2080481aa4bd94930c744f80d86ccff12c5bad62 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/cosmasense
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2080481aa4bd94930c744f80d86ccff12c5bad62 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cosma-0.3.0-py3-none-any.whl.
File metadata
- Download URL: cosma-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b963fdcc2b7192644b3bac33c59cdec08bb97f2c877611d06677777faf1d781a
|
|
| MD5 |
1d1866b0dfbb26a214692c9494529070
|
|
| BLAKE2b-256 |
3a815e3fc7e29c11aac65c81d2e625f2f3a3ae0415d65c71f74000451d25e0b4
|
Provenance
The following attestation bundles were made for cosma-0.3.0-py3-none-any.whl:
Publisher:
release.yml on cosmasense/cosma
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cosma-0.3.0-py3-none-any.whl -
Subject digest:
b963fdcc2b7192644b3bac33c59cdec08bb97f2c877611d06677777faf1d781a - Sigstore transparency entry: 698335156
- Sigstore integration time:
-
Permalink:
cosmasense/cosma@2080481aa4bd94930c744f80d86ccff12c5bad62 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/cosmasense
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2080481aa4bd94930c744f80d86ccff12c5bad62 -
Trigger Event:
push
-
Statement type: