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