Skip to main content

Search engine for your files!

Project description

Cosma

Version

Cosma Logo

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cosma-0.3.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cosma-0.3.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for cosma-0.3.0.tar.gz
Algorithm Hash digest
SHA256 105fc4603b6432d35b6b5d9efe49a7291d6c154648bde361131942126dd24b4c
MD5 3ab25520afc0c139bcde70726061e1b9
BLAKE2b-256 8897bc04c49040de4ce2af336372ffa29b5702d58f181260cd8f0e0aa7673a52

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosma-0.3.0.tar.gz:

Publisher: release.yml on cosmasense/cosma

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for cosma-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b963fdcc2b7192644b3bac33c59cdec08bb97f2c877611d06677777faf1d781a
MD5 1d1866b0dfbb26a214692c9494529070
BLAKE2b-256 3a815e3fc7e29c11aac65c81d2e625f2f3a3ae0415d65c71f74000451d25e0b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosma-0.3.0-py3-none-any.whl:

Publisher: release.yml on cosmasense/cosma

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page