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 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 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21
Windows 0 7 0 1 4 4 4 8 7 0 1 6 6 9 5 5 1 2 3 6 6 7 3 1 1 3 7 6 6 6 1 1 7 7 10 3 6 0 0 0 5 4 6 5 1 2
Mac 3 8 1 0 0 6 4 6 6 0 2 5 3 7 8 4 2 1 6 6 10 8 5 1 1 3 10 11 10 4 0 0 4 8 10 3 8 2 0 3 3 1 12 5 3 2
Linux 0 2 0 0 2 2 0 0 1 1 0 1 1 1 2 3 0 0 1 2 0 1 2 1 1 0 1 2 4 0 2 1 1 1 0 2 0 0 0 0 0 5 2 1 0 0

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