Git Product home page Git Product logo

devtoysmac's People

Contributors

ashwin-elangovan avatar bantak avatar danielsouzabertoldi avatar douira avatar ioncreature avatar kkebo avatar matthewvelie avatar meokz avatar mheob avatar neutric avatar obuchiyuki avatar paulca55 avatar qqpann avatar rodrigotomees avatar uschmidt avatar wibus-wee 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devtoysmac's Issues

[BUG] Image optimaizer tools throw library error

Hello,

I am very exciting with this version of DevToys for Mac, I already tried and I it is great. But I found that when I tring to compress an PNG and JPG image it throw an error with the library libpng16.16.dylib and jpegoptim. It seems that the libraries are missing from the application. This error occur in all optimizer levels.

imagen

Delete .DS_Store

.DS_Storeは~/.config/git/ignore(ユーザー全体のgitignore)に追加し、レポジトリから削除するのがいいと思います

"Encoded" and "Decoded" are swapped

Great tool guys! I just noticed a little quirk, under Encoders / Decoders the terminology for decoding and encoding is swapped:

For HTML and URL the "Encoded" textarea shows the decoded text and vice versa.
Screenshot 2022-02-15 at 15 13 57
Screenshot 2022-02-15 at 15 09 07

Also for Base64 encoding/decoding the bottom textarea should say "Encoded".
Screenshot 2022-02-15 at 15 14 04

Edit: And a little addition: I noticed, the UUID Generator is called "Hash" in the sidebar.
Screenshot 2022-02-15 at 21 54 10

UI Visual Clean-up

I am noticing several UI inconsistencies as follows.

The sidebar spacing is a bit off. I've corrected it and this is the result. I am showing it alongside Finder to show how it should look.
image

We may even consider replacing categories with collapsable list section headings instead of using an outline view (similar to the FInder sidebar - "Favorites", "iCloud", "Locations", "Tags"). This would save space and flatten up our navigation.

Changing ToolmenuCell to this should fix this. Then resize all the icon image files from 16x16 to 20x20 (or just download the resized files here).

import CoreUtil

final class ToolmenuCell: NSLoadView {
    
    static let height: CGFloat = 28
    
    var title: String {
        get { titleLabel.stringValue } set { titleLabel.stringValue = newValue }
    }
    var icon: NSImage? {
        get { iconView.image } set { iconView.image = newValue }
    }
    
    private let titleLabel = NSTextField(labelWithString: "Title")
    private let iconView = NSImageView()
    
    override func onAwake() {
        self.snp.makeConstraints{ make in
            make.height.equalTo(Self.height)
        }
        self.addSubview(iconView)
        self.iconView.snp.makeConstraints{ make in
            make.size.equalTo(20)
            make.left.equalTo(0)
            make.centerY.equalToSuperview()
        }
        self.addSubview(titleLabel)

        self.titleLabel.lineBreakMode = .byTruncatingTail
        self.titleLabel.font = .systemFont(ofSize: R.Size.controlTitleFontSize)
        self.titleLabel.snp.makeConstraints{ make in
            make.left.equalTo(self.iconView.snp.right).offset(4)
            make.right.equalToSuperview().inset(4)
            make.centerY.equalToSuperview()
        }
    }
}

The search bar is too small. See the search bar in Music, Finder, App Store or any other app and see that it should be a bit taller.
image

The search bar should also scroll with the overflow and when scrolled, a subtle line should appear dividing the window controls from the sidebar content.
image
(You get most of this for free by the way with SwiftUI, so we may consider using it instead.)

I am also noticing that there is unnecessary overflow on some of the screens where the text inputs are sized to fit the window height.

Text diff feature

Thanks for creating a great app so quickly! It would be great if DevToysMac could support Text diff functionality.

[Feature Request] Tridirectional conversions between JSON, Yaml, and TOML

I would be grateful if you could implement tridirectional conversions between JSON, Yaml, and TOML.

Specifically, the conversion maps would be:

  • JSON <> Yaml (already implemented)
  • JSON <> TOML
  • Yaml <> TOML
%%{init: {"flowchart" : { "curve" : "linear" } } }%%
graph LR;
  JSON --> Yaml & TOML
  Yaml --> TOML & JSON
  TOML --> Yaml & JSON

Thank you for developing this awesome app :)

[Feature Request] Add color picker

I want a color picker that can convert and output hex, rgb, hsl or hsv. I think color palette, alpha value support or gradation generator will be also good features for this.

"Check For Updates..." feature

Or at least, add link to this repository in the "About" window, so it will be possible to go and check manually, is new version available :)

JWT payload view to fit window

Unlike many of the other pages, the JWT page does not flex to the window size. Token payloads can be quite large and it's not very usable to scroll within a small pane.

Screenshot 2022-02-17 at 11 52 10

[feature] Convert newline separated list to quoted, comma separated

Not rarely I have a list of values per line that I need to use in an SQL IN clause - sometimes as quoted values. Would be nice to have a quick tool for doing that.

E.g.

Input:

value1
value2
value3
...
valueN

Result

'value1', 'value2', 'value3', ..., 'valueN'

Making an option whether to quote or not and wether to keep the linebreaks would be great

Concerns with DevToys for Mac

Hello @ObuchiYuki,

I'm Veler, the co-author of the DevToys for Windows. My friend @btiteux and I are very impressed by how quickly you ported our app to MacOS and we believe it's a great job! Congrats!

However, we would like to share some concerns about the direction you took and would like to try to address them in a friendly way.

Feedback

Legal issue regarding the logo

We realized a few weeks ago that the DevToys's logo was violating the license of Windows Terminal logo. See DevToys-app/DevToys#238 .
As a consequence. DevToys for Mac's logo is also violating the license of Windows Terminal. Therefore, I'd highly recommend you change the logo of your app to avoid the same license issue as us.

Association with DevToys for Windows

We see some significant differences with our DevToys app that make us question the association made with our app by naming your app DevToys for Mac.

  1. There doesn't seem to be any reused code from the DevToys app.

  2. There are some tools that require an internet connection. This is going against the main goal of DevToys: having an app that works entirely offline and that doesn't require any internet connection (at all).
    image
    We're making DevToys completely offline as an argument of security as many developers are pasting sensitive data on tools that have an internet connection (or even websites).

  3. The list of tools available in the app seems to be hard-coded. In the app, we're trying to make the tools dynamically discovered (at runtime instead of build time). This approach allows us to limit duplicated code, improve maintainability and extensibility. We have in mind to make the application even more extensible, and the approach you took in your implementation doesn't seem to go in this direction, which might interfere with the advertisement we're planning to do for DevToys.

  4. You announced on your Twitter some new tools coming in DevToys for Mac. https://twitter.com/yuki_obuchi/status/1488793587475415040?s=20&t=Le0dFJUTe9SB5zhXKrZ4Vw
    image
    We have plans to develop some of these tools, but we're not planning to develop others in the near future, in particular Image Uploader, API Tester, and IP Information since we assume they require an internet connection.

Because of these differences of approach in the development of DevToys for Mac, having your app being named DevToys may confuse both of our user bases. The main confusion here is why DevToys on Windows is 100% offline but DevToys on Mac isn't and vice-versa.

Suggested outcome

Our goal isn't to bother you but we believe that the community of users will be confused by the current state of both of our apps. We believe your app is great and we're happy to see such a tool open source for Mac (most of other similar apps for Mac aren't free). However, we're truly bothered by the association made with ours. Therefore, we'd like to propose a resolution of this inconvenience, so we don't overlap on each other and don't confuse our customers.

Propositions

  1. Please rename DevToys for Mac to something else that doesn't contain DevToys and communicate it clearly to your consumer base.
  2. Please change the logo to avoid confusion with DevToys and legal issue with Windows Terminal.

As an alternative, if you would like to keep the association with DevToys and partner with us on the developement of our both app, we would need to impose the following non-exhaustive conditions which are representative of the core values of DevToys on Windows:

  1. Remove tools that require an internet connection.
  2. Refactor the app to have some code in common and plan for extensibility.
  3. Collaborate with us to have the same UX on Windows and Mac (for example, the UX of HTML Encoder/Decoder is a bit different on Mac, according to some video you shared on your Twitter).
  4. Collaborate with us on what tool to develop and when to release them so we can have the same tools on each platform.

In addition to this, we can:

  1. Advertise your app on our website, social media, contacts...etc so you / we can have access to a wider public.
  2. Synchronize updates / work together on a road map.
  3. Make you an official developer on DevToys and merge your repository with ours.

Feel free to answer us here, on GitHub, or contact us in private on Twitter, LinkedIn and other communication channels. :)

Congrats again for this app!
All the best,
Etienne Baudoux and Benjamin Titeux

Checksum generator

Checksum generator doing strang output. I have randomly download few files

use mac shasum -a 256 filename and same in app but this sums dont match. shasum function geting right result but in devtools is a little different result.

TEST FILE: https://github.com/ObuchiYuki/DevToysMac/archive/refs/tags/0.0.7.2.tar.gz

SHASUM - 653029892428b59dfc66745d1400642393a3fd18a03a81b28e01284ba064cbca DevToysMac-0.0.7.2.tar
DevToys - 653029892428b59dfc66745d140642393a3fd18a03a81b28e1284ba064cbca

CHECKSUM-DONT-MATCH

[Enhancement] Add support to multilingual

Hi,

Can add support for multilingual? The strings are hardcoded so first it's necesary to extract it. I never worked with Swift so I can't help with this problem but I can translate the app to Spanish.

Thanks!

User experience suggestions

When using the function to optimize the size of the picture, the generated file will overwrite the original file, which I don't think is very suitable.
When using the checksum function, it will take a long time if the file is too large. I think it would be more appropriate to add a progress bar or other display to inform the user whether the checksum calculation is in progress, and it would be nice to provide a button to stop the checksum calculation currently in progress.
thanks.

JSON <> YAML & JSON Formatter not working properly

When I'm using JSON <> YAML, I couldn't find the conversion option shown in the screenshot. Also, my JSON is not being converted to YAML

Also, the JSON formatter is not highlighting the syntax

SS1.2022-02-18.at.07.48.43.mov

Double quote gets transformed.

Copy and paste works fine, but when typing double quotes into the JSON formatter, macOS transforms them to /slanted/ quotes.

{ "test": "darn" } becomes { “test”: “darn” } resulting in invalid JSON.

image

Spanish translation doesn't work

Hi,

I think I made a mistake with the translation because it is not applied despite having the system in Spanish 😕. Does it work well with the other languages?

imagen

I am using the last version v.0.0.8

Thanks

Resize textarea of JWT

The UI of the JWT encoder/decoder would be better if instead of looking like this (⏬), it looked like the UI for the Base64 encoder/decoder.

It should be full screen like the other view.

Capture d’écran 2022-02-16 à 16 09 47

Capture d’écran 2022-02-16 à 16 09 56

(I'll glady work on it this weekend if needed.)

[BUG] Hash Generator's initial values are all "Hello World"

When I first run the app and go to Hash Generator, the initial values are all "Hello World".
I suppose it should better be hashed values even if it is the first time you run the app.

Once I changed the Input value, this is fixed and I couldn't provide a screenshot.

Please provide a light theme

Some people with vision problems find it very hard to read text in dark themes. Please provide a preference for a light theme.

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.