Bashme is a library which provides a nerdy way to tell people about you. It was created with the intention to use it as a resumé replacement but I it can have other use cases. It aims to be customizable, extensible and easy to use.
Play with it in my personal website: http://agurodriguez.net
npm install bashme
var bashme = new Bashme.Bashme(); bashme.use(new Bashme.GitHub('agurodriguez')); bashme.show(document.querySelector('#bashme'));
Full code in example folder.
If you use react, you can try react-bashme.
Bashme is the main class which acts as library's entry point. It's reponsible for processing the input/output from/to the terminal and for running the tasks related to every given command.
It has two important methods,
This method registers a new
IProvider in the
Bashme instance. When the
IProvider is registerd it adds commands to the
Bashme instance that can be called by the user.
This method converts an
HTMLElement into a full interactive terminal (Using
xterm.js) to allow users to write the commands they want to execute.
A provider is a class that implements the
IProvider interface and provides commands to the
Bashme instance that the user can then execute.
||Shows GitHub profile information|
||Shows GitHub contributions|
||Shows GitHub organizations|
||Shows GitHub repositories|
||Shows work experience|
||Shows volunteer experience|
Copyright (c) 2018 Agustín Rodríguez
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: