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

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