Giter VIP home page Giter VIP logo

katana's Introduction

Katana Icon

David Standard - JavaScript Style Guide Known Vulnerabilities Release

Overview

Katana is a simple, open-source screenshot utility for macOS that lives in your menubar.

Downloads are available on the releases page.

Features

  • Upload to several different image hosts, including Imgur and Pomf.
  • Directly upload files by dragging & dropping them onto the menubar.
  • Shorten any link that's copied to your clipboard.
  • Customizable shortcuts and preferences.
  • Lives in your menu bar, doesn't clutter your dock.
  • Constantly evolving, providing new functionality all the time.
Katana Preferences

Credits

Application icons based off work by Gregory Thye

License

Katana is available under the GPL-3.0 license.

katana's People

Contributors

bluegill avatar dependabot[bot] avatar harlanc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

katana's Issues

Automatic upload on screenshot

Any plans for this app to automatically upload after a screenshot is taken and copy the URL to the clipboard, rather than having to drag the file onto the menu bar item?

I'm looking to move away from mac2imgur which offers this.

How do I add vgy.me to the app?

I couldn't figure out how to get the necessary stuff for using a custom site, in this case vgy.me - if possible, could it be added automatically too? It's a good alternative to Imgur.

It screenshots my background/desktop

When attempting to screenshot the window itself, or an item in it.. It seems to screenshot the background image / desktop instead of the actual app/window I am trying to screenshot.. any fix?

JavaScript

Screen Shot 2020-12-11 at 11 48 03 AM

Hi, I'm on a MacBook running the latest version of Big Sur, and after installing Katana and allowing all permissions, I am met with the above error after attempting to take a screenshot.

Is this a common error, and if not, how can I fix this?

Website is down

Hey!

The website doesn't seem to be working :(

Just a heads up.

Possible to upload to Amazon S3?

Anyone can guide me to uploading to my S3?
I love the program btw, closest thing to ShareX I could find for Mac.

Thanks ๐Ÿ˜

Edit - ended up using different program called "MagicCap" for this particular purpose!

Add Support for Imgur Accounts

It would be great if we could upload screenshots directly to an imgur account. I do realize this may involve generating tokens or something on the user's end, but it would really be amazing if we could use it.

Thanks!

Custom Pomf Instances

It would be nice if katana supported adding selfhosted pomf-like filehosting sites.
Currently one has to clone this repo, modify app/config.js and recompile to achieve that.

Uploading image on open-file

Hi, it's me again! :)

Do you have any experience with using open-file events? They're not really well documented. I've been trying to make something so I can have plugins in external applications send image to katana and the snippet below works but what happens when you try to do it once again after the app is running is that it will open a second instance of the app. There is some kind of a callback - makeSingleInstance, but I haven't really succeed in implementing.

electron.app.on('open-file', (e, path) => {
  e.preventDefault()
  electron.app.on('ready', () => {

    const file = path
    const ext = file.split('.').pop()

    const allowed = ['png', 'jpg', 'jpeg', 'gif', 'bmp', 'tiff', 'pdf']

    if (allowed.includes(ext)) {
      this.screenshotModule.upload(file, (result, error) => {
        if (!error) {
          this.showNotification('Image has been successfully uploaded and copied to your clipboard', result.link)
        } else {
          this.showNotification(`Unable to upload screenshot ${error}`)
        }
      }, true)
    }

  })
})

Thanks,
Ben

All screenshots fail to upload in Mojave

In Mojave, screenshots attempted uploading using any of the services fail. Katana seems to have all permissions required within Security and Privacy settings.

Steps to Reproduce

  1. Install Katana in macOS Mojave.
  2. Select any service for upload.
  3. Attempt to take a screenshot.

Context (Environment)

Running macOS Mojave 10.14 Beta (18A353d) w/ Katana version v1.4.1

(I realize that Mojave is likely an unsupported environment for Katana, but I thought I'd give a heads up, I especially would like to use Katana still while apart of the beta program if possible).

Missing db error on new install of 1.3.1 release

Whenever you try to open the 1.3.1 version on a new computer it gives you an error. I was able to run the latest stable release (1.1.1), and that seemed to have let me run 1.3.1 now that the db was created.

Upload after screenshot editor

I'm trying to replace mac2imgur with an equivalent tool that will automatically upload a screenshot taken in any way on macOS.

Katana doesn't seem to look for any new screenshot that is saved to the screenshots directory and upload it. Instead it offers one shortcut that can be configured.

I've changed macOS's default "select part of screen" command+shift+4 shortcut to something else so I can set it in Katana settings (not sure why it says space):

Screenshot 2020-05-02 at 12 29 58

Now when I use command+shift+4 and select a part of the screen, it instantly uploads to Imgur without showing the macOS screenshot editor for annotating before upload.

Is it possible to only trigger the upload after the screenshot has been edited, like mac2imgur's behaviour?

Better yet, I'd prefer to use all of macOS's default screenshot shortcuts (capture window, capture screen etc.) with Katana just handling the upload part.

Support for slack.

Hi,
Thank you for creating this tool. It makes my life much easier.
I would like to suggest support for slack. The workflow would be like:

  1. Take a screenshot.
  2. Prompt a modal with a list of slack channels fetched with slack token.
  3. User would choose a channel, maybe write some comments.
  4. Katana will upload the screenshot to the channel.

Reasons I suggest this feature.

  1. Slack is popular and can host image files.
  2. Enterprise users and some of the OSS projects may not want to upload their screenshots to a public file storage service.

If you are interested, maybe I will send you a PR when I have time.
Thanks again.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.