p0deje / maccy Goto Github PK
View Code? Open in Web Editor NEWLightweight clipboard manager for macOS
Home Page: https://maccy.app
License: MIT License
Lightweight clipboard manager for macOS
Home Page: https://maccy.app
License: MIT License
There were few requests to support pins/bookmarks of the history items. Here is one of them:
I reply to all of our Yelp! Business requests. They typically are inquiring about pricing and I have two formatted replies, which I select based on their inquiry. I then of course edit it to make it more personal to their needs, but it’s handy to have most of the text added on a fly.
While I’m no developer I can offer some random suggestions.
+Maccy continues it’s clean UI. I wouldn’t want any extra feature to hamper this.
+“Pinned” results will always appear at the top when opening Maccy.
++ This can either be with a pinned icon, star, etc.
++ This also allows the top pinned results to always be the same command shortcut (unless you’d like the user to be able to add custom)
- How you’d pin/favorite would be up to you! We both know there’s various ways, either through an addition menu, a submenu, etc.
++ I think pins would be the most simple, but folders would apply organization. The folder option may be too far in another direction though, as Maccy is great to search though.
+If no pins, maybe a ’tag’ system? Instead of searching for words appropriate for my desired query, I can search the ’tag’.
++ I want to find “work”. I just type work, and it shows the results I tagged appropriately.
This issue is to track this feature and prototype it as there are multiple ways to approach this.
Right now when selecting an entry in clipboard history it gets copied to buffer. But to me it would make more sense if it would paste it right away without overwriting existing buffer. Maybe that's a matter of personal opinion/choice, but I wonder what do you think about it
First of all - thanks for very promising tool!
I was wondering - would there be a way that (via configuration) enable fuzzy search so that e.g if I have entry in history:
Foo Bar Baz
and if I search
fbb
it matches entry from above?
Cheers
I love that somebody is actively developing a lightweight clip board manager! Thank you! 👍🏼
I would like to see two features Clipy features:
Cheers!
Hi,
Thanks for the nice app <3
There is an issue with search functionality:
What happens:
Whats expected:
Screen record: Record.mov.zip
I am often copy/pasting color codes and it is really helpful to see which one is which.
Hello, I'm using this command, but it seems that is not working...
defaults write org.p0deje.Maccy hotKey command+option+v
Anything wrong?
It would be nice to have a separate pasting shortcut which strips styles when pasting.
Hi,
I'll looking for a feature in your clipboard manager to delete single entries of the history (e.g. passwords).
Is where an existing way to do that? Or might it be possible in the future?
Thanks for help
Tobias
Hotkeys don't change for alternate keyboard layouts, e.g. Cmd+Shift+V becomes Cmd+Shif+K under Dvorak
After updating to version 0.6.0, setting
defaults write org.p0deje.Maccy pasteByDefault true # default is false
has no effect.
Moving back to release 0.5.1 'paste by default' works as expected.
I would like to have log where all items are stored.
Even better if each item has time stamp. Thanks!
After using Maccy for some time, selecting with arrow keys and Enter stops working. This bug can be easily reproduced with the following steps:
At this point selecting with arrow keys stops working.
It seems like the problem lies somewhere in the chain of event handlers below the one Maccy defines. If I change our event handler to call the next one:
diff --git a/Maccy/FilterMenuItemView.swift b/Maccy/FilterMenuItemView.swift
index 7d04f74..ebab227 100644
--- a/Maccy/FilterMenuItemView.swift
+++ b/Maccy/FilterMenuItemView.swift
@@ -86,7 +86,7 @@ class FilterMenuItemView: NSView, NSTextFieldDelegate {
let eventProcessorPointer = UnsafeMutablePointer<Any>.allocate(capacity: 1)
eventProcessorPointer.initialize(to: processInterceptedEvent)
- let eventHandlerCallback: EventHandlerUPP = { _, eventRef, userData in
+ let eventHandlerCallback: EventHandlerUPP = { eventHandlerCallRef, eventRef, userData in
guard let event = eventRef else { return noErr }
guard let callbackPointer = userData else { return noErr }
@@ -97,7 +97,9 @@ class FilterMenuItemView: NSView, NSTextFieldDelegate {
if eventProcessed {
return noErr
} else {
- return OSStatus(Carbon.eventNotHandledErr)
+ let response = CallNextEventHandler(eventHandlerCallRef, event)
+ print("Response \(response)")
+ return response
}
}
The in a normal behavior it prints "Response 0" all the time, but when the bug starts it prints "Response -9874" (eventNotHandledErr
).
Any help is much appreciated because frankly I have no idea how to fix or workaround this issue.
It seems like selecting an item by pressing Enter on numpad does not work.
Hi,
I never reboot my Mac unless it is required , like a system update etc. That's why the clipboard history on Maccy grows enormously. A simple setting for history size, "Keep n clipboards" will be useful.
A launch at login feature would be nice.
I ran the command in my terminal
defaults write org.p0deje.Maccy pasteByDefault true
closed Maccy and reopened it, and tried a paste after selection and it didnt seem to work
Mojave 10.14.6
Maccy 0.4.1
Apologies if this is already noted and maybe I can dive in and implement myself when I get the time.
Great clipboard tool! Doesn't try to do what it is isn't, simple!
I wonder if there is a way to make searching faster because right the program hangs for about 10-20 sec on each key press when in the search field, for relatively small clipboard history (about 50-100 entries).
I just read about Maccy in the Dense Discovery news letter, so I thought I'd give it a try. Installing it via brew was not a problem, but when I try to start it, I get a pop-up that says:
“Maccy.app” can’t be opened because Apple cannot check it for malicious software.
This software needs to be updated. Contact the developer for more information.
Homebrew Cask downloaded this file today at 6:59 AM from github.com.
Can we have the option to exclude password managers (Lastpass or 1Password) input from showing on the Maccy app. while still being on the clipboard of course
I was wondering if you would consider adding an optional setting in Maccy to simulate a Cmd+V keypress after a string is chosen in Maccy - thus pasting whatever has just been moved into the clipboard at the current position of the cursor? I'm not sure how feasible this is on macOS without demanding accessibility permissions from everything.
It would be awesome!
This thing may really scare any user:
brew update brew cask upgrade maccy killall Maccy # closes the app if it is running open /Applications/Maccy.app # opens the new version
I think it would be better to add
uninstall quit: 'org.p0deje.Maccy'
to the maccy.rb
Cask.
And shorten "Update" to
brew cask upgrade maccy
open -a maccy
I find it the default value for history size 999 is a little unnecessary and causing the app to be frozen while open up the app, maybe 100 is a good default setting?
An option to instead of still having to press command+v have the selected item pasted on selection from list.
Hi
When trying to compile the project I get the compile error "No such module 'HotKey'. I know it's something to do with packages or whatever, but am lost trying to get this to work.
Help!
Right now I have to adjust the key binding in the sources manually and compile the project myself because I got used to cmd+shift+v
, but the default keybinding is hardcoded as cmd+shift+c
which feels more like copying to me, rather than pasting.
Would be cool if there would be an option in preferences or at least some config file where it can be changed.
I think it will be very useful to show the most used and copied items first, and then the others, instead of showing them just in chronological order.
One of the users (@cr0t) has requested to add another separator after "Clear" element to avoid misclick on "About".
On macOS 10.14.1, when I click an item in the Maccy dropdown or menu bar icon menu, or select it with arrow keys and press Enter, no text is entered. Text isn't entered in any app, as far as I can tell.
Otherwise, Maccy is superb! ;)
When you open Maccy with ⌘+⇧+C
and then press ⌘+C
by accident, you clear all your work. Maybe give an option to edit or disable this (or even a confirm dialog/Undo last action).
Is it possible to support 10.13?
Would it be possible to filter the passwords copied from (e.g.) 1Password?
Hi,
I can't quite reproduce it, but sometimes if I haven't used Maccy in a while (a few minutes to hours) and then press the hotkey, it takes a few seconds to load the list. When this happens I'm always being presented an old list. So I close the context menu right away, immediately press the hotkey again - the list pops up quickly and shows the most recently copied entries.
Originally I had my historySize set to 1000. I've tried reducing it to 100, but still had the same problem. I am running 0.4.0 and I have also tried rebooting the Mac entirely. Any ideas what I could do?
Kind regards
When Maccy is running it prevents the Universal Clipboard feature between iOS und macOS.
Copying on macOS an pasting on iOS works.
Copying on iOS and pasting on macOS doesn't work.
Firstly, thanks for the hard work making this app. It suits my daily needs perfectly!
As seen in the title the context menu doesn't respect dark mode.
I attempted to see if this could be solved easily using
defaults write org.p0deje.Maccy NSRequiresAquaSystemAppearance 0
which was something I learned about on the Sublime Text forums. Unfortunately this didn't fix the issue. I don't know enough about Swift to do a PR but if I can help in anyway let me know. :)
Entries that are longer than Maccy width get ...
but on hover I can't see the whole entry
Ideally - while hovering these items we could get a tooltip presented with the whole text
I saw Maccy in ProductHunt although there was CopyQ which does a lot feature but buggy on macOS, it would be nice to implement some of the similar CopyQ features.
I'm trying to set Control+`
as my hot key but Maccy wouldn't show up when I hit the combination (after restarting the app, of course).
Here is what I tried so far:
defaults write org.p0deje.Maccy hotKey control+\`
defaults write org.p0deje.Maccy hotKey 'control+`'
defaults write org.p0deje.Maccy hotKey control+\\\`
I used Perf Setter to confirm that the setting is indeed control+`
Any help would be much appreciated.
I am using 0.5.1. Sometimes after type the shortcut, it will take at least 5 seconds to open up the menu. Sometimes it can be opened instant. I am not sure why. It's really unreliable for me.
Can the app have the ability to request update or auto-update within the app
defaults write org.p0deje.Maccy hotKey command+shift+v
killall Maccy
open /Applications/Maccy.app
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.