{"id":21296895,"url":"https://github.com/reddec/router-control","last_synced_at":"2025-03-15T17:27:22.251Z","repository":{"id":57463350,"uuid":"69752496","full_name":"reddec/router-control","owner":"reddec","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-04T14:01:12.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T00:06:40.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/reddec.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":"2016-10-01T17:23:33.000Z","updated_at":"2016-10-01T17:30:11.000Z","dependencies_parsed_at":"2022-09-14T16:40:20.104Z","dependency_job_id":null,"html_url":"https://github.com/reddec/router-control","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Frouter-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Frouter-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Frouter-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Frouter-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reddec","download_url":"https://codeload.github.com/reddec/router-control/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243764930,"owners_count":20344502,"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":"2024-11-21T14:30:39.236Z","updated_at":"2025-03-15T17:27:22.226Z","avatar_url":"https://github.com/reddec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Programatic control for RV6688BCM (or similar) router\n\n[![Development Status](https://img.shields.io/pypi/status/rvcm.svg)](https://pypi.python.org/pypi/rvcm/)\n [![PyPI version](https://img.shields.io/pypi/v/rvcm.svg)](https://pypi.python.org/pypi/rvcm/)\n[![Python version](https://img.shields.io/pypi/pyversions/rvcm.svg)](https://pypi.python.org/pypi/rvcm/)\n\nThis is library and CLI utils to control the router. It depends on python *3.5* and requests library.\n\nSee API in source code - it's really simple and short.\n\nCLI also have a `--help` for options =). You may start from this command: `rvcm --help`, where `python` must be python 3.5 or higher.\n\nprovides this output:\n\n```\nusage: rvcm [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n  --ip TEXT        Router IP\n  --user TEXT      Login name\n  --password TEXT  Password\n  --help           Show this message and exit.\n\nCommands:\n  calls   Calls operations\n  nat     NAT operations\n  router  Direct router operations\n```\n\nThe router-control supports basic environment variables (in addition to command line arguments):\n\n* `RC_IP` - IP address to router\n* `RC_USER` - Login name to router (default: admin)\n* `RC_PASSWORD` - Password to router (default: admin)\n\n\n## Router operations\n\n```\nUsage: rvcm router [OPTIONS] COMMAND [ARGS]...\n\n  Direct router operations\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  apply   Apply changes on the router\n  export  Print details about router in json\n  info    Print details about router\n\n```\n\nExample:\n\nCommand: `python rvcm --ip 192.168.100.1 router info`\n\n## NAT operations\n\n```\nUsage: rvcm nat [OPTIONS] COMMAND [ARGS]...\n\n  NAT operations\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  create   Create forwarding rule\n  disable  Disable (but not remove) rule\n  enable   Enable rule\n  info     Print forwarding table\n  remove   Remove forwarding rule\n  rename   Rename forwarding rule\n  update   Update forwarding record\n\n```\n\n## Calls operations\n\n```\nUsage: rvcm calls [OPTIONS] COMMAND [ARGS]...\n\n  Calls operations\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  export  Print calls history in JSON\n  info    Print calls history\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddec%2Frouter-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freddec%2Frouter-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddec%2Frouter-control/lists"}