-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7184161
commit 95c9907
Showing
23 changed files
with
241 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
html{ | ||
background-color: #21252B; | ||
color:#dcdfe4; | ||
margin: auto; | ||
} | ||
body{ | ||
display: block; | ||
max-width: 750px; | ||
width: 90%; | ||
margin-top: 2em; | ||
margin-left: auto; | ||
margin-right: auto; | ||
margin-bottom: 2em; | ||
align: center; | ||
padding: 15px; | ||
border: 1px solid ; | ||
background-color: #282c34; | ||
font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | ||
} | ||
/* #282c34, #e06c75, #98c379, #e5c07b, | ||
#61afef, #c678dd, #56b6c2, #dcdfe4, | ||
#282c34, #e06c75, #98c379, #e5c07b, | ||
#61afef, #c678dd, #56b6c2, #dcdfe4, */ | ||
|
||
h1 { | ||
line-height: 1.2; | ||
color: #61afef; | ||
font-size: 2.3em; | ||
text-align:center; | ||
} | ||
h2 { | ||
line-height: 1.2; | ||
color: #56b6c2; | ||
a { | ||
background-color: #21252b; | ||
border-radius: .35em; | ||
padding: .075em; | ||
font-size: 90%; | ||
} | ||
} | ||
h3 { | ||
line-height: 1.2; | ||
color: #56b6c2; | ||
} | ||
h4 { | ||
line-height: 1.2; | ||
color: #56b6c2; | ||
} | ||
|
||
.header { | ||
border: 0.5px solid; | ||
max-width: 340px; | ||
margin: auto; | ||
align: center; | ||
} | ||
|
||
.current-page { | ||
text-decoration: underline; | ||
} | ||
|
||
.tag { | ||
} | ||
|
||
pre { | ||
border: 1px solid ; | ||
background-color: #282c34; | ||
border-radius: .35em; | ||
word-wrap: break-word; | ||
padding: 1em; | ||
white-space: pre-wrap; | ||
box-shadow: 5px 10px #dcdfe4; | ||
font-size: 80%; | ||
} | ||
|
||
|
||
code { | ||
background-color: #21252b; | ||
border-radius: .35em; | ||
padding: .075em; | ||
font-size: 90%; | ||
} | ||
|
||
|
||
highlight{ | ||
background-color: ; | ||
} | ||
|
||
|
||
a:hover{ | ||
transition: color .15s ease-in; | ||
color:#c678dd !important; | ||
text-decoration: underline; | ||
} | ||
|
||
a{ | ||
color:#e06c75; | ||
text-decoration: none; | ||
} | ||
|
||
br { | ||
display: block; | ||
margin: 3px 0; | ||
} | ||
|
||
.menu{ | ||
padding: 0.075em; | ||
font-size: 1.2em; | ||
} | ||
|
||
.copyright{ | ||
font-size: 0.71em; | ||
} | ||
|
||
.post__summary{ | ||
font-size: 0.4; | ||
border: 1px solid ; | ||
border-radius: .35em; | ||
box-shadow: 4px 4px #dcdfe4; | ||
padding: .575em; | ||
} | ||
|
||
.tags-list{ | ||
font-size: 0.9em; | ||
} | ||
|
||
.tags{ | ||
background-color: #21252B; | ||
color: #61afef; | ||
border-radius: .35em; | ||
padding: .15em; | ||
margin-left: .3em; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<link rel="stylesheet" href="/css/style.css"> | ||
|
||
|
||
|
||
<body> | ||
<div class="page"> | ||
|
||
|
||
</header> | ||
|
||
<section class="page__body"> | ||
<header class="content__header"> | ||
<h1>nyaa_menu</h1> | ||
</header> | ||
<div class="tags-list"><span class ="tags"> | ||
<a href="/tags/technology/">#technology</a> | ||
</span> | ||
<span class ="tags"> | ||
<a href="/tags/projects/">#projects</a> | ||
</span> | ||
<span class ="tags"> | ||
<a href="/tags/anime/">#anime</a> | ||
</span> | ||
<span class ="tags"> | ||
<a href="/tags/manga/">#manga</a> | ||
</span> | ||
</div> | ||
<div class="content__body"> | ||
<figure> | ||
<center> | ||
<img src="/images/blog/nyaa_menu_screenshot.png" width="100%" /> | ||
<figcaption>nyaa_menu scraping nyaa.si for "Chainsaw Man" english translaged manga from most to least seeded.</figcaption> | ||
</center> | ||
</figure> | ||
<p>I got quite bored a few days ago, and instead of staring at my 24 inch lightbulb I channeled a bit of my creative juices into making something… while staring at my 24 inch lightbulb. So, I enjoy south east asian media from time to time, I also like <a href="https://tools.suckless.org/dmenu">dmenu</a>, and I don’t like using my browser if I can avoid it; there often is an easier way of doing things if you’re creative enough. Somewhat inspired by Bugswriter’s <a href="https://github.com/Bugswriter/notflix">notflix</a> project, I whipped up a shell script that scrapes anime and manga magnet links from <a href="https://www.nyaa.si">nyaa.si</a> based on user search terms and flags. By default, the magnet link gets copied to your clipboard, or if you have your own transmission server you can also send the magnet link there automatically. If this utility sounds interesting to you go <a href="https://github.com/jherzstein/nyaa_menu">check it out</a>!</p> | ||
|
||
</div> | ||
|
||
|
||
</section> | ||
|
||
|
||
<footer class="page__footer"><div class="footer"> | ||
<hr style="width:100%;height:1px;border-width:0;color:gray;background-color:gray"> | ||
<style> | ||
.footer{text-align: center;} | ||
</style> | ||
<div class="link-buttons-group"> | ||
<span class="link-buttons"> | ||
<a href="https://neocities.org"> | ||
<img src="/images/link-buttons/neocitiesorg.gif"></a> | ||
</span> | ||
<span class="link-buttons"> | ||
<a href="https://libreboot.org"> | ||
<img src="/images/link-buttons/libreboot.gif"></a> | ||
</span> | ||
<span class="link-buttons"> | ||
<a href="https://sadgrl.online"> | ||
<img src="/images/link-buttons/sadgrl.gif"></a> | ||
</span> | ||
<span class="link-buttons"> | ||
<a href="https://creativecommons.org/licenses/by-sa/4.0/"> | ||
<img src="/images/link-buttons/by-sa.png"></a> | ||
</span> | ||
<span class="link-buttons"> | ||
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html"> | ||
<img src="/images/link-buttons/gplv3-88x31.png"></a> | ||
</span> | ||
</div> | ||
<div class= "copyright"> | ||
© 2024 <a href="/">Jordan Herzstein</a>, content <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>, code GPLv3, Powered by <a href="https://gohugo.io">Hugo</a>, Org Mode, Emacs | ||
</div> | ||
</div> | ||
</footer> | ||
|
||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.