shite
nitter
Our great sponsors
shite | nitter | |
---|---|---|
24 | 950 | |
181 | 9,639 | |
- | - | |
7.6 | 6.0 | |
3 months ago | 27 days ago | |
Shell | Nim | |
GNU General Public License v3.0 or later | GNU Affero General Public License v3.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shite
-
Ask HN: What's the simplest static website generator?
Pandoc can be your friend. My site maker [1] is built around it.
I think a hundred or so well-chosen lines of your favourite scripting language can do wonders. Mine is ~300 lines of Bash because I over-engineered a thing or two for kicks. The core of it is maybe 50 lines.
[1] https://github.com/adityaathalye/shite
The README documents the architecture and rationale. Maybe it will help you figure out yours. Happy hacking!
-
Useful Uses of Cat
[1] https://evalapply.org
[2] https://github.com/adityaathalye/shite?tab=readme-ov-file#te...
-
500 Lines or Less – Writing a useful program in fewer than 500 line code – AOSA
Bookmarked! These look like amazing study projects; the kind one can copy and learn from. Quite like how they do it in art school. Each one of them looks like it solves a nontrivial problem, and edifies the reader on the basic contours/tenets of the problem/solution space.
I love this kind of stuff, because it shows one _can_ solve a pretty juicy problem with not that much code, honestly. Also because it suggests that the industrial-strength equivalent has a lot more in for use cases, corner cases, and/or optimisations that are not relevant for one's requirements (at least not yet, maybe not ever).
I aspire to write code like that. Useful, concise, but not obtuse. Some of my code is not as significant as those examples, and maybe falls short of my ideals, but it gets a lot done in well under 500 loc. e.g. my website maker in Bash [1] (hot-builds and hot-refreshes without JS), or the JS that drives text art animations for Hanukkah of Data [2].
[1] https://github.com/adityaathalye/shite is about 350 LoC counted this way (excluding the script containing HTML templates).
$ grep -E -v "^$|\\s?#" bin/{events,metadata,templating,utils,hotreload}.sh | wc -l
-
“Make” as a Static Site Generator
I love the code [1]. Mine [2] is a bit over engineered because I wanted hot-reloading (without JS), and it was a delightful yak shave.
But the basic idea is the same --- heredocs for templating, using a plaintext -> html compiler (pandoc in my case), an intermediate CSV for index generation.
Very nice!
[1] https://github.com/karlb/karl.berlin/blob/master/blog.sh
[2] https://github.com/adityaathalye/shite
- FLiP Stack Weekly 28 Jan 2023
- FLiP Stack Weekly 28-Jan-2023
- Show HN: Shite – little hot-reloadin' static site maker from shell
-
Show HN: Shite: The little hot-reloadin' static site maker from shell
xdotool emulates user actions under the X Window System (e.g. typing, mouse around, click etc.).
I'm using it to send keypresses to the browser, as you rightly observe.
So if I want to just reload a page, the browser gets F5.
To GOTO some page, it gets a stream of keystrokes for the URL characters and then Enter.
It's really that simple-minded, and it works!
This case statement covers my usage: https://github.com/adityaathalye/shite/blob/master/bin/hotre...
-
Pandoc [a universal document converter] 3.0
Pandoc powers my little static site maker:
cf. https://github.com/adityaathalye/shite/blob/master/bin/templ...
__shite_templating_compile_source_to_html() {
nitter
-
Mobile Ad Blocker Will No Longer Stop YouTube's Ads
Don't use Youtube without going through a proxy like Invidious [1] or Newpipe
Don't use {site} Search without going through a proxy like SearxNG [2]
Don't use TwiXXer without going through a proxy like Nitter - this has gotten more difficult lately but it still works as long as you feed the daemon some registered accounts. Video does not work at the moment but that seems to be fixable.
Don't use Reddit without going through a proxy like libreddit [4]
Start noticing the pattern? Maybe it is time to start producing promotional posters:
The only thing to come between you and ADS could be a proxy / ADS. I'ts just not worth the risk
ADS / New rules for a sane net / Sane net protects you, your partner and your community
A proxy here and a filter there, ADS nowhere
The more you tighten your grip, ${site}, the more viewers will slip through your fingers
[1] https://github.com/iv-org/invidious
[2] https://github.com/searxng/searxng
[3] https://github.com/zedeus/nitter
[4] https://github.com/libreddit/libreddit
- Nitter over IPFS or Torrent
-
Neural Network Diffusion
https://nitter.esmailelbob.xyz/liuzhuang1234/status/17601959...
(bit of trial and error from https://github.com/zedeus/nitter/wiki/Instances)
-
X blocks Taylor Swift searches after fake AI videos go viral
I assume this is why Nitter got slammed and is on the verge of breaking.
https://github.com/zedeus/nitter/issues/1154
- Nitter Shutting Down
-
Nitter Is Dead
The creator of the project left this comment an hour ago:
https://github.com/zedeus/nitter/issues/1155#issuecomment-19...
(HN removed the deep link to the specific comment from the title)
-
Something peculiar in my 2yo's bedroom led me to a revelation about our universe
Most of the time you can just replace twitter.com with nitter.net or nitter.it but when these instances are down or blocked you can use other instances listed here: https://github.com/zedeus/nitter/wiki/Instances
But as the other commenter said Libredirect is the way to go: https://libredirect.github.io/
-
YouTube is loading slower for users with ad blockers yet again
Use a Youtube proxy like Invidious [1], problem solved and you get to subscribe to channels without telling the Beast about your interests. Add Sponsorblock (which supports Invidious) to get rid of any in-stream advertising which remains and you'll be transported back to those hallowed times of yore when men were men, women were women and advertising was something you found in newspapers. Youtube will try to make this harder just like Xitter is trying to make it harder to use proxies like Nitter [2].
[1] https://github.com/iv-org/invidious
[2] https://github.com/zedeus/nitter
-
Nitter.net Has Disappeared
njal.la restored nitter.net, and replied with their reasons: https://github.com/zedeus/nitter/issues/1150#issuecomment-18...
tbh I can totally understand why they acted this way.
- Cloudflare CEO responds to viral termination video
What are some alternatives?
shell-genie - Your wishes are my commands
fritter - A privacy-friendly Twitter frontend for mobile devices
CameraTraps - PyTorch Wildlife: a Collaborative Deep Learning Framework for Conservation.
NewPipe - A libre lightweight streaming front-end for Android.
SirTunnel - Minimal, self-hosted, 0-config alternative to ngrok. Caddy+OpenSSH+50 lines of Python.
libreddit - Private front-end for Reddit
imaginAIry - Pythonic AI generation of images and videos
nitter-instances - Automated uptime monitoring of Nitter instances.
logs-benchmark - Logs performance benchmark repo: Comparing Elastic, Loki and SigNoz
Invidious - Invidious is an alternative front-end to YouTube
ppg.report - Weather report tailored for paramotor pilots, available worldwide. 🌏 Combines winds aloft, nearby Terminal Aerodrome Forecasts, hourly forecast, NWS active alerts, FAA TFRs, SIGMETs, G-AIRMETs and CWAs
Mastodon - Your self-hosted, globally interconnected microblogging community