{"id":15166968,"url":"https://github.com/partysun/staff","last_synced_at":"2026-01-28T11:12:20.731Z","repository":{"id":251370795,"uuid":"832144539","full_name":"Partysun/staff","owner":"Partysun","description":"Staff is a toolkit for dead-simple usage out of the box promts and llms in your project and command line.","archived":false,"fork":false,"pushed_at":"2024-09-13T11:17:30.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T15:47:23.874Z","etag":null,"topics":["cli","llm","rust","text-processing"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Partysun.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":"2024-07-22T12:42:57.000Z","updated_at":"2024-09-13T11:17:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c00c431-73b9-42c1-921b-6a3418ba31ff","html_url":"https://github.com/Partysun/staff","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":0.05882352941176472,"last_synced_commit":"2e77494427c4962b366288bbce50b33357f2d8ae"},"previous_names":["partysun/staff"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Partysun%2Fstaff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Partysun%2Fstaff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Partysun%2Fstaff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Partysun%2Fstaff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Partysun","download_url":"https://codeload.github.com/Partysun/staff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242565271,"owners_count":20150476,"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":["cli","llm","rust","text-processing"],"created_at":"2024-09-27T05:20:21.297Z","updated_at":"2026-01-28T11:12:20.686Z","avatar_url":"https://github.com/Partysun.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Staff** is a toolkit for dead-simple usage out of the box promts and llms in your project and command line.\n\nDRY \u0026 magic flow is a core principle.\n\nCurrent state is WIP.\n\n## Idea/Vision\n\nAny good prompt combined with a llm is a pure magic. And you don't need to repeat yourself and find a good prompt, you can find well-prepared by community grimoires (combination of prompt, agents, functions \u0026 llms or only a prompt) then you learn this grimoire and can you use it on any text. Staff can help you with mastering your grimoires. Be brave in your path.\n\nStructure of the Grimoire 0.1 version:\n\n```md\n---\ntitle:\ndescription:\ntags: []\nauthor:\n---\n\n[//]: # (SYSTEM)\\n\nHere any System prompt...\n\n[//]: # (USER)\\n\nHere any User prompt...\n```\n\nYou can use a grimoire with such packed of knowledge structure or it can be just a simple text without any metatags or SYSTEM/USER prompts. In that case everything is a SYSTEM prompt.\n\nIn the future version I want to add support for models \u0026 functions.\n\n## Installation\n\nYou can install it from [pip](https://pypi.org/), [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)\n\n```bash\npip install staff-cli\n# cargo install staff-cli --locked # Not available yet. Yep, rust project can be installed only using pip yet :)\n```\n\nOr you can build staff-cli from source. You need to install rustup, clone the repository and then\n\n```bash\ncargo install --path ./crates/cli --locked\n```\n\n## CONFIGURATION\n\nThe Staff reads your configuration from .config. Example of configuration is config.example.toml.\n\nRight now Staff supports Ollama models and GigaChat models. You must provide credentials for at least one model.\n\nRead the file config.example.toml, write your configuration and copy it to $HOME/.config/staff-cli/config.toml\n\n// Lin: Some(/home/alice/.config/staff-cli/config.toml)\n\n// Win: Some(C:\\Users\\Alice\\AppData\\Roaming\\staff-cli\\config.toml)\n\n// Mac: Some(/Users/Alice/Library/Application Support/staff-cli/config.toml)\n\n## USAGE\n\nHow to get ideas from the youtube video? You need to have installed [youtube_transcript_api](https://github.com/jdepoix/youtube-transcript-api)\n\n```bash\nyoutube_transcript_api TY0o3Zs8u78 --languages en --format text | tr '\\n' ' ' | xargs cargo run -- cast -n extract_wisdom\n```\n\n## FOR CONTRIBUTORS\n\nAbout GigaChat model:\n\nOn UBUNTU/DEBIAN we need to install libssl-dev\n\n```bash\nsudo apt-get install libssl-dev\n```\n\nInstall certificates from `https://www.gosuslugi.ru/crt`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpartysun%2Fstaff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpartysun%2Fstaff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpartysun%2Fstaff/lists"}