1
0
mirror of https://github.com/o2sh/onefetch synced 2024-07-05 00:58:35 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
o2sh
ec4c9e185d
fix oz ascii logo 2024-06-15 21:25:07 +02:00
o2sh
665ff8fcd7
fix oz ascii logo 2024-06-15 21:21:04 +02:00
Ossama Hjaji
89f1943bc8
init (#1337) 2024-05-06 10:56:15 +02:00
o2sh
324f3dfd2e
Revert "feat: add Twig language support with ASCII art and color scheme (#1257)"
The ASCII logo needs some rework, I'll revert for now.

This reverts commit 41c3ecf75e.
2024-04-28 20:40:38 +02:00
Antonio Souza
41c3ecf75e
feat: add Twig language support with ASCII art and color scheme (#1257)
Co-authored-by: Spenser Black <spenserblack01@gmail.com>
2024-04-10 12:01:21 -04:00
o2sh
a93c719b4d
fiz oz logo 2024-03-03 13:08:13 +01:00
o2sh
45136ec9c7
fix oz log 2024-03-03 12:52:18 +01:00
luxluth
5ecab1ebf7
lang: Adding Oz programming language (#1280)
* lang: Adding Oz programming language

* Cleaning the design

* Colorizing a missing white

* make oz logo more symetrical

* fix

* fix

---------

Co-authored-by: o2sh <ossama-hjaji@live.fr>
2024-03-02 14:19:42 +01:00
Grace
f4814399ca
Add svg language support (#1266)
* Add svg language support

* fixed symmetry

* removed extra line i added by accident
2024-02-07 18:47:29 +01:00
Zoltán Balázs
621da736df
Add Agda to languages.yaml (#1216)
* Added Agda to languages.yaml

* Updated Agda logo
2023-11-27 20:52:12 +01:00
o2sh
1ecccad612
remove hex color for arduino 2023-09-20 10:50:59 +02:00
Rostislav Otevrel
99f64b8163
New language: Arduino (#1176)
* Update languages.yaml

Add arduino language support, since arduino is basically cpp, the chip refers to cpp.

* Fix `chip` value

* Shrink the ASCII art

Shrink the ASCII art to make the linter happy...

* Revert "Shrink the ASCII art" and fix whitespace

The ASCII art was mostly fine besides the trailing whitespace, and
didn't need to be shrunk further.

This reverts commit 161baa4afe.

* o2sh's ASCII edit

Cleaner than mine ASCII art made by o2sh.

---------

Co-authored-by: Spenser Black <spenserblack01@gmail.com>
2023-09-20 10:47:25 +02:00
sandwich
b5f32570a2
add odin support (#1064)
* add Odin

* Update languages.yaml

* Update languages.yaml

* add slight gradient

* Update languages.yaml

* update colors

* apply gradient

---------

Co-authored-by: o2sh <ossama-hjaji@live.fr>
2023-07-28 16:25:31 +02:00
o2sh
059fbf6069
fix colors c language 2023-06-19 22:45:27 +02:00
progDes007
7593eb5339
Hlsl support (#1082)
* Added HLSL language support

* Removed redundant lines

* Feedback fixes for HLSL logo

* Different graphics for HLSL

As suggested by o2sh
2023-06-19 19:08:44 +02:00
o2sh
caf083f882 clean coldfusion ascii logo 2023-04-01 15:00:21 +02:00
Christopher Steele
69738b10c3
Add Coldfusion and ColdfusionScript support (#971) 2023-04-01 14:51:08 +02:00
Roland Chastain
f858d13290
Add Pascal support (#989)
Co-authored-by: rchastain <eschecs2018@gmail.com>
2023-03-22 18:42:33 +01:00
o2sh
07c0858228 trim some ascii logos 2023-03-17 19:47:51 +01:00
o2sh
70b669e1f4 update scala logo 2023-03-08 18:40:26 +01:00
o2sh
c575ba91b2 revert last change 2023-03-07 20:15:42 +01:00
o2sh
411b510e1d clean scala logo 2023-03-07 20:14:22 +01:00
o2sh
2920244828 smoother curves glsl logo 2023-02-16 19:06:26 +01:00
o2sh
fb6de3b3d2 smoother curves glsl logo 2023-02-16 18:56:25 +01:00
o2sh
45ae7422b1 smoother curves glsl logo 2023-02-15 23:02:20 +01:00
o2sh
fa2d0e01e5 smoother curve in glsl logo 2023-02-15 22:42:01 +01:00
Arnis Jaundzeikars
a029938d61
Add GLSL language support #490 (#824)
* Add GLSL language support #490

Logo is a mash-up of OpenGL and OpenGL ES logos.
All tests pass.

* Adjust GLSL ASCII art

Slight changes based on cleaned-up logo by @o2sh
https://github.com/o2sh/onefetch/pull/824#discussion_r1106486998

---------

Co-authored-by: Spenser Black <spenserblack01@gmail.com>
2023-02-15 19:53:42 +01:00
Spenser Black
5379ecd127
Fix Markdown / Jupyter markup not getting counted (#937)
* Conditionally count lines based on language type

This allows an optional definition of the line type for a language. If
it is defined, it will sum them together. Defaults to using `.code`.

Fixes #933

* Simplify name of LOC counting function

"compile" is a bit of a misnomer, since it's related to any compilation,
but merely counts the number of lines of code for a language.

Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>

* Reduce clutter of output `loc` function

Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>

* Use templated `loc` function for total LOC

* Remove reference to tokei from languages file

This references internal logic, and is unnecessarily wordy. Instead,
this field is now described in CONTRIBUTING to explain what it is and
what values it can take.

Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>

* Add unit test for `get_total_loc`

* Recursively count code stats LOC

* Unset line types for Jupyter Notebooks

All lines are counted from the language's children.

Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>

* Remove unnecessary recursion

`.summarise()` accomplishes what recursion was doing.

Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>

* Refactor to make templated functions private

This adds public wrapper functions to the templated functions and makes
them private. This makes it so as much code is in actual Rust code, and
leaves the template to only manage the repetitive code.

* Add Jupyter total LOC test

Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
2023-01-24 19:42:27 +01:00
Ossama Hjaji
17165192bf
Turn AsciiArt.rs into its own crate (#934)
* make ascii art into its own crate

* add symbolic link for licence.md

* cargo sort

* add readme
2023-01-18 21:45:10 +01:00
ozwaldorf
6abae3471a
feat: makefile support (#921)
* feat: makefile support

* chore: align makefile section in languages by alphabet

* chore: colorize makefile gnu

* refactor: match linguist color entry for Makefile

Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>

Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
2023-01-07 17:48:27 +01:00
o2sh
edb5691300 revert last commit 2022-11-19 21:29:30 +01:00
o2sh
f8acd9483a clean visualbasic ascii logo 2022-11-19 21:25:55 +01:00
o2sh
afe37c5c7a center lettering in visual basic logo 2022-11-19 18:06:45 +01:00
Antoni Zyla
cc2505c853
VisualBasic language support (#867)
* VisualBasic language support

* changed vb.net chip colour

* vb.net looks nice now
2022-11-19 17:47:31 +01:00
o2sh
f47bfb0ae4 update assembly logo 2022-10-16 23:27:25 +02:00
o2sh
193af379d7 update assembly logo 2022-10-16 21:57:17 +02:00
o2sh
a28a75be80 update assembly logo 2022-10-16 21:54:18 +02:00
o2sh
cbf7c7b0e3 update assembly language 2022-10-16 21:45:00 +02:00
o2sh
18e4fe51fb update assembly logo 2022-10-16 00:24:58 +02:00
o2sh
39e9090b35 update assembly logo 2022-10-16 00:09:45 +02:00
o2sh
96618c8306 update assembly logo 2022-10-15 23:47:45 +02:00
Alessandro Menezes
4e5b2e258d
Improve Bash logo (#795)
* Improve Bash logo

* Changing bash logo to the suggested by reviewer
2022-10-15 21:42:12 +02:00
Aaron Luft
00d3905a3b
adding language ABAP #490 (#821)
* adding language ABAP #490

* improving blue contrast in dark theme

* improving ABAP logo shape and color
2022-10-13 09:06:58 +02:00
o2sh
d6d329dd69 revert last change 2022-10-10 00:28:39 +02:00
o2sh
9e4f6df71f update abnp logo 2022-10-09 23:50:45 +02:00
Aaron Luft
9742b6dd9c
adding language ABNF (#811)
* adding language ABNF

* Update languages.yaml

Co-authored-by: Spenser Black <spenserblack01@gmail.com>

* Update languages.yaml

Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>

Co-authored-by: Spenser Black <spenserblack01@gmail.com>
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
2022-10-09 20:32:34 +02:00
o2sh
86d237b673 update systemverilog logo 2022-10-07 23:59:36 +02:00
o2sh
40833dbf38 update typescript logo 2022-10-07 19:44:09 +02:00
o2sh
5e35023502 update js and ts logo 2022-10-07 00:17:39 +02:00
o2sh
23722dcc53 update systemverilog logo 2022-10-06 23:53:51 +02:00