theowenyoung
This month has mostly been about adding multilingual support to Jant. It's for bilingual authors — the common case being someone writing for both Chinese and English readers — so they can publish to each language's audience separately within Jant.
I'm also designing a feature called Repost: when you see a post you like on another blog, you can repost it to your own Jant blog along with the original URL.
Code's on GitHub [1], and there's a demo [2] to try it out.
[0] https://jant.me [1] https://github.com/jant-me/jant [2] https://demo.jant.me
I use Substack for email distribution too. For the website side, I built an open-source blogging platform called Jant (https://jant.me) around these needs: posts appear on the homepage by default, posts marked as Featured are included in RSS, and posts can also be unlisted. It also syncs everything to GitHub as Markdown, in a repo that works as a complete Hugo site.
One of the features is that every edit auto-syncs to a GitHub repo as Markdown, and the repo itself is a full Hugo site you can build independently. So the backup is always there without thinking about it.
Not released yet but almost done. Repo is public if you want to take a look.
Show HN: Artab – Get Inspired by the Greatest Artworks in Every New Tab
The Original Sin of Free Software (2019)
CronBin: https://github.com/theowenyoung/blog/tree/main/scripts/cronb...
Both scripts are deployed as single file js in the free tier of Cloudflare's Workers, and my personal workflow relies on these two simple services for all persistent data storage and scheduled tasks.
Show HN: I made myself a HN site in English and Chinese, so I can read more HN
It is a single static html page, I also provide jsonfeed[0] and rss[1], and I incidentally support Traditional Chinese[2], Japanese[3], and English only[4], but I don't think I currently have English users or Japanese users.I tried to get `og:image` at the same time as getting hacker news' post to display the image, and I used deepl's API for translation.If you happen to need this, feel free...
Show HN: Track Awesome List – Get Awesome List Updates Daily
https://github.com/trackawesomelist/trackawesomelist
I find myself often wanting to know the recent updates of some awesome list such as awesome-selfhosted [0], so I developed this tool to track the updates of more than 600 awesome lists and provide RSS feeds. The code is also open source [1], I hope this small tool can help you.And I also provide a client-side search [2], so you can search all awesome projects there, I implemented it through...
async function handleRequest(request) {
const requestUrl = new URL(request.url);
let target = "https://github.com/theowenyoung?tab=repositories"
if(requestUrl.pathname!=="/"){
target = "https://github.com/theowenyoung"+requestUrl.pathname
}
return Response.redirect(target, 302);
}
addEventListener('fetch', async event => {
event.respondWith(handleRequest(event.request));
});
[0]: https://git.owenyoung.com - use: def
id: obj
args:
list:
- Hello
- true
foo:
cat: 10
- use: console.log
args:
- ${obj.list[0]} World
- ${obj.foo.cat}
- ${JSON.stringify(obj.foo)}
[1]: https://github.com/yamlscript/yamlscriptAsk HN: Our personal domain name will expire when we die, how should we do?
If our domain name is no longer valid, then all the links included on Google will also be invalid? Shouldn't we use github.io from a long-term perspective, so that the probability of not expiring in the long run is a bit higher?
Rash – YAML configuration as bash written by rust
Toml-bombadil – A dotfile manager with templating, multiple profile
FetchApply – Bash Ansible Alternative, Transparent Server Configuration
I've used Zola to build both Chinese and English versions of my personal website, and one of my favorite parts is that I show the word count of the articles I've written so far in the header.
No Javascript, with a simple CSS file.
Time and time again I made up my mind to focus, but it wasn't until I read this book that I actually did it.
Ask HN: Is there an open source, self-hosted alternative to Hey?
我喜欢Hey的想法,可惜他的价格对我来说有点贵,有没有类似的开源替代品?