{"id":13456126,"url":"https://github.com/internetarchive/iacopilot","last_synced_at":"2025-05-07T16:25:07.050Z","repository":{"id":104026312,"uuid":"609331843","full_name":"internetarchive/iacopilot","owner":"internetarchive","description":"Summarize and ask questions about items in the Internet Archive","archived":false,"fork":false,"pushed_at":"2023-04-01T01:43:03.000Z","size":33,"stargazers_count":17,"open_issues_count":2,"forks_count":5,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-04-15T12:49:57.533Z","etag":null,"topics":["cli","copilot","gpt","iacopilot","internet-archive","python","repl"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/internetarchive.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}},"created_at":"2023-03-03T22:07:18.000Z","updated_at":"2025-02-21T22:40:40.000Z","dependencies_parsed_at":"2024-02-17T10:44:26.349Z","dependency_job_id":null,"html_url":"https://github.com/internetarchive/iacopilot","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"1f3e2d869ddfed74c5855d53a925b0601605b7e0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internetarchive%2Fiacopilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internetarchive%2Fiacopilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internetarchive%2Fiacopilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internetarchive%2Fiacopilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/internetarchive","download_url":"https://codeload.github.com/internetarchive/iacopilot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252913947,"owners_count":21824285,"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","copilot","gpt","iacopilot","internet-archive","python","repl"],"created_at":"2024-07-31T08:01:16.544Z","updated_at":"2025-05-07T16:25:07.028Z","avatar_url":"https://github.com/internetarchive.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# IA Copilot\n\nSummarize and ask questions about items in the Internet Archive (and other textual resources) via GPT of OpenAI.\n\nInstall IACopilot CLI tool:\n\n```\n$ pip install iacopilot\n```\n\nTo run this tool, you will need [API key from OpenAI](https://platform.openai.com/account/api-keys) and set it as an environment variable.\n\n```\n$ OPENAI_API_KEY=\"\u003cAPIKEY\u003e\" iacopilot\nEnter quit   to quit/exit this REPL prompt\nEnter help   to print the help message\nPress \u003cTAB\u003e  to see available commands\nIACopilot 0:0 ?\u003e \n```\n\n```\nIACopilot 0:0 ?\u003e help\n help/h/?                    Print this help message\n quit/exit/q                 Exit the REPL prompt\n ls                          List all the loaded contexts\n load \u003cURL\u003e                  Detect source and load the data as a context\n load ia \u003cITEM\u003e              Load an IA item as a context\n load tv \u003cCHANNEL\u003e [\u003cDATE\u003e]  Load transcript of a TV channel as a context\n load wbm \u003cURL\u003e [\u003cDATE\u003e]     Load a Wayback Machine capture as a context\n load wiki \u003cTITLE\u003e [\u003cLANG\u003e]  Load a Wiki page as a context\n load file \u003cPATH\u003e            Load a loal file or directory as a context\n cd [\u003cID\u003e]                   Change a loaded context to query\n rm [\u003cID\u003e]                   Remove current or specified context\n reset                       Remove all contexts and reset statistics\n config openai [\u003cKEY\u003e]       Get or set configuration options\n \u003cPROMPT\u003e                    Ask the copilot questions about the context\n ! \u003cCMD\u003e                     Run a system command\nIACopilot 0:0 ?\u003e quit\nExiting...\n$\n```\n\nInteract with the REPL!\n\nAlternatively, run in Docker as following:\n\n```\n$ docker image build -t iacopilot .\n\n$ docker container run --rm -it -e OPENAI_API_KEY=\"\u003cAPIKEY\u003e\" iacopilot\nEnter quit   to quit/exit this REPL prompt\nEnter help   to print the help message\nPress \u003cTAB\u003e  to see available commands\nIACopilot 0:0 ?\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finternetarchive%2Fiacopilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finternetarchive%2Fiacopilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finternetarchive%2Fiacopilot/lists"}