macosrec
xclip
macosrec | xclip | |
---|---|---|
8 | 13 | |
74 | 1,012 | |
- | - | |
6.1 | 0.0 | |
9 months ago | 4 months ago | |
Swift | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
macosrec
-
Should you add screenshots to documentation?
I built a macOS commmand line util to take window screenshots or videos https://github.com/xenodium/macosrec Window screenshots are mostly covered by macOS built-in app, but videos are not.
Mostly grew out of a desire to post screenshots on my posts and projects.
I often wish I could see how some projects look before I install them (but they often don't have screenshots). I'm doing my bit with my projects, I hope.
-
Ask HN: What apps have you created for your own use?
- https://xenodium.com/an-ios-journaling-app-powered-by-org-pl... - Lately, I'm having a go at building a privacy-focused plain-text-based iOS journaling app. I starte building it for someone important in my life but now using it myself.
- https://flathabits.com - After reading Atomic Habits, I wanted a habit tracker but most had more friction than I wanted, required accounts, had distractions, lock-in etc. so I built a privacy-focused app, with little friction and no-lockin (saves to plain text).
- https://plainorg.com - There are a gazillion markdown apps on the App Store, but hardly any supporting org markup, so I built one.
- https://xenodium.com/scratch-a-minimal-scratch-area - I wanted a surface where I could just dump text with as few taps as possible.
- https://github.com/xenodium/macosrec - I wanted to take either screenshots or videos of macOS apps from the command line, so I could integrate anywhere.
- https://github.com/xenodium/chatgpt-shell - I'm far down the Emacs rabbit hole, so I prefer Emacs-integrated tools. Built a ChatGPT Emacs shell to see what the hype was all about ;) tl;dr it really does help.
- https://github.com/xenodium/dwim-shell-command - A way to manage and easily apply the gazillion one-liners (and more complex scripts) I've come across. I got close to 100 utils check-in now https://github.com/xenodium/dwim-shell-command#my-toolbox
- https://github.com/xenodium/ob-swiftui - Play around with SwiftUI layouts from the comfort of my preferd editor.
- https://github.com/xenodium/company-org-block - Org block completion.
- https://xenodium.com - I tend to scratch own itches and post my solutions here.
-
macOS Command-Line Tools You Might Not Know About
brew install duti
> screencapture - take screenshots
Big fan of screencapture. I wanted something similar but for capturing window videos, so I built https://github.com/xenodium/macosrec
I often wrap command line utilites with Emacs functions (don't need to remember invocation flags/structure but also enables batch invocations):
https://xenodium.com/recordscreenshot-windows-the-lazy-way
- macosrec: Take screenshots/videos from the command line
- macosrec: Take screenshots/videos of macOS windows from the command line
- Show HN: Macosrec – take videos/screenshots of macOS windows from commmand line
-
Taking screenshots or videos (gifs) of any macOS window
Will write it up at some point... tl;dr built macosrec (command-line utility) and hooked it up to Emacs via dwim-shell-command. I'm trialing the following bindings:
- Show HN: macosrec – take screenshots/videos of macOS windows from commmand line
xclip
-
macOS Command-Line Tools You Might Not Know About
I find it so annoying that these only work with plain text and RTF. On X11 there is `xclip`[0] and on Wayland there is `wl-clipboard`[1] both of which support binary file formats either through parsing the header or explicitly setting the MIME type.
This means you can do things like copy an image from the terminal and paste it into a graphical program like a browser or chat client and vice-versa. Also can be very useful in shell scripts for desktop automation.
The workaround on MacOS is to use AppleScript via `osascript` to `set the clipboard to...`.
[0] https://github.com/astrand/xclip
-
shcopy: a command line utility that copies content from anywhere, locally, remotely, over SSH...
This reminds me of xclip.
-
Best program to paste premade text from a file to where the cursor is on a desktop environment
I haven't used it in a while but xclip is a thing for X11 and you can create your own keyboard shortcuts and present a window with zenity or something.
- What are some of your favorite CLI/TUI apps?
-
clipboard: error: Error: target STRING not available
This is apparently an issue with xclip, not Neovim: https://github.com/astrand/xclip/issues/38
-
Do you find yourself often deleting a ":wq<newline>" from nano before pressing <ctrl>-X?
Lately I've become a big fan of Micro. It's as portable as Nano. By default it uses the same shortcuts as typical desktop programs: Ctrl-S for save, Ctrl-Q for quit, Ctrl-C/Ctrl-V for copy/paste, etc. It integrates well with Linux desktops' clipboards by optionally using xclip. Just like Nano, it can have multiple files open for easy copy/pasting between files. But the best thing of all is that its scripting/plugin system is plain old Lua 5.1.
- A way to copy text to the clipboard in Linux?
-
xplr - A hackable, minimal, fast TUI file explorer
Requires: xclip
- Copie e Cole pelo terminal com Xclip
-
macOS Big Sur breaks PostgreSQL because of new security API
> How do you select text in your virtual terminal with the keyboard?
with xsel(1x) or xclip(1)
https://github.com/kfish/xsel
https://github.com/astrand/xclip
What are some alternatives?
dwim-shell-command - Emacs shell commands with DWIM behaviour
neovim - Vim-fork focused on extensibility and usability
osc52pty - OSC 52 workaround for Terminal.app
micro-editor - A modern and intuitive terminal-based text editor
prefsniff - A utility to sniff preferences changes to macOS plist files
CopyQ - Clipboard manager with advanced features
tutu - Zsh bookmark navigation utility
kinto - Mac-style shortcut keys for Linux & Windows.
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
xplr.vim - Fork of https://github.com/mcchrish/nnn.vim modified to work with xplr. Until xplr has its own plugin.
exa - A modern replacement for ‘ls’.
PostgresApp - The easiest way to get started with PostgreSQL on the Mac