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

Cool​Base​64

by k-amryn ALL Trending

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

Details

Installs

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