Giter Site home page Giter Site logo

cohoast's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

cohoast's Issues

Update and add documentation

Documentation is still in a separate branch, needs to be merge. After all these mutations it'll probably need an update.

Remove Categories

All the hostnames under it should go to the default category.
Default category cannot be deleted
This is a functionality what can be done under the list functionality

cohoast list -r categoryname

Log everything

Because you know... fun!

Best thing is not to build a log app besides but just call a vendor for this. Or a make a basic log aside for it.

Ascii format in a backup file

When a backup-file is created, a standard format is added to the file
This includes (optional):

  • annotation
  • timestamp of creation
  • previous backup
  • id
  • difference with last backup
  • was it manually done
  • which user
  • root or not
  • computername

Lint all possible bash files

At this point only run.sh is being checked. This used to be the central script, but a lot has been split up, so extra checks are needed.

CLI: Add hostname with flags

ATM you can add a hostname with the default settings, but it would be better to configure it in the cli

Flags

-p, --port

Portnumber

-c, --category

Name of the category

-a, --address

Ip-address

Import hostnames

Using a folder 'import' it will search in the folder for yaml-files and import the hostname.

filetype: yaml
Menu: yes
CLI: yes

cohoast import [ filename ]

Block IPs

Block an ip that is inserted.

Menu: yes
Configuration: yes
CLI

cohoast block [ ip ]

Add a note to the category

When a new category is setup, you can leave a note. Possibly for why the category is setup or what to put it in.

List hostnames

Show all the hostnames in a list on the terminal

cohoast list 

Naming your own defined ips

In your configuration you have a set of defined ips which you can name.
This way redirecting/blocking some sites can be less a little convoluted.
Also, when you want to change the ip address it should be a lot more easier since everything connected to the name in the config. #21 has to be build first for this.

Git hooks

Not only for checking but also letting the workflow go easier.

CLI: Backup with flags

Additional flags to need be added to the basic backup from issue #5

Flags

- l, --location

Specify the folder

-f, --filename

Name of the file

Manual to the installation

The man file gives a copy out to the shared local files so the documentation can be viewed in the terminal

man cohoast

Config: Use YAML

For user configuration and not touching the shell, yaml comes to the solution

Own 'memory' file

For not depending on a host file, let it build up a host file from the ground up with its own settings.
Something in the far future to make it better brought up.
With its own history of deletion, adding and editing.
So its not depending on a host file itself anymore.

Going back to the main menu

After a command is fired from the menu (e.g. adding a hostname) and everything went good, everything should be cleared up in the screen and going back to the main menu.
The 'quit' statement should be the only command to stop the menu from recurring after an option is fired.

CLI: Remove the hostname

In the cli you can remove the hostname just by calling what the hostname is:

cohoast remove [ hostname ]

help command

Create and link this to the 'man' command

cohoast help


cohoast add --help


cohoast remove --help


cohoast list --help

etc

Install from CLI

Using curl and a shell script hosted on this project, do an install to get the whole repository

curl http://githubthingie/install.sh | sh

Very useful for showing this in the readme documentation

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.