Better HN
topnewbestaskshowjobs
Log inSign up

theowenyoung

174 karma · joined Oct 1, 2020 (6y ago) · 60 submissions

https://www.owenyoung.com
Submissions

comment 3mo ago · link · parent

Great ideas.

comment 3mo ago · link · parent

I've been working on Jant [0], an open-source blogging platform for a single author with a modern publishing UI, in the spirit of Tumblr. It deploys to Cloudflare Workers, and natively supports Note, Link, and Quote formats, plus Thread-style replies. It also syncs with GitHub — the synced repo is a Hugo site that builds on its own.

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

comment 4mo ago · link · parent

I really like this approach. I make similar distinctions between posts meant for email, posts that should appear in RSS, posts that belong on the homepage, and posts that should live under /archive without appearing on the homepage.

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.

comment 6mo ago · link · parent

I'm working on something related — Jant [0], an open-source blog system I'm building.

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.

[0]: https://github.com/jant-me/jant/

5.

AI Twitter's favourite lie: everyone wants to be a developer(joanwestenberg.com ↗)

12 points · by theowenyoung · 9mo ago · discuss

6.

Show HN: Artab – Get Inspired by the Greatest Artworks in Every New Tab(artab.owenyoung.com ↗)

3 points · by theowenyoung · 1y ago · discuss

7.

The Original Sin of Free Software (2019)(lipu.dgold.eu ↗)

3 points · by theowenyoung · 2y ago · discuss

comment 3y ago · link · parent

I use https://hn.buzzing.cc/ to browser Hacker News in both Chinese and English.

comment 3y ago · link · parent

JSONBin: https://github.com/theowenyoung/blog/tree/main/scripts/jsonb...

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.

10.

Show HN: I made myself a HN site in English and Chinese, so I can read more HN(hnnew.buzzing.cc ↗)

3 points · by theowenyoung · 4y ago · discuss

11.

Show HN: Track Awesome List – Get Awesome List Updates Daily(github.com ↗)

3 points · by theowenyoung · 4y ago · discuss

comment 4y ago · link · parent

I like it. This basically meets all the features I want, can you share the reasons for not using sqlite for the database but sed?

comment 4y ago · link · parent

I have the same problem, so I use my personal domain [0] to redirect to repos page, it works great. here is the javascript code:

    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

comment 4y ago · link · parent

Very great presentation! I made a little toy some time ago [1] with YAML files compiled into Javascript code, in Lisp style, basically along the same lines as the article, and I use this project to manage my dotfiles. The basic syntax probably looks like this:

  - 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/yamlscript

comment 4y ago · link · parent

Good idea, it seems that I can start a 301 redirecting before I die, If all goes well, search engines have a 10-year window to navigate to the new free hosting site.

comment 4y ago · link · parent

I don't think my personal website is worth such a huge cost to maintain after my death, I just don't think it's a good thing to let the links on my personal website become invalid after my death.

17.

Ask HN: Our personal domain name will expire when we die, how should we do?

4 points · by theowenyoung · 4y ago · 7 comments

comment 4y ago · link · parent

https://hn.algolia.com also down now.

comment 4y ago · link · parent

All sites of mine are down now.

20.

Rash – YAML configuration as bash written by rust(github.com ↗)

5 points · by theowenyoung · 4y ago · discuss

comment 4y ago · link · parent

Can I host multiple sites in it? Like I have a VPS, but I have 4 sites in it, can I just pack it to 1 binary file?

22.

Toml-bombadil – A dotfile manager with templating, multiple profile(github.com ↗)

1 points · by theowenyoung · 4y ago · discuss

23.

FetchApply – Bash Ansible Alternative, Transparent Server Configuration(github.com ↗)

2 points · by theowenyoung · 4y ago · discuss

comment 4y ago · link · parent

https://www.owenyoung.com/en/

https://www.owenyoung.com/

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.

comment 4y ago · link · parent

Stolen Focus: Why You Can't Pay Attention--and How to Think Deeply Again, by Johann Hari

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.

26.

Ask HN: Is there an open source, self-hosted alternative to Hey?

2 points · by theowenyoung · 4y ago · discuss

comment 4y ago · link · parent

I'm terrified of a lot of dependencies in node projects when upgrading, so I'd rather the ecology in Deno now allows me to write most things myself.
12