6 ms·
Neofetch: Command-line system information tool written in bash
- mushufasa 5y agoI wonder what prompted this reposting.
- literallyaduck 5y agoDid I miss some news about neofetch?
- grae_QED 5y agoProbably a karma bot
- ibraheemdev 5y agoOr someone who thought it was interesting and wanted to share it with others, not knowing that it had been posted before.
- grae_QED 5y agoThey have over 140,000 points, post multiple times a day and never write any comments. They sure look like a bot. I've seen lots of profiles made around 2012 as well that post regularly but only have a tenth the amount of points as this one has. Also, not sure why you're so quick to defend them. Bots are very common now a days. Its not unreasonable to assume most of the profiles that produce massive amounts of content on most social media platforms are bots.
- krick 5y agoHuh... That's plausible. But I'm curious, how this bot would work? How does it "know" it should make this particular submission?
- ficklepickle 5y agoMust be a pretty advanced bot, because he left a comment explaining his motivation right above this thread.
- krick 5y agoOh well. Now I'm disappointed.
- iamtedd 5y agoWho are you talking about? The submitter - ingve - has many comments going back at least a year, including as a sister comment to yours.
- rhizome 5y agoNothing prevents someone from posting under an account otherwise used as a submission bot. If you actually look where they're commenting, it's usually only on stories that they submitted.
- ingve 5y agoPretty close! Actually, someone was working on a short bash script for backing up some files, tried to remove some hardcoded values, had to use google to figure out how to get the information dynamically using `sysctl` and `system_profiler`, ended up on the Github page for neofetch, and thought "hey this is great, maybe this could be useful for other people as well!" and submitted it.
- jmcgough 5y agoUsually someone just discovers it for the first time.
- diogenesjunior 5y agoI think the code could be easily re-written with Python.
- simonw 5y agoIt wouldn't be as good though, because then you'd have to install Python in order to use it.
- diogenesjunior 5y agoI think most Linux operating systems come with Python already installed (at least all the ones I use do). It could be uploaded to PyPI, which would mean installing PIP, but using pre-installed libraries would mean you could simply use git (which is usually pre-installed too), and then run `python3 setup.py install`.
- jeppesen-io 5y ago> Neofetch supports almost 150 different operating systems. From Linux to Windows, all the way to more obscure operating systems like Minix, AIX and Haiku You're making a lot of assuptions. Many servers don't have git installed. Some only have python2. Some dont even have that. Not to mention AIX or other non-linux platforms
- diogenesjunior 5y agoHow hard is it to install git and Python 3?
- georgyo 5y agoIn some environment, very hard. Especially embedded systems and corporate machines.
- mixmastamyk 5y ago
- simonw 5y agoThe implementation of this - a single, huge bash script - is actually a pretty neat thing to browse through if you want to improve your knowledge of bash. I particularly enjoyed this function that returns the ASCII-art logo for the current platform: https://github.com/dylanaraps/neofetch/blob/017aa041d86340f2b4f82c765ba84aaa096136ec/neofetch#L5514 https://github.com/dylanaraps/neofetch/blob/017aa041d86340f2...
- woodruffw 5y ago> I particularly enjoyed this function that returns the ASCII-art logo for the current platform I wonder how much of it is copied from screenfetch[1], which (I believe) is the "grandfather" for a lot of these kinds of information viewers. I wrote my own version of screenfetch[2] a very long time ago, and I'm pretty sure I just ripped their ASCII-art directly :-) [1]: https://github.com/KittyKatt/screenFetch/blob/c3a47890441166888030c1164e13447558105771/screenfetch-dev#L3062 https://github.com/KittyKatt/screenFetch/blob/c3a47890441166... [2]: https://github.com/woodruffw/screenfetch-c https://github.com/woodruffw/screenfetch-c
- forgotpwd16 5y agoRelevant, Dylan had written a piece[0] on why he created Neofetch rather attempting to improve Screenfetch. It seems he later blanked the page, I guess due to being a bit heated. [0]: https://github.com/dylanaraps/neofetch/wiki/Neofetch-vs.-Screenfetch/6091040f89b2282e40151a71e603ce3628b34637 https://github.com/dylanaraps/neofetch/wiki/Neofetch-vs.-Scr...
- gexla 5y agoGitHub Copilot strikes again.
- linspace 5y agoAnd it's actually developed as a single file. I do wonder if they have considered a solution like the sqlite amalgamation https://www.sqlite.org/amalgamation.html https://www.sqlite.org/amalgamation.html
- michaelsbradley 5y agoThere’s also ncneofetch: https://notcurses.com/ncneofetch.1.html https://notcurses.com/ncneofetch.1.html http://www.youtube.com/watch?v=dcjkezf1ARY&t=1m22s http://www.youtube.com/watch?v=dcjkezf1ARY&t=1m22s (timecode link)
- r3trohack3r 5y agoDylan is also the author of KISS Linux and the pure {sh,bash} bibles. All interesting projects. https://k1sslinux.org/ https://k1sslinux.org/ https://github.com/dylanaraps/pure-sh-bible https://github.com/dylanaraps/pure-sh-bible
- forgotpwd16 5y agoAlso author of a pure-bash file manager (https://github.com/dylanaraps/fff https://github.com/dylanaraps/fff), TUI terminal pixer art editor (https://github.com/dylanaraps/pxltrm https://github.com/dylanaraps/pxltrm), IRC client (https://github.com/dylanaraps/birch https://github.com/dylanaraps/birch), TUI client for Transmission torrent daemon (https://github.com/dylanaraps/torque https://github.com/dylanaraps/torque), and even an attempt to coreutils implementation (https://github.com/dylanaraps/bareutils https://github.com/dylanaraps/bareutils). A bash wizard someone may say.
- l2cluster 5y agoAnd my favorite, pywal (https://github.com/dylanaraps/pywal https://github.com/dylanaraps/pywal), which generates color schemes from an image.
- chubot 5y agoThis huge bash program can also be run under Oil :) Oil 0.8.pre4 - The Biggest Shell Programs in the World http://www.oilshell.org/blog/2020/04/release-0.8.pre4.html#the-highlights http://www.oilshell.org/blog/2020/04/release-0.8.pre4.html#t... (or at least it could as of a year ago)
- 2OEH8eoCRo0 5y agoSomewhat off topic but what terminal is this: https://camo.githubusercontent.com/82b03feab20083a17944229ea151c0fbd521cae0ecb44a8b2f3934ebce2e1e91/68747470733a2f2f692e696d6775722e636f6d2f47466d433541642e706e67 https://camo.githubusercontent.com/82b03feab20083a17944229ea... I've only ever used whatever the default terminal is so this seems fancy. Looks nice.
- soberpeach 5y agoIt shows xfce4-terminal
- 2OEH8eoCRo0 5y agoOh. I see.
- ducktective 5y agoI also use Xfce4-terminal but that is not its default theme. Pretty much any modern terminal emulator can be tweaked to have a purple background...
- BanazirGalbasi 5y agoThe fancy appearance is probably due to user customizations. Simply changing the terminal font to one you like better and changing the background from pure black to another color (while keeping it dark) makes a big difference on appearance. The rest is probably window decorations, which means tweaking your WM theme. [r/unixporn](https://old.reddit.com/r/unixporn https://old.reddit.com/r/unixporn) has a lot of good examples, and most people share dotfiles for you to borrow from.
- rashil2000 5y agoThere's a pure PowerShell version[0] of this, for Windows, called winfetch. The repository also has a batch alternative for systems not supporting PowerShell. [0]: https://github.com/kiedtl/winfetch https://github.com/kiedtl/winfetch
- normac2 5y agoI feel like this should be a bunch of files that are concatenated in the makefile, not one giant 10,000SLOC script. Otherwise it seems pretty organized and looks like it's following bash best practices.
- infogulch 5y agoosquery is a related open source cross-platform system information tool that exposes everything through sql syntax. The scope of information you can query for is enormous: https://osquery.io/schema/4.9.0/ https://osquery.io/schema/4.9.0/