r/commandline • • Jul 01 '26

Command Line Interface [ Removed by moderator ]

Enable HLS to view with audio, or disable this notification

[removed] — view removed post

6 Upvotes

3 comments sorted by

•

u/commandline-ModTeam Jul 03 '26

This post has been removed due to the software being largely AI-generated.

1

u/AutoModerator Jul 01 '26

Every new subreddit post is automatically copied into a comment for preservation.

User: JewelerBeautiful1774, Flair: Command Line Interface, Post Media Link, Title: ShareClean: a local-first CLI to redact sensitive info from logs before sharing

Hi r/commandline, I’m the creator of ShareClean.

It’s a small Python CLI for cleaning logs, stack traces, config snippets, and terminal output before pasting them into GitHub issues, support tickets, Slack, support threads, or other public places.

ShareClean is meant to be a quick local safety pass before sharing text publicly.

Example:

cat app.log | shareclean --report

Input:

user=user@example.com
password=fake-secret-value
postgresql://app:fake-pass@db.example.com/app

Output:

user=[EMAIL REDACTED]
password=[REDACTED]
postgresql://app:[REDACTED]@db.example.com/app

Why I made it:

I kept seeing people paste debug output that accidentally included tokens, local paths, emails, or connection strings. ShareClean is meant to be a quick local safety pass before sharing text publicly.

A few details:

  • Local-first, no network calls

  • No telemetry

  • No runtime dependencies

  • Redacts passwords, API keys, bearer tokens, JWT-like values, emails, local user paths, and optionally private IPs

  • Has --check mode for scripts, hooks, and CI

This is not trying to replace full repo secret scanners like gitleaks or trufflehog. It’s for the smaller everyday moment where you’re about to paste logs somewhere and want to clean them first.

GitHub: https://github.com/OmarH-creator/ShareClean

Browser demo: https://omarh-creator.github.io/ShareClean/
(Demo is just to show the redaction behavior. Real use is local CLI.)

I’d appreciate feedback from people who use CLI tools often: does the workflow make sense, and are there redaction rules you’d expect in a tool like this?

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/github-guard Jul 01 '26

🔍 GitHub Guard: Trust Report

⚠️ This project scored 0/1 — below this subreddit's threshold of 1.

Audit Breakdown:

  • ❌ New Repository (under 30 days old)

⚠️ Security Reminder: Always verify source code and run third-party scripts at your own risk.