{"id":13508733,"url":"https://github.com/alexfilatov/torex","last_synced_at":"2025-07-08T16:32:33.945Z","repository":{"id":54873199,"uuid":"105388664","full_name":"alexfilatov/torex","owner":"alexfilatov","description":"Make requests to Tor network with Elixir","archived":false,"fork":false,"pushed_at":"2023-09-18T00:19:16.000Z","size":11,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-08T17:04:30.957Z","etag":null,"topics":["elixir","tor"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexfilatov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-09-30T17:46:39.000Z","updated_at":"2023-09-18T00:19:22.000Z","dependencies_parsed_at":"2024-01-08T19:22:16.078Z","dependency_job_id":null,"html_url":"https://github.com/alexfilatov/torex","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"dfae91948ac0e164e3d2ac19be963822413b2e33"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexfilatov%2Ftorex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexfilatov%2Ftorex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexfilatov%2Ftorex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexfilatov%2Ftorex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexfilatov","download_url":"https://codeload.github.com/alexfilatov/torex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225449604,"owners_count":17476095,"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":["elixir","tor"],"created_at":"2024-08-01T02:00:57.676Z","updated_at":"2024-11-20T00:52:23.878Z","avatar_url":"https://github.com/alexfilatov.png","language":"Elixir","funding_links":[],"categories":["Networking"],"sub_categories":[],"readme":"# Torex\n\n[![Coverage Status](https://coveralls.io/repos/github/alexfilatov/torex/badge.svg?branch=main)](https://coveralls.io/github/alexfilatov/torex?branch=main)\n[![Hex pm](https://img.shields.io/hexpm/v/torex.svg?style=flat)](https://hex.pm/packages/torex)\n[![Hex docs](http://img.shields.io/badge/hex.pm-docs-green.svg)](https://hexdocs.pm/torex)\n[![hex.pm downloads](https://img.shields.io/hexpm/dt/torex.svg?style=flat)](https://hex.pm/packages/torex)\n[![Project license](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Last Updated](https://img.shields.io/github/last-commit/alexfilatov/torex.svg)](https://github.com/alexfilatov/torex/commits/master)\n\n\n\nVery simple connector to TOR network. Basically this is HTTPoison client with proxy on Tor node.\n\nBefore running this project you need to have tor node running.\nTo install tor node for macos run this:\n\n    brew install tor\n    brew services start tor\n\nYou'll have tor running on your machine where you can connect on PORT=9050\n\n## Usage\n\nWhen Tor is up and running add to your app config the following\n\n```elixir\nconfig :torex,\n  :tor_server,\n    ip: '127.0.0.1', # note charlist here, not binary\n    port: 9050\n```\n\nMake requests:\n\n```elixir\n{:ok, contents} = Torex.get(url)\n{:ok, result}   = Torex.post(url, params)\n```\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `torex` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:torex, \"~\u003e 0.1.0\"}]\nend\n```\n\n## Contribution\n\n1. Fork it\n2. Create feature/bugfix branch\n3. Code/fix\n4. Commit and push\n5. Create Pull Request\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/torex](https://hexdocs.pm/torex).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexfilatov%2Ftorex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexfilatov%2Ftorex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexfilatov%2Ftorex/lists"}