{"id":13571442,"url":"https://github.com/gp2112/snowflake-cli","last_synced_at":"2025-04-04T08:31:09.484Z","repository":{"id":67572503,"uuid":"464806157","full_name":"gp2112/snowflake-cli","owner":"gp2112","description":"A simple python script for hosting a Snowflake Proxy in your python program or with it's standalone cli","archived":false,"fork":false,"pushed_at":"2022-06-15T21:50:16.000Z","size":53,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T09:50:53.642Z","etag":null,"topics":["onion","privacy","proxy","python","snowflake","tor"],"latest_commit_sha":null,"homepage":"","language":"Python","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/gp2112.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}},"created_at":"2022-03-01T08:26:54.000Z","updated_at":"2022-07-14T10:28:55.000Z","dependencies_parsed_at":"2023-05-23T17:15:19.526Z","dependency_job_id":null,"html_url":"https://github.com/gp2112/snowflake-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gp2112%2Fsnowflake-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gp2112%2Fsnowflake-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gp2112%2Fsnowflake-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gp2112%2Fsnowflake-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gp2112","download_url":"https://codeload.github.com/gp2112/snowflake-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247147093,"owners_count":20891621,"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":["onion","privacy","proxy","python","snowflake","tor"],"created_at":"2024-08-01T14:01:02.050Z","updated_at":"2025-04-04T08:31:08.573Z","avatar_url":"https://github.com/gp2112.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# snowflake-cli\nSnowflake is a system to defeat internet censorship, made by [Tor Project](https://www.torproject.org).\n\nThe system works by volunteers who run the snowflake extension on browser.\n\nNow, with this script, you can host a snowflake relay in another program or run it in CLI mode in a server!\n\n## Requirements\n\n- Google Chrome 98\n- [Chromedriver](https://chromedriver.storage.googleapis.com/index.html?path=98.0.4758.102/)\n- Add Chromedriver to path (or to /usr/bin on linux)\n\n## Install\n\n```bash\ncd snowflake-cli\npip install .\n```\n\n## Running snowflake in your program:\n\nIt's possible to import snowflake in your program's python code to host snowflake cuncurrently!\nThis is very nice because you can allow users of your software to donate their bandwidth to snowflake's network :)\n\n```python\nimport snowflakecli\n\noptions = {\n  'just_run':False, # if true, runs snowflake discretly - without logging and saving data\n  'save_data':True, # if true, snowflake will save your peers data in database\n  'get_loc':True,   # if true, snowflake will not get peers country and region\n  'log':True        # if true, snowflake will print every log\n}\n\n# runs snowflake concurrently in another thread while your main program runs\nsnowflakecli.start_run(options) \n\n```\n\n## Running (cli mode)\n\n` $ snowflakecli [OPTIONS]`\n\n### Options: \n```\n--just-run   - Just run snowflake with all options below\n--no-persist - Run without storing peer's data\n--no-location - Doesn't get IPs locations\n--no-logging  - Doesn't print anything (just the starting log)\n```\n## Features\n\nYou can watch all peers that conects with you live, store this data with the peer's location to further analisys.\n\n## Database Tables Schema\n\n### peers\n\n- timestamp (int)\n- ip (text)\n- country (text)\n- region (text)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgp2112%2Fsnowflake-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgp2112%2Fsnowflake-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgp2112%2Fsnowflake-cli/lists"}