Giter Club home page Giter Club logo

croutera's Introduction

My website

croutera's People

Contributors

cristianoliveira avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

croutera's Issues

Create login interface action

Plan and provide the general interface to implement a login action.

Thinking in somenthing simple like:

python croutera.py <router-model> <ip> login -u <user> -p <pass>

Create login interface to restart modem/router

Plan and provide a simple interface to implement a restart action (require login)

This action will restart the modem/router

Thinking in somenthing like:

# after login
python croutera.py restart

CONTRIBUTE - Using emulators to test implementations

If you want help implementing new models here is the trick. The manufacturers always provide simulators for theirs devices. Then you can create and tests your code against this interface. โœŒ๏ธ

Some has buttons like reboot disabled, but you can get the url to request it anyway.

TPLINK
http://www.tp-link.com/en/emulators.html

DLINK [Brazil]
http://suporte.dlink.com.br/suporte/emuladores/

Belkin
http://www.belkin.com/PYRAMID/AdvancedInfo/F5D8236-4ver3000/Interfaces/3.00.02/En/

LinkSys
http://ui.linksys.com/

Croutera routers models by plugins.

Create a way to turn croutera pluggable. That means, remove routers available from the core and turn them plugins. That way everyone can contribute with their own plugins.

Create interface to list the connected users/devices

Plan and provide a simple interface to list the connected devices

Thinkning in somenthing like:

python croutera devices-list

Then will be listed as below:

 Device ID | IP | Mac Address
jonh-macbook | 192.168.100.9 | a8:7c:01:25:1c:3e
android1231 | 192.168.100.11 | 28:e3:47:32:6b:32
android12342 | 192.168.100.2     | 14:1a:a3:a8:ba:17

Feat: Use env variables to keep model, user and password

Change the cli to support env variables. User will set them and can execute commands like:

croutera -restart

Create also an interface to set them by croutera

croutera -set-model foo
croutera -set-user bar
croutera -set-password boo

Handle errors properly.

Plan and change the classes to handle errors and show user frendly messages

  • Auth Error
  • Not Response Error (When router does not response)
  • Command Error (Params missing or wrong types)
  • Handle when has no connection
    ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.