github-linguist/linguist
View on GitHub ↗ ★ 13,760 Ruby
Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
94 mentions on Hacker News by 79 people: 12 stories, 82 comments · first 2011-12-19 · latest 2026-08-16
20082026
-
…find JSCAD modeling inside Atom useful? Tips/suggestions? I've been working on this project [1] [0] https://github.com/github/linguist/pull/2712 [1] https://atom.io/packages/atom-scad-preview
comment by matiasb · 2016-01-14 · in Atom text editor 1.4 released -
…allow one JSON expression per line. I see someone already created a GitHub linguist issue for it: https://github.com/github/linguist/issues/2217
comment by benatkin · 2015-09-26 · in JSON Lines -
It looks like a simple count of the language(s) detected by the linguist project -- https://github.com/github/linguist Agreed, does not make much sense if it isn't a weighted average. A simple count could very well be littered with…
comment by justboxing · 2015-08-19 · in Language Trends on GitHub -
None actually. Haven't gotten around to troubleshooting linguist yet - https://github.com/github/linguist#troubleshooting
comment by geno149 · 2015-06-03 · in Show HN: Use wealthbot.io to easily setup your own portfolio management platform -
Because of some technical reasons language renames can't be handled by Github at all currently: https://github.com/github/linguist/pull/1936 Edit: The now deleted post was asking about whether Nim code could finally be identified as "Nim"…
comment by def- · 2015-05-05 · in A small kernel written in Nim -
…code, which I hope will be fixed soon [2]. [1] http://libraries.io/search?languages=Standard+ML [2] https://github.com/github/linguist/issues/2208
comment by amirmc · 2015-03-16 · in Libraries.io – Open-Source Discovery Service -
I'm using https://github.com/github/linguist for language information, still waiting for this pr to be merged for the Nimrod => Nim change: https://github.com/github/linguist/pull/1936
comment by andrewnez · 2015-03-16 · in Libraries.io – Open-Source Discovery Service -
Github's language detection is actually open-source — you can have a look at what it does here: https://github.com/github/linguist Linguist uses a number of different 'strategies' to identify the language – in the case of C vs. Objective…
comment by matthewmacleod · 2015-03-12 · in Foreign Linux: Run Linux binaries on Windows without drivers or modification -
…or developed as far as i can tell. If you have Ruby in your stack, it's easy -- use github's own https://github.com/github/linguist You might also be able to use just the language definition files from https://github.com/syntaxhighlighter
comment by coolmitch · 2015-02-21 · in Highlight.js – Syntax highlighting for the Web -
Of course it does: https://github.com/r0nk/ward/blob/master/hello.bf https://github.com/github/linguist/blob/master/lib/linguist/... Just not in Ace (their code editor). It doesn't count it in language statistics, though.
comment by Argorak · 2015-01-07 · in I made a debugger that draws the state machine of the program -
…up guidelines for contributing [0], and a glance at the PRs shows much more engagement now. [0] https://github.com/github/linguist/blob/master/CONTRIBUTING.... [1] https://lwn.net/Articles/370157/
comment by sciurus · 2014-12-07 · in Ignoring pull requests discourages open-source contributions -
The first lexer was added over a year ago: https://github.com/github/linguist/pull/678
comment by gjtorikian · 2014-11-25 · in Crystal: the programming language -
…correct. The blog post links to an issue in which an official statement (and a graph) can be found: https://github.com/github/linguist/issues/1717#issuecomment-... >By using TextMate grammars we also get some nice features like…
comment by cremno · 2014-11-24 · in GitHub dropped Pygments -
…that the burden of proof is on showing why it's worth introducing the additional complexity. [0]: https://github.com/github/linguist/blob/master/lib/linguist/...
comment by couchand · 2014-05-21 · in Business Case for JavaScript and Node.js / JXcore -
…uses linguist to identify the codes programming language and unfortunately it's far from perfect - https://github.com/github/linguist There are known issues with distinguishing code between certain languages. For eg. There are issues…
comment by draegtun · 2014-05-17 · in Programming Language Popularity on GitHub and Stack Overflow -
…are a number of other low-hanging fruit that are causing projects to be misclassified as well. [0] https://github.com/github/linguist/pull/856
comment by chimeracoder · 2014-05-04 · in GitHub Language Trends -
…being counted in by following some conventions, see the patterns ignored by Github's linguist https://github.com/github/linguist/blob/master/lib/linguist/...
comment by yaph · 2014-05-04 · in GitHub Language Trends -
…if they weed out duplicate copies of, say, jQuery. Linguist tries to filter out things like that: https://github.com/github/linguist/blob/master/lib/linguist/...
comment by coyotebush · 2014-05-04 · in GitHub Language Trends -
▲ 5
Dramatically enhance colors for JavaScript and CSS (GitHub)story by dsilver · 2014-04-24 · 0 comments
-
It is the software the identifies % of language used in a repository and highlighting etc. https://github.com/github/linguist I just haven't heard anything bad about it so am curious why OP calls it a "debacle"
comment by rurounijones · 2014-04-22 · in Results of the GitHub Investigation -
They actually have a set of files and libraries that they ignore (.DS_Store/jquery/boostrap/etc) https://github.com/github/linguist/blob/master/lib/linguist/...
comment by natebrennand · 2014-03-14 · in GitHub's language detection is broken -
How much you wanna bet? ( https://github.com/github/linguist/issues/985 )
comment by Allan_Smithee · 2014-03-14 · in GitHub's language detection is broken -
I'm looking at more of this, and jesus christ, this is completely wrong: https://github.com/github/linguist/blob/master/lib/linguist/... Code that commonly resides in .asp files is completely different from code that commonly resides in…
comment by moron4hire · 2014-03-14 · in GitHub's language detection is broken -
…types). Or is there a default match in the index that occurs when no other language is found? https://github.com/github/linguist/blob/master/lib/linguist/... Not instilling a lot of confidence that someone really thought through this bit…
comment by moron4hire · 2014-03-14 · in GitHub's language detection is broken -
…to fix the design issue was already done by @nox, who submitted a pull request which is still open: https://github.com/github/linguist/pull/985
comment by nbouscal · 2014-03-14 · in GitHub's language detection is broken -
Do you mean, a fix like https://github.com/github/linguist/pull/985 ?
comment by nox_ · 2014-03-14 · in GitHub's language detection is broken -
…in a gists_helper.rb file outside the Linguist repos. Note that the feature is deprecated anyway. https://github.com/github/linguist/blob/master/lib/linguist/...
comment by nox_ · 2014-03-14 · in GitHub's language detection is broken -
…objc. Classification is never 100% accurate. EDIT: Exact method that it is used is reported here: https://github.com/github/linguist/pull/748#issuecomment-374...
comment by RyanZAG · 2014-03-14 · in GitHub's language detection is broken -
Inciminated comment: https://github.com/github/linguist/pull/748#issuecomment-374... > if you'd like Mercury language detection on GitHub then with the current implementation of Linguist you need to pick a different (unique as Objective-C…
comment by bru · 2014-03-14 · in GitHub's language detection is broken -
▲ 79
GitHub's language detection is brokenstory by Allan_Smithee · 2014-03-14 · 88 comments
-
…intentional. I filed an issue for this though just in case, and perhaps they'll explain the reason: https://github.com/github/linguist/pull/856
comment by chimeracoder · 2013-12-23 · in Counting Stars on GitHub -
…of bootstrap.css to bootstrap.js, so it looks like only bootstrap.min.js is being excluded? [1] https://github.com/github/linguist/commit/d5002ef06a9f346391...
comment by coyotebush · 2013-12-23 · in Counting Stars on GitHub -
…[0] https://github.com/ChimeraCoder/go-server-bootstrap/tree/mas... [1] https://github.com/github/linguist/blob/master/lib/linguist/...
comment by chimeracoder · 2013-12-23 · in Counting Stars on GitHub -
…language detection model that the developer has zero control over Pull requests welcome :) https://github.com/github/linguist
comment by thedaniel · 2013-12-23 · in Counting Stars on GitHub -
…detect languages and index them as far as I know. I've used the list of languages from this file: https://github.com/github/linguist/blob/master/lib/linguist/... I did pick an older version as they don't always run the latest release.…
comment by misterdai · 2013-12-23 · in Counting Stars on GitHub -
Github repository web pages when down show an angry unicorn. If it's still down, here's an example: https://github.com/github/linguist
comment by newsoundwave · 2013-10-01 · in Unicorns at GitHub -
…shows that not everyone who signs up for GitHub uses an email address that's under their control. https://github.com/github/linguist/commit/99c296264ab320d41c...
comment by benatkin · 2013-05-22 · in Remember: your git commit email is public -
The good news is that anyone can do it :D Check out https://github.com/github/linguist . It's the library GH uses to detect and highlight languages; and _many_ people external from GH have contributed to it. It's just a matter of someone…
comment by epidemian · 2013-02-25 · in GitHub now supports TOML syntax highlighting -
If folks want to improve our language detection on GitHub, please take a look at https://github.com/github/linguist
comment by pjhyett · 2012-11-25 · in Github and Stackoverflow programming language popularity -
…thing is syntax highlighting for ls files on GitHub. Maybe you can make a pull to their Linguist? https://github.com/github/linguist
comment by egeozcan · 2012-06-20 · in Functional Programming in JavaScript using LiveScript and prelude.ls -
It needs to have the .coffee extension (or two variants): https://github.com/github/linguist/blob/master/lib/linguist/...
comment by Tobu · 2012-05-24 · in Github: CoffeeScript cracks the top 10 languages -
…popularity ranking on Github is still artificially inflated (sitting at #31 at the moment). [1] https://github.com/github/linguist [2] https://github.com/mozilla/rust/issues/1512
comment by kibwen · 2012-05-24 · in Github: CoffeeScript cracks the top 10 languages -
…This problem would be perfect for a tiny ruby script like Linguist: https://github.com/github/linguist . Just something simple that's given some filenames and contents that can return the license type. It'd also be nice to han
comment by technoweenie · 2012-04-05 · in Why I’d like a “license type” setting for GitHub projects -
GitHub's source code language detection is over there: https://github.com/github/linguist/tree/master/lib/linguist It doesn't measure line length, which could be a good way to detect minified JavaScript. It uses file extensions and byte…
comment by Tobu · 2011-12-19 · in The switch: Python to Node.js