You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			|  | 7 years ago | |
|---|---|---|
| LICENSE | 7 years ago | |
| README.md | 7 years ago | |
| mbin.sh | 7 years ago | |
		
			
				
				README.md
			
		
		
	
	bin-client
Command line client for mkr/bin and hastebin. Uses bin.mkr.pw as the default instance.
Requirements
- xclip (for copying url into clipboard)
- curl
Usage
Copy mbin.sh to your PATH or add an alias to point to the absolute path of
mbin.sh.
  some_command | mbin.sh
  mbin.sh # Opens in interactive mode.
  mbin.sh -c # Posts clipboard contents to bin
  mbin.sh --clipboard # Posts clipboard contents to bin
Customization
- To use custom instance, export MKR_BINvariable. Also, setHASTEBIN=1if it is a hastebin instance.- Add export MKR_BIN="https://bin.example.com/"(Ensure to keep the trailing slash) in your shell rc (~/.bashrcif using bash).
 
- Add 
- To use an editor other than vim in interactive mode, export EDITORvariable.- Add export EDITOR=microin your shell rc (~/.bashrcif using bash).
 
- Add