{"id":25876119,"url":"https://github.com/andrewarrow/cloutcli","last_synced_at":"2025-10-15T23:17:35.765Z","repository":{"id":57597924,"uuid":"378797314","full_name":"andrewarrow/cloutcli","owner":"andrewarrow","description":"old library to make building things with bitclout/deso easy [not maintained]","archived":false,"fork":false,"pushed_at":"2021-08-05T18:09:16.000Z","size":170,"stargazers_count":18,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-31T04:02:40.916Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://andrewarrow.dev/","language":"Go","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/andrewarrow.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}},"created_at":"2021-06-21T03:37:50.000Z","updated_at":"2023-08-20T13:27:19.000Z","dependencies_parsed_at":"2022-08-28T09:12:08.858Z","dependency_job_id":null,"html_url":"https://github.com/andrewarrow/cloutcli","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fcloutcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fcloutcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fcloutcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fcloutcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewarrow","download_url":"https://codeload.github.com/andrewarrow/cloutcli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241489117,"owners_count":19970997,"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":[],"created_at":"2025-03-02T10:20:54.087Z","updated_at":"2025-10-15T23:17:30.740Z","avatar_url":"https://github.com/andrewarrow.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloutcli\nlibrary to make building things with bitclout easy\n\n# quick start demo\n\n```\ncmd $ ./clout demo\n\n  clout demo visualizegraph  # make clout.gv graph file\n  clout demo printall        # print all clouts\n  clout demo search          # search sqlite database\n  clout demo sqlite          # place data into local sqlite database\n\n  search examples:\n\n  ./clout demo search --term=hi --table=users\n  ./clout demo search --term=hi --table=posts\n  ./clout demo search --term=username --table=follow --degrees=2\n```\n\n# full menu\n\n```\ncloutcli/cmd $ ./clout\n\n  clout account               # list your various accounts\n  clout ls                    # list global posts\n  clout message               # send, send bulk, read\n  clout mongo                 # query from mongodb\n  clout sell                  # sell coins\n  clout sqlite                # import from badger, query sqlite\n\ncloutcli/cmd $ ./clout message\n\n  clout message bulk           # --to=allfollowers [--text=foo]\n  clout message inbox          # --filter=myhodlers\n  clout message new            # --to=username [--text=foo]\n  clout message reply          # --id=foo [--text=foo]\n  clout message show           # --id=foo\n\ncloutcli/cmd $ ./clout sell\n\n  clout sell dust           # --limit=x [--execute]\n\ncloutcli/cmd $ ./clout sqlite\n\n  clout sqlite fill           # --dir=/path/to/badgerdb\n  clout sqlite graph          # produce clout.gv file\n  clout sqlite query          # --term=foo [--table=x]\n```\n\n# building the \"clout\" executable\nThere is no main.go file in the root directory.\n\n```\ncd cmd\ngo mod tidy\ngo build\n./clout\n```\n\nThis is done to keep the root directory having the package name \"cloutcli\".\n\nWhich allows other go programs to just import:\n\n```\nimport \"github.com/andrewarrow/cloutcli\"\n```\n\nand then:\n\n```\nlist := cloutcli.GlobalPosts()\n\nfor _, post := range list {\n  fmt.Println(post.Body)\n}\n```\n\n# Example\n[github.com/andrewarrow/referential](https://github.com/andrewarrow/referential)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewarrow%2Fcloutcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewarrow%2Fcloutcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewarrow%2Fcloutcli/lists"}