Giter Club home page Giter Club logo

pwmake's Introduction

pwmake

Build Status

Yet Another Password Generator. This one has two selling points: It tries to be like another, existing (and, most probably, superior) password generator (pwgen). And, it is implemented in Go. Point one isn't that exciting, since it basically spells "So Why Did You Do It Again?", so it all comes down to point two: It is implemented in Go, and it is a vehicle to learn the language to me.

What would you need?

Go, of course. However, the simple way to just yell

# sudo apt-get install golang

on a Debian-derived system will probably deploy just a very old and outdated version of Go to your system. So: Don't Do That! In fact, if you have done so before, either uninstall the distributions Go with

# sudo apt-get remove golang golang-go

or just don't use it. Deploy the Go version from https://golang.org/dl/ for your system, and make sure to use that version by prefixing it to your path:

# export GOROOT=/usr/local/go
# export PATH=/usr/local/go/bin/go:$PATH
# which go
/usr/local/go/bin/go

For the time being, you should have a working make or rake installed to start building, but since Go comes with its own build system, you could as well figure out how the provided Makefile fires up the build and build using the Go-provided wrapper. Or write a script which does the same.

What is that application?

The application pwmake generates passwords. Nothing fancy right now, but maybe we throw in fancy stuff later. Basically, it creates a series of random numbers, maps them to a set of symbols (really just "characters" for now), strings them together and prints them out.

However, there's already one thing to learn here: The ultimative best passwords are generated in the most simply way. Anything which puts in structure (to remember them better) will weaken the password. Just sayin'.

What IDE should you use?

Well, lots of people would say vim. However, one very good alternative to using plain vim is IDEA, which is nice, friendly, powerful, and comes with a vim plugin. Even better, there is a nice Go plugin which makes life better for those who occasionally dip into Go.

What's with the Makefile and Rakefile?

These are purely decorative. The Go community feels they are done with make and surely don't like rake. However, I like the idea of building a statically linked version of this project with five key strokes, so it's still in here.

pwmake's People

Contributors

r2p2 avatar tsalzer avatar

Watchers

 avatar  avatar

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.