Project

lek

0.0
No release in over 3 years
Low commit activity in last 3 years
a simple gem for switching work contexts. Opens creates a new Workspace, opens a list of browser tabs, terminal tabs, and text editor project folders for you.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.14
~> 10.0
~> 3.0
 Project Readme

lek

lek is a tool for quickly switching work contexts, inspired by the workon command from Python's virtualenvwrapper. It's my idea of something that should exist. I did exhaustively Google for it because frankly I'm amazed it doesn't already exist. (Please do let me know if you think it does already exist. #allcodehasalreadybeenwritten)

lek myproject

  • reads your your ~/.Lekfile and sets you up how you like to work
  • creates a new workspace in your desktop environment (Linux Mint only at present)
  • switches to that workspace
  • opens a new browser window, and in it, a list of URLs in browser tabs as specified in Lekfile (maybe documentation, GitHub, forum, Gitter, Trello, localhost:4000, localhost:8080, whatever...)
  • opens your terminal emulator at a specific directory(ies)
  • starts any command line processes you need (rails s, rails c, npm start, etc) in separate terminal tabs
  • Opens your text editor with a specific project folder/folders
  • executes any other commands you need (eg docker run <container>, vagrant up, etc)
  • starts your strong Brownian Motion producer (say a nice hot cup of tea) - subject to REST IoT Kettle availability
  • then makes a pleasant beep, maybe

Roadmap

  • There will be a roadmap. That, for now, is the roadmap.

Contributing

  • You can contribute.

Why 'lek'?

It's named 'lek' because I wanted a very short command and that word popped into my head. In my home county of Yorkshire (and some of the North East), 'lekking' means 'playing out with your friends' when you're a kid. It's probably a Viking word. In modern Swedish 'lek' means 'to play'. Also, the 'lek' namespace was available on GitHub, and isn't an existing Unix/Linux command.