News for hackers. Stuff that matters.
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by Fileformat on Sunday June 14, 2020 @09:07AM (#23517395)
I often need to find logos and was not impressed by the existing logo search engines, so, in classic bikeshed mode, I built my own. Because it makes total sense to try to compete with Google. And Wikipedia. And countless others (some of which I list on the alternatives page).

Why is mine better?

  - just logos
  - instant results
  - only SVGs
  - hyperlinked directly to the source
  - no right-click hijacking (or other dark patterns)
  - totally awesome domain name
It is open source (AGPLv3), so you can see the tools I use and how it works (and criticize my code). The sources have their own licenses, so be sure to check there before using.

It is still a work in progress and there are some glitches (I mean, who would use a percent sign in a file name? And I'd love to try to fix the Wikipedia redirected images if I could only find the source...), but I want to see if people find it useful.

So let me know what you think! And I'm always looking for more sources!

Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by airstrike on Sunday June 14, 2020 @06:22PM (#23521879)
Thanks for building this! I actually obsess about having high quality logos for companies in the pitchbooks I write, so have built a personal collection over time... it's not big, but it has the companies I care about.

Some things I thought I'd share from that experience:

* The hardest thing is knowing which logo is actually the most recent and therefore correct. Searching logosear.ch for, say, IBM, yields countless logos that are virtually identical, as well as some of their products (which is fine) but also many old logos like this[0], which I don't think is what your user would want to find 9 out of 10 times (i.e. as a user, if I'm looking for a niche / ancient logo, I don't mind doing the research on my own and understand it will take a while. But when I want "the right logo", I'll consider visiting a specialized logo search engine to get the right result and get it fast)

* In my experience, The best sources for finding the company logo in SVG format are:

- company website header (hit or miss as SVG adoption at first was slow, but it's increasingly good for S&P 500 type companies and tech-savvy firms... anything outside of that venn diagram is pretty bad)

- Wikipedia page either in English or in the language matching the company's headquarter (i.e. better luck with German companies in de.wikipedia.org)

- For large companies where both of the above fail, I search for "company name filetype:pdf" and look for vector logos embedded into those files, then use Adobe Acrobat to extract them in a very manual and ugly process by deleting unnecessary pages / content and cropping, and then visiting cloudconvert.com to generate a SVG (hey, it works...)

* One final comment is PowerPoint doesn't take SVG files, so I always have to convert them to .emf or .wmf before dropping them in, so maybe you should consider exporting your SVG file in other formats too, though probably not limited to just those two

––––––––––

0. https://commons.wikimedia.org/wiki/File:IBM_Logo_1956_1972.s...

Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by Fileformat on Sunday June 14, 2020 @09:30PM (#23522986)
Would you be willing to share your collection of high-quality logos with the community? I can index any github or gitlab repo with logos.

A lot of the current sources are people's personal collections that they have shared.

This is actually how I started: I made my personal collection into a website (https://www.vectorlogo.zone/). My collection is more curated, definitely in terms of size/layout, and hopefully more current, but curation is a lot of work, and not what I'm trying to do on LogoSear.ch.

I do have an SVG to PNG converting working on VLZ. I think there are open SVG to EMF/WMF libraries, so I could add that as well, but I would need some help testing it since I'm not a big PowerPoint user. Would you be willing to help?

Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by NickFanion on Monday June 15, 2020 @12:10AM (#23523712)
PowerPoint does support inserting SVG files. Microsoft added SVG support a few years ago, but it might only be available for 365 subscribers.
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by the_duke on Sunday June 14, 2020 @02:07PM (#23519827)
Looks useful.

Feedback: the result rendering is very "jumpy" due to logos loading in one at a time.

You could either render sized wrapper containers for each logo, or load them in in the background and only show them once ready (with a loading indicator somewhere).

Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by Fileformat on Sunday June 14, 2020 @04:00PM (#23520829)
I have tried various solutions, but nothing that works better than what's there now.

I only force the height for the logos, not the width, so wrapping doesn't really improve things.

Waiting to display until they are all loaded kills the "instant" tagline. I'm hotlinking the images, so some images can take awhile.

Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by whoisjuan on Sunday June 14, 2020 @04:07PM (#23520862)
In theory you should be able to get the natural height and width of the image before loading it. Not exactly sure if it works with SVGs but it does work with PNGs
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by EmilStenstrom on Sunday June 14, 2020 @04:09PM (#23520882)
Yeah, you could get the size of the images at indexing time, and return that in the search result.
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by Fileformat on Sunday June 14, 2020 @04:20PM (#23520976)
You are assuming that I actually load the image at index time: I'm really only indexing the file name.

And getting the width/height of a minimized SVG requires rendering it (or at least more SVG mojo than I possess).

Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by setr on Sunday June 14, 2020 @06:58PM (#23522141)
He's suggesting your index store the filename, height & width, and retrieve all 3 on search
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by Ayesh on Monday June 15, 2020 @02:32AM (#23524399)
You can use preconneft tags to make the browser preconneft to the likely source of the images. This usually gives a pretty big boost in speed because browsers will have already connected (DNS + TLS handshake) to the icon source's CDN.
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by AHASIC on Sunday June 14, 2020 @11:26PM (#23523473)
It's a non-issue, don't sweat it.
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by dfee on Sunday June 14, 2020 @02:54PM (#23520257)
Did not find a logo for Logosear.ch though!
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by Fileformat on Sunday June 14, 2020 @03:50PM (#23520750)
Heh. You got me! That'll be an easy one to fix though
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by tracker1 on Sunday June 14, 2020 @10:04PM (#23523141)
Very cool... I think I found a bug, in that results from a prior entry would come up on a new entry...

For example, I typed mercedes, then selected all and amg over that... in the end, some mercedes results showed on the amg screen... should probably tag your search request with the value in the input, and abandon the request/results if they no longer match.

Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by Fileformat on Sunday June 14, 2020 @10:34PM (#23523253)
Sigh. I hate debugging timing related issues that I cannot duplicate. But I already include the input in the search results API response, so your suggestion should work. I'll try it shortly.
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by alessioalex on Sunday June 14, 2020 @01:42PM (#23519623)
You were not kidding about the 'instant results' part. I like that, as well as the domain name.
Re:Show HN: Instant search of 200K+ SVG logos from 100 sources by nathanganser on Monday June 15, 2020 @10:12AM (#23527503)
.ch is great!