ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Cool​Base​64

by kamryn404 ALL

Sublime Text 3 plugin with a few functions for encoding to and from Base64

Details

Installs

  • Total 18K
  • Win 7K
  • Mac 8K
  • Linux 3K
Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26
Windows 1 0 2 3 2 0 2 2 3 1 7 5 3 1 0 0 2 4 5 5 8 2 0 8 7 5 5 5 1 3 2 3 5 4 1 0 2 2 3 3 5 6 1 1 6 6
Mac 0 1 3 11 8 6 2 2 1 4 5 6 7 1 3 0 5 7 9 6 5 1 2 4 6 5 4 7 1 4 6 7 9 3 7 1 1 4 7 5 6 1 1 1 5 3
Linux 2 2 2 1 0 0 0 0 0 2 3 1 1 1 0 0 0 4 0 0 1 4 1 0 5 3 2 5 3 1 3 0 1 4 0 2 0 3 0 1 2 3 0 0 2 3

Readme

Source
raw.​githubusercontent.​com

CoolBase64-sublime

Sublime Text 3 plugin with a few functions for encoding to and from Base64

  1. Encode selected text to Base64
  2. Decode selected Base64 to normal text
  3. Copy the current file as Base64. Works with any filetype because it processes the file itself instead of the visible text.
  4. Copy the current file as a Base64 web URL for embedding within HTML or CSS (coolest function). Almost the same as the previous function, but it detects the filetype and prepends “data:image/jpg;base64,” or “data:audio/ogg;base64,” or whatever filetype to the beginning of the Base64 encoding. Works with any filetype but designed for browser-playable media files.
  • alt+shift+u: Copy current file as a Base64 web URL
  • alt+shift+e on selected text: Encode to Base64 in place
  • alt+shift+e without selected text: Copy whole file as Base64 text
  • alt+shift+d on selected Base64 text: Decode from Base64
  • alt+shift+b on selected Base64 text: Decode from Base64 to binary file

Right click on tab: 1. Copy file as Base64 2. Copy file as Base64 web URL