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

Cool​Base​64

by k-amryn ALL

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

Details

Installs

  • Total 14K
  • Win 5K
  • Mac 6K
  • Linux 2K
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6
Windows 1 3 2 6 3 4 1 1 4 7 5 3 3 2 3 3 3 7 4 6 1 2 4 4 0 0 0 1 0 3 7 3 2 6 1 2 13 0 0 1 11 0 0 3 1 5
Mac 1 7 7 3 7 9 0 1 4 8 6 9 7 1 0 4 7 12 6 7 2 1 4 4 0 0 0 0 0 5 5 4 1 5 0 3 2 0 0 3 13 1 0 8 3 8
Linux 0 2 1 2 2 3 2 2 0 0 3 2 2 0 3 2 1 3 2 1 0 0 5 4 0 0 0 0 1 5 3 0 0 2 0 2 2 0 0 1 4 0 2 2 5 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

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