Better HN
topnewbestaskshowjobs
Log inSign up

rxliuli

66 karma · joined Feb 6, 2025 (1y ago) · 50 submissions

Submissions

comment 4h ago · link · parent

When I see a subscription model with "no limits," my instinct tells me there's something fishy going on.

comment 3mo ago · link · parent

I encountered some issues when automating the release of Safari extensions to the App Store. Since I maintain a large number of extensions, I had to fix them in bulk. Perhaps others also frequently encounter publishing issues due to changes in the App Store?

3.

Automating Safari Extension Publishing with GitHub Actions(rxliuli.com ↗)

2 points · by rxliuli · 4mo ago · discuss

comment 10mo ago · link · parent

This is the fourth post in the extension development series. I've just finished writing the seventh one, which will be published gradually after proofreading.

comment 10mo ago · link · parent

This is the second post in the extension development series blog. I just finished it, so if you find any errors or have any questions, feel free to leave me a comment!

comment 10mo ago · link · parent

I've been building browser extensions for about a year and created around 20 of them. Thought it might be useful to share what I've learned in a series of posts.

This first one covers the basic concepts - manifest files, content scripts, and how they work together.

If you have any questions or suggestions for future topics, feel free to comment!

comment 11mo ago · link · parent

That's right, there's a similar comparison between the iOS App Store and Android Play Store. Although the annual $99 fee is indeed expensive, the Play Store requires every app to find 12 users for 14 days of internal testing before submission for review, which is utterly incomprehensible, not to mention the constant warnings about inactive accounts potentially being disabled.

comment 1y ago · link · parent

Haven't received it yet.

comment 1y ago · link · parent

It appears to have been an accident now - they fixed the issue two hours after I posted on Reddit.

comment 1y ago · link · parent

I guess you're promoting something, which could indeed get blocked.

comment 1y ago · link · parent

Got tired of dealing with unreadable fetch code when copying from browser DevTools - especially those with long query strings and minified JSON.

Built *Fetch Beautifier* to solve this. It formats fetch requests instantly with `Ctrl+Shift+V`.

*Before:* ```js fetch('https://api.example.com/data?userId=123&type=post&limit=10&o...', { headers: { accept: 'application/json', 'content-type': 'application/json', authorization: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9', }, body: '{"title":"Hello World","content":"This is a test"}', method: 'POST', }) ```

*After:* ```js const url = new URL('https://api.example.com/data') url.search = new URLSearchParams([ ['userId', '123'], ['type', 'post'], ['limit', '10'], ['offset', '0'], ]).toString() fetch(url, { headers: { accept: 'application/json', 'content-type': 'application/json', authorization: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9', }, body: JSON.stringify({ title: 'Hello World', content: 'This is a test', }), method: 'POST', }) ```

Free on VS Code marketplace. Feedback welcome!

https://marketplace.visualstudio.com/items?itemName=rxliuli....

Demo Video: https://www.youtube.com/watch?v=9SMLOwZwnU0

comment 1y ago · link · parent

I built a simple tool to clean them up instantly. It auto-parses URL params, nested JSON, and formats the body perfectly.

comment 1y ago · link · parent

I want to be able to understand your point. For those who enjoy programming, writing code is indeed a pleasure. I spent the whole day today writing a JavaScript serialization package, and even though I know someone has already done it, I am still willing to write a new one for my specific scenario. On the other hand, I think that although AI seems friendly to newcomers (inexperienced developers), it is actually more friendly to experienced developers because you can have AI help you complete some tasks and then review them yourself. Inexperienced developers have difficulty accurately pinpointing problems when they encounter issues, causing AI to keep going in circles and hitting walls.

comment 1y ago · link · parent

Based on devalue, I wrote a new JS serialization library called devaluex, which supports asynchronous serialization and plugins. Through plugins, it supports types like Blob, Stream, Error, Request, Response, etc. It is still quite rudimentary at the moment and is mainly used for communication serialization between browser extension Content Script and Background, as JSON.stringify does not support many types. I previously tried seroval (the SolidJS base library) and devalue (the Svelte base library). The authors support more features and use eval (very cleverly) for deserialization. Unfortunately, eval cannot be used in some environments (such as browser extensions). Although the authors also support a JSON mode, its performance is not as good as devalue, so I ultimately chose to wrap devalue.

comment 1y ago · link · parent

I haven't used Starlight, but Docusaurus is very slow. The last time I used it, its performance on a large documentation site was terrible, even causing the GitHub Actions Runner to time out. In other words, a single build took over 30 minutes. I never considered using it again after that.

comment 1y ago · link · parent

Your journey of discovery is really cool.

17.

Intercepting Network Requests in JavaScript(rxliuli.com ↗)

2 points · by rxliuli · 1y ago · discuss

comment 1y ago · link · parent

I was frustrated with the default styles of @tailwindcss/typography, so I created a plugin that ports GitHub's beautiful Markdown styling to Tailwind CSS.

The plugin (`tailwindcss-github-markdown`) lets you add GitHub's Markdown rendering to your projects with minimal effort - just import it and add the `prose` class to your container, exactly like you would with the official typography plugin. It fully supports both light and dark themes via the standard `prose-invert` class.

GitHub: https://github.com/rxliuli/tailwindcss-github-markdown

19.

tailwindcss-github-markdown – GitHub Markdown styling for TailwindCSS(npmjs.com ↗)

2 points · by rxliuli · 1y ago · 1 comment

comment 1y ago · link · parent

As the title says, today I tried using deepwiki to generate links for one of my small tools. The architecture diagrams/flowcharts look particularly good, and the documentation also appears neat and well-organized. I wonder if placing this link on the GitHub repository homepage would be helpful for people using this project, or do you think that content generated by such LLMs cannot guarantee accuracy and only causes confusion?
12