rxliuli
rxliuli on Hacker News
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?
Posted by
rxliuli on Monday July 20, 2026 @10:08AM
from the rxliuli.com dept.
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.
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!
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!
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.
It appears to have been an accident now - they fixed the issue two hours after I posted on Reddit.
I guess you're promoting something, which could indeed get blocked.
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
I built a simple tool to clean them up instantly. It auto-parses URL params, nested JSON, and formats the body perfectly.
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.
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.
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.
Your journey of discovery is really cool.
Posted by
rxliuli on Friday May 09, 2025 @09:49PM
from the rxliuli.com dept.
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
Posted by
rxliuli on Wednesday May 07, 2025 @12:20PM
from the npmjs.com dept.
https://www.npmjs.com/package/tailwindcss-github-markdown
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....
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?
It looks interesting, I will see what effect it has.
Sorry for seeing the reply so late. This is an interesting idea, and my inspiration comes from Shizuku on Android, which allows granting permission only once using adb commands, and then other apps can use advanced Android APIs through this app without each app having to handle it via command line each time.
https://shizuku.rikka.app/So I think it's possible for Web Apps to have a similar experience. Currently, the Chrome WebStore version has been approved, and Firefox/Safari are under review. Hopefully, this extension can eventually be used in all major browsers (including mobile support for plugins like Kiwi/Edge/Safari).
I was inspired by this Reddit post:
https://www.reddit.com/r/FirefoxAddons/comments/1jvg5eu/is_t...While trying to help solve this problem, I discovered that existing online tools all had various limitations. The top 5 ranked websites either had file size restrictions, couldn't preserve folder structures, or had difficult interfaces.
This prompted me to create myunzip, which can:
- Compress/decompress ZIP files of any size
- Fully preserve directory structures
- Provide an intuitive user interface
- Process everything in-browser with no file uploads
The tool is completely free to use with no ads.
Feedback or bug reports welcome!
Youtube Demo:
https://www.youtube.com/watch?v=8F_n_qC5IYc
Posted by
rxliuli on Tuesday April 22, 2025 @12:03PM
from the myunzip.com dept.
Very interesting knowledge, I had never really looked into it before.
Posted by
rxliuli on Sunday April 20, 2025 @07:44AM
from the github.com dept.
Hey everyone! I'd like to share CORS Unblock, a Chrome extension that lets web applications make cross-origin requests directly - just like native apps do.
*Why This Matters:*
- No need for a backend proxy server
- No server costs
- No complex CORS configurations
- Your web app can directly access APIs like a native app would
*How It Works:*
1. Install the extension from the [Chrome Web Store](https://chromewebstore.google.com/detail/odkadbffomicljkjfep...)
2. When your web app needs to access external APIs, it will request permission
3. You approve which domains the app can access
4. That's it! The app can now make cross-origin requests
*Security & Privacy:*
- You control which websites can access which domains
- All operations happen locally in your browser
- No data collection
- Permissions can be revoked anytime
Check out a demo here: https://web-content-extractor.rxliuli.com/
Let me know if you have any questions!
Posted by
rxliuli on Thursday April 03, 2025 @01:00PM
from the gist.github.com dept.
I don't know, is this normal for iOS?
Posted by
rxliuli on Tuesday April 01, 2025 @08:23AM
from the gist.github.com dept.
Yes, that's exactly my point. Vue 3 just improves things using existing technologies instead of creating truly fresh solutions.