Code Monkey home page Code Monkey logo

devutils-app's Introduction

DevUtils.app

Developer Utilities for macOS


๐Ÿš€ ย  Download | ๐ŸŽฌ ย  Demo & Screenshots | ๐Ÿ“ ย  View source | ๐Ÿ“ฃ ย  Follow on Twitter

Format/Validate JSON, encode/decode Base64, convert timestamps, debug JWTโ€ฆ with just one click! Native macOS app and works offline.

A friendly note โค๏ธ

DevUtils is a paid "source-available" app. That means I'm selling the pre-built version of the app. It takes time and effort to develop, distribute, maintain, and provide supports. If you like the app, please consider buying here (one-time purchase). That would help me a lot! Thank you very much! ๐Ÿ™

Source code

This source code is a delayed version of DevUtils.

Development environment:

  • Swift 5.1+
  • Xcode 11.1+
  • Swift Package Manager
  • Carthage

Build Instructions

Contributing

Please see CONTRIBUTING.md

Contact

devutils-app's People

Contributors

danielewood avatar justin-credible avatar trungdq88 avatar weitieda 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  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

devutils-app's Issues

[Feature] Allow to disable global hotkey

I don't need or want the global hotkey, so please let us disable it altogether.
Of course I can set it to some key combination that I'd never use but that is pretty much a hack.

Feature Request: Regex

I think something that would fit in perfectly with these tools is a simple regex match tester. Something like what you would find on https://regex101.com/, but without the explanation box or anything too complex, at least to start.

Just the two inputs for your pattern and your string to test against, along with a list of matches in the right side bar. Maybe even syntax highlighting the matches? I think that would be a great addition.

Set substitution defaults

Initially I was having issues with JSONs due to my system wide substitution being the macOS default of smart-quotes. As soon as I would click the JSON example, it would appear momentarily, then show as Invalid JSON.

I think it would be beneficial for DevUtils to be opinionated and default to either disabling smart quote substitution or set the substitution to be classic straight quotes. This may be an Apple thing you cant change.

Example of what the defaults should probably be:
image

Feature request: DiffChecker

Numerous people use online diff checkers to compare files, PDFs, code snippets and a way to compare them offline is going to make this app super awesome.

Support multiple JSON lines in JSON Linter.

Quite often I'll be dealing with JSON formatted logs with lines of JSON. It would be nice if I could paste a section in and it lint all the input.

image

As a bonus, instead of showing "Invalid JSON", if it could have an option to partially-parse the JSON and highlight the syntax errors, much like VS Code does, that would be lovely.
VS Code Example(removed an end quote from price):

image

Add tools keywords for search

For example, it would be nice if, when searching for "binary" or "decimal", the "Number Base Converter" tool would show up.

Reciepe

Thanks yor the app! I bought it a few minutes ago and really really like it! But other than promised on the thank you page, I just got a download link โ€“ no reciepe. How do I get one? Really need it.

Signing error

I get error

No account for team "432TM87K7L". Add a new account in the Accounts preference pane or verify that your accounts have valid credentials.

and

No signing certificate "Mac Development" found: No "Mac Development" signing certificate matching team ID "432TM87K7L" with a private key was found.

I have changed the Team in the Signing and Capabilities tab of the DevUtils project to my personal team. How do I fix this?

Mac App Store?

Would it be possible to submit this to the Mac App store? I'd be happy to pay more for it to offset the costs. It's easier to manage all my licenses via App store (vs emails/license keys/etc).

More info on how to build

Could you please provide more info on how to build? Especially after Bootstrap carthage: carthage bootstrap --platform macOS step. Thanks!

Crash app on Number Base Converter

Description

Crash app on Number Base Converter feature

Steps to reproduce

  1. Open DevUtils
  2. Choose Number Base Converter
  3. On fields: Base 2, 8, 10, 16 -> Type
  4. Crash app

image

Environment

  • Version: 1.6.0
  • OS: macOS 11.1

Build instructions aren't comprehensive enough for those of us who aren't MacOS/iOS devs

This looks like a great app - however, coming from a web app background the build instructions are not comprehensive enough.

  1. Clone repository. Easy enough, git is fairly universal for all devs
  2. Bootstrap carthage: carthage bootstrap --platform macOS. Installed carthage using brew, ran the command
  3. Update signing Team to be your Personal or organizational Team. What?
  4. Run. Run what? Admittedly I've not done step 3, but I would expect step 2 would result in an app file somewhere.

I do appreciate the effort that's gone into making this and understand that for a small fee I could buy the app built - but you'd have a much larger audience if you made the open source instructions more inclusive for non-Apple devs.

strlen feature

Thanks for this nice tool

Sometimes I need to know how long is a string, using https://www.strlen.nl is possible, but pasting data online.... this feature is in the idea of DevUtils

[Feature] User agent info

It would be nice, if the tool supports fetching user's device, os from user agent

For example:

If i paste this UA string below to the tool:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

It will return some useful info like:

{
  device: Laptop,
  os: Window 10,
  browser:  Chrome
}

Provide option to switch inputs in diff checker

This is a common feature I have seen on other diff tools and can be useful when we want to switch the base text to compare against.

The following is a screendhot from Intellij which can compare 2 selected files:
image

What is the license of the project?

I don't see any license attached to the repo. So, what is the license of the project? I want to build it from source code but want to know what I am allowed to do with it.

Feature Request: Lorem ipsum text generator

Something like generator.lorem-ipsum.info to generate placeholder text would be useful.

Maybe add options to specifically include non-ASCII characters and emoji, which would be useful in testing software to ensure that string handling is correct.

[Feature] Add PHP unserialize/serialize

It's such common as a PHP developer to convert or edit (a nightmare) serialized objects stored in database or everywhere else.
https://www.php.net/manual/en/function.unserialize.php

On MacOs, there's php installed by default, so would be pretty easy to do.

Unserialize

tmp_serialized.txt content:

a:6:{s:7:"task_id";s:19:"0161052925790982000";s:8:"time_sur";s:10:"1610406000";s:16:"version_notified";s:7:"1.7.6.8";s:12:"cf_sitetitle";s:8:"My title";s:13:"cache_preview";i:120089;s:9:"cf_passwd";N;}

Unserialize it in command line:
php -r "var_export(unserialize(file_get_contents('tmp_serialized.txt')));"

Result:

array (
  'task_id' => '0161052925790982000',
  'time_sur' => '1610406000',
  'version_notified' => '1.7.6.8',
  'cf_sitetitle' => 'My title',
  'cache_preview' => 120089,
  'cf_passwd' => NULL,
)

Serialize

The same thing to php serializing something:
php -r "echo serialize(file_get_contents('tmp_unserialized.txt'));"

Ps: I'm not used to develop MacOS application, otherwise, I would do a PR

Also, thanks for your app ๐Ÿ‘

Show information on certificates

It would be cool if DevUtilsApp had a feature to decode certificates. Nobody wants to paste private certificate keys into some random website and trying to remember the correct openssl command to decode a certificate is a pain in the behind.

Maybe you can leverage macOS's QLPreviewController which supports certificates.

Add support for XML formatter/validator

For some projects I have worked on in the past, XML is used as the data format. E.g sitemaps, product catalog exports, etc. Would like to see a feature to prettify large XML files

[Feature] Add unserialize/serialize PHP objects

It's such common as a PHP developer to convert or edit (a nightmare) serialized objects stored in database or everywhere else.
https://www.php.net/manual/en/function.unserialize.php

On MacOs, there's php installed by default, so would be pretty easy to do.

Unserialize

tmp_serialized.txt content:

a:6:{s:7:"task_id";s:19:"0161052925790982000";s:8:"time_sur";s:10:"1610406000";s:16:"version_notified";s:7:"1.7.6.8";s:12:"cf_sitetitle";s:8:"My title";s:13:"cache_preview";i:120089;s:9:"cf_passwd";N;}

Unserialize it in command line:
php -r "var_export(unserialize(file_get_contents('tmp_serialized.txt')));"

Result:

array (
  'task_id' => '0161052925790982000',
  'time_sur' => '1610406000',
  'version_notified' => '1.7.6.8',
  'cf_sitetitle' => 'My title',
  'cache_preview' => 120089,
  'cf_passwd' => NULL,
)

Serialize

The same thing to php serializing something:
php -r "echo serialize(file_get_contents('tmp_unserialized.txt'));"

Ps: I'm not used to develop MacOS application, otherwise, I would do a PR

Also, thanks for your app ๐Ÿ‘

Cannot build because of Highlightr missing framework schemes

Hey there!

I'm trying to build your app locally on my Mac (Catalina 10.15.7). I run carthage bootstrap --platform macOS and I get the following output:

*** Checking out Highlightr at "2.1.0"
*** Checking out ShortcutRecorder at "3.3.0"
*** xcodebuild output can be found in /var/folders/30/y6syzx6d2997wbgl7jyn9wp00000gn/T/carthage-xcodebuild.xU4c1k.log
*** Downloading ShortcutRecorder.framework binary at "3.3.0 (2020-07-12)"
*** Skipped building Highlightr due to the error:
Dependency "Highlightr" has no shared framework schemes for any of the platforms: Mac

You can see it fails at building Highlightr. I checked out the RobertoMachorro/Highlightr repo and it does have the .xcodeproj dir in the repo. I tried pointing the Cartfile.resolved to "master" and also to the original repo: raspu/Highlightr, but the problem persists.

Any input?

[Feature] Remember tool settings between app restarts

Some tools offer settings that are currently not persisted and reset to their default values after restarting the app.
For instance, all the beautify/minify tools offer a setting to control the number of spaces or tabs. But that setting resets to its default value after restarting the app.

JSON <=> Javascript stringifier / parser

Often times, whether itโ€™s debugging requests or setting up json configs, I kept wishing I had this little utility.

Related #48. But in addition to a parser, also a stringifier

Show JSON path to key/value.

It would be great if on a linted JSON, I could click on a value or a key, and it would show the path (and be copyable).

As an easier alternative to selectable test, if it showed up along with the find result, that would be awesome.

This would be really handy for building JQ queries (a live interactive JQ query builder would be amazing, but that is asking a bit much).

Example:
Clicking on "Sword of Honour" would show the path of .store.book[1].title
image

If you do an XML linter, the same functionality for finding xpaths would be great as well.

Error while running project in XCode

After carthage bootstrap --platform macOS has run successfully and signing & capability is configured fine, I try to run the project in Xcode and face the following error:

Showing All Messages
DevUtils-app-master/TINOBHNYWE/DevUtils-Bridging-Header.h:5:9: 'DiffMatchPatch/DiffMatchPatch.h' file not found

Is there a build or inclusion step I am missing here? Thank you for your support.

MacOS version: macOS Catalina
version 10.15.7
Xcode Version 12.1 (12A7403)

[Feature] Regex pattern test for multiline

Hi there,

Thanks for awesome tool, I just bought it! It would be great if the Regex tester can work for multiline. Attached the screenshoot about my usecase.

Screen Shot 2020-12-17 at 6 49 19 PM

Thanks,
James

Add favourite tools support

It would be nice if you could have a separate list of favourite tools, so they're easier to access, especially when searching a couple of letters gives you more than 1 result, and you have to scan all of them to figure out which one you actually need.

JSON to JS converter

Feature Request: could you add a utility to convert JSON to a Javascript object? This mostly involves removing quotes from the JSON keys. I currently use this website a lot and would love to be able to do this in your app offline!

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.