HNHacker News
TopNewBestAskShowJobs

djyde

517 karma · joined November 14, 2014

Developer.

Making Haiker - Beautiful Hacker News App with auto translate https://haiker.app

twitter@randyloop

submissionscomments
djyde··on What's in my location history?
That's interesting, I found out that Youtube history data can be downloaded as well, I think I can also do a data analysis to look at my youtube viewing history and see what interesting things I can find. I wonder if anyone has already done something similar?
djyde··on From RSS to My Kindle
I made https://epubkit.app for myself to do this.
djyde··on Show HN: ffmpeg-english "capture from /dev/video0 every 1 second to jpg files"
If you are concerned about security risks, just add a confirm CLI prompt before running, to ask the user to confirm whether to execute the code (Y/N)
djyde··on Show HN: Sumi.news – A peaceful news feed. Follow RSS, Twitter, and newsletters
YouTube feed seems doesn't work. For example https://www.youtube.com/channel/UCV0qA-eDDICsRR9rPcnG7tw return "No feed found at that URL."
djyde··on Show HN: I wrote a little book about building fullstack application with Next.js
Yes. This is why I called it a "little book"
djyde··on Show HN: 1kb virtual DOM - it's fast!
Is there a benchmark?
djyde··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
Hi, creator here. I've sent you an email.
djyde··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
URL changed to https://cusdis.com/doc#/self-host/vercel
djyde··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
Thanks for feedback. I've fixed it.
djyde··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
Wow thank you! When I implemented this I am worried about the performance too. But I don't know what's the better solution. Thanks for your info!
djyde··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
Fix: The server is hosted in Vercel, the pgsql instance is hosted in my vps on DigitalOcean.

I have a plan to migrate the pgsql to a DigitalOcean managed database.

djyde··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
Actually, in the "Settings" panel you can import data from Disqus! You could try it.
djyde··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
Thanks for sharing! Looks amazing.
djyde··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
Thanks for you feedback! I will add a `how it works` in the document later. But I'd like to answer your question here first.

Since Cusdis was designed for self-hosted, the data should be stored in your own server. The Docker image provides both sqlite and pgsql options. Then the comment widget that embed in your web page talks to this server through a http call, which fetch all the approved comments and display them.

The "Try it now" is a demo server that I've hosted for the people who want to just look around what is it look like, it's not scalable and shouldn't be used in production yet. It run in my vps on Digital Ocean, data is stored in this vps with a pgsql instance.

djyde··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
Hi. Discourse is a discussion platform (forum), while Disqus and Cusdis are comment widget that embed to existed website (like embed in blogs). I think they are not the same.
djyde··on Please stop mapping Ctrl+B to be text bold in editor
I mean Cmd+B is OK. Modifier Key is Ctrl in Windows, Cmd in macOS. But many editor just hijacking the Ctrl, which is not Modifier key in macOS
djyde··on Show HN: A block-based note editor like Roam Research
For the note app, I open source it few days ago (https://github.com/djyde/plastic) but it's not production ready. But if anyone is interested, you can download the app from the `release` and have a try.

The main idea is I save the whole note in a json file. I designed a schema to save these bi-directional notes. The benefit of "just a json file" is everyone can develop their own application around this schema (Something like "an open standard schema for block-based note"). For example if I want to build a mobile app for it, I just need to make an app that read and write the json file.

djyde··on Show HN: A block-based note editor like Roam Research
Hi. It's a good question.

For now, I just want to build a Roam for myself to save $15/month.

The main different with Roam is I want my app saves data on local, instead of on the cloud.

Obsidian is a good alternative for this, but Obsidian is not block-based, I can't achieve something like block level reference. It's an important feature for me.

The link I post here is not a note app, it is an editor libaray. I use this library to build my note app. I think I can open source the editor core so that the other one can build their own block-based note app.

djyde··on Show HN: I wrote a tool that generate VS Code code snippets
https://github.com/djyde/snp

When I found myself repeat typing some codes over and over again, I started to use code snippet help me generate these codes. It saved me so much time.

But VS Code snippet syntax [1] is hard to write and maintain. So I find some code snippet manager applications, but they are all just help me copy and paste. However, the IDE native code snippet can do a lot more than just generate codes.

So I wrote a command line tool that generates the VS Code snippet file. It looks up all the `.snp` files (which is a file contains the snippet code) in current working directory and generate the code-snippets file to VS Code snippets folder. You don't have to do anything in VS Code and it just work.

You could see how do I use this tool to manage my snippets: https://github.com/djyde/snippets

(P.S. This is my first time writing Go code. I first write this tool in Node.js in 30 mins. Then I want to make it a single executable file. So I rewrite it in Go. It cost me 2 hours :P)

- [1] https://code.visualstudio.com/docs/editor/userdefinedsnippet...

djyde··on Show HN: sus – static site based URL shortener
Cool. I made one similar https://github.com/djyde/genlink
djyde··on We Chat, They Watch
I am a Chinese, and I care.
djyde··on It's not what programming languages do, it's what they shepherd you to
You read the code. The computer program you.
djyde··on Show HN: TSpoon – Writing Hammerspoon Scripts with TypeScript
Hi Hackers. Hammerspoon is a wonderful macOS automation tools. But writing large Lua scripts become a terrible experience.

So I create and publish a TypeScript declaration file for Hammerspoon APIS. With the help of typescript-to-lua, we can now writing hammerspoon scripts in a better way.

Since there are lots of APIs, I need some help complete them. If someone are interested, pull request is welcome!

djyde··on Show HN: Display My IP – macOS app that displays your IP in menu bar
Hammerspoon can too
djyde··on Ask HN: Best Static Site Builder?
https://saberjs.org
djyde··on Show HN: CopyPaster – let's make web forms copy/pasteable
Hi, Breck.

I found your Tree Notation in this post and read through the website and the papers on the Github repo. It seems like a tool for creating a new DSL (or language). But I am not quite understand how to do it (even though I watched the YouTube video).

Could you write some document for how to create a DSL using the Tree Notation?

Thank you.

djyde··on Show HN: Koy – A markdown previewer powered by Carlo
Same as a Chrome tab, I think. And depend on your Node.js logic.
djyde··on Show HN: My Google-Free Android Setup
The easiest way: Buy a Chinese phone
djyde··on UK votes to leave EU
It's time to buy Alfred powerpack :P
djyde··on Show HN: Liner – Highlight and Comment on Your Favorite Quotes :)
It's cool.

I wrote a library like that several days ago https://github.com/djyde/WebClip

← PreviousPage 3 of 4Next →