TGViewer
ITGram ITGram @itgram_channel · 390 subscribers
Post #610 847
To make all my content accessible, I've provided source, website, and RSS for every project I have:

+ 🐿 ITGram: 🌐 website, 📶 rss, 📢 telegram, 📄 source.
+ 🐍 Python etc: 🌐 website, 📶 rss, 📢 telegram, 📄 source.
+ ✏️ Blog: 🌐 website, 📶 rss, 📄 source.

I had to do quite a few changes for that:

The blog is now powered by Hugo static site generator with PaperMod theme which provides RSS out of the box. Before it was powered by home-grown chameleon engine but now I'm moving everything possible to static sites because how easy it is to deploy things on netlify.

For ITGram, I exported all posts with a Python script I found online and then cleaned up with a bunch of ad-hoc scripts. It's also served by Hugo and PaperMod, and for publishing posts back into Telegram I made a short script on top of telethon.

Finally, Python etc was always Markdown-first. It has lots of custom logic, so PaperMod won't fit. I generate the website with Jinja2 and a bunch of custom scripts. For RSS, I considered python-feedgen and rfeed. The former is more popular but I picked the latter because the example in the readme is easier to understand.
More from @itgram_channel
  1. Jul 26, 2023taplo is a CLI tool (and a Rust library) for working with TOML. It can check TOML files fo…
  2. Jul 21, 2023Mutation testing is technique for evaluating how good your tests are. The idea is that a s…
  3. Jul 19, 2023refurb is yet another linter for Python. What makes it special is that it internally runs…
  4. Jul 17, 2023A long time ago, I used to use Twitter to find out about new projects and blog posts. Late…
  5. Jul 17, 2023Channel photo updated
  6. Jun 23, 2023Go 1.21rc1 is released! It's not a final release yet, but we already can see what new feat…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →