SShortSingh.
Back to feed

Developer builds cpcp to replace macOS pbcopy, fixing newline and ANSI code issues

0
·1 views

A developer has released cpcp, a command-line clipboard utility for macOS designed to address longstanding limitations of the built-in pbcopy tool. By default, cpcp automatically strips trailing newlines, whitespace, and ANSI escape codes that pbcopy would otherwise copy verbatim. The tool also supports copying file contents or image assets directly by accepting file paths as arguments, and provides a subtle confirmation message when run interactively in a terminal. A key technical challenge during development involved macOS app sandboxing, which required the tool to write both a file URL and raw binary data to the clipboard so it would work across both Finder and sandboxed apps like Slack. cpcp is written in Swift and is currently available via a Homebrew tap, with the developer aiming to submit it to Homebrew Core once the project reaches 75 GitHub stars.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

What Real Healthcare Software Development Actually Demands Beyond HIPAA Labels

A developer who built Synectus Medico, a multi-tenant SaaS platform for personal injury clinics in the US, has outlined what genuine healthcare software expertise looks like in practice. The article argues that most agencies misrepresent healthcare capability by simply relabeling generic apps with medical terminology and adding a HIPAA disclaimer. Building real clinical systems requires strict multi-tenant data isolation, comprehensive audit trails, and workflow modeling for complex role-based access across patients, attorneys, and physicians. The developer highlights that much of the practical value in healthcare software comes not from AI features but from automating repetitive tasks like Letter of Protection generation and modeling medical billing as a formal state machine. The piece was prompted by a founder's frustration that searching for a qualified healthcare AI developer returned inconsistent and unreliable results across different tools.

0
ProgrammingDEV Community ·

Developer Builds Self-Hosted Railway Alternative for Just $2 a Month

Developer Anson Sharma shared how he built his own alternative to the Railway cloud deployment platform for approximately $2 per month. The self-hosted setup provides 4 CPU cores and 7.7 GB of RAM, offering significant computing resources at a minimal cost. The project was published on DEV Community on July 4 and covers topics spanning web development, JavaScript, DevOps, and AI. Sharma's write-up, estimated at a 9-minute read, highlights how developers can reduce cloud hosting costs through self-managed infrastructure.

0
ProgrammingDEV Community ·

Why Developers Should Keep Coding Even as AI Outpaces Human Output

The rise of AI coding tools has prompted fears of developer obsolescence, much like Deep Blue's 1997 defeat of chess champion Garry Kasparov once unsettled the chess world. However, competitive chess not only survived that milestone but grew more popular, with players using engines as training tools rather than viewing them as replacements. The same principle, the author argues, applies to software engineering: writing code, debugging systems, and reasoning through architectural tradeoffs retain value independent of AI speed. Just as chess grandmasters deepened their judgment by training against machines, developers who continue building and problem-solving by hand cultivate a form of expertise that raw AI output cannot replicate. The argument is not that humans will outpace AI, but that deliberate, sustained practice builds the kind of judgment that only comes from doing the work yourself.

0
ProgrammingDEV Community ·

Easel Game Engine Prioritizes Simplicity Over Familiarity to Drive Innovation

The team behind the Easel game engine has acknowledged that many new users find the platform difficult to learn due to its unconventional approach. Developers explain that Easel is intentionally different from familiar tools, as it aims to innovate on how games are built rather than replicate existing workflows. Drawing on computer science concepts, the team distinguishes between 'simple' (a property of the system itself) and 'easy' (familiarity based on prior knowledge), arguing that making Easel easier would compromise its core simplicity. Users who push through the learning curve have praised the engine's composability and its ability to express complex ideas with minimal code. The team states they are exploring ways to help users reach that breakthrough moment faster, without sacrificing what makes Easel powerful.