←back to thread

381 points cezaraugustodev | 3 comments | | HN request time: 0.742s | source

Hello HN! I'm the creator and solo developer of Extension.js, a development tool for browser extensions with built-in support for TypeScript, WebAssembly, React, and modern JavaScript. Developers use it to spend less time configuring the compilation config or learning new frameworks and more time actually writing code.

Most projects similar to Extension.js rely on some sort of abstraction or configuration to get started, making the initial development process slow given the extra learning curve and setup guidelines. By using Extension.js, adding the package to your npm scripts is all it takes to get started developing cross-browser extensions with no build configuration. Say goodbye to extensive configurations to create your next cross-browser extension!

Creating a new extension is super easy. This command will create a new extension named "my-extension" in the current working directory. In your terminal:

npx extension@latest create my-extension

You can also create an extension based on any extension hosted on GitHub. Just add the URL of the folder where the manifest is located and run `npx extension@latest dev <github_url>`. For instance, you can try the Chrome Sample "page-redder" (https://github.com/GoogleChrome/chrome-extensions-samples/tr...).

I first created this project as a way to teach others how to develop browser extensions, until I realized that a good amount of my teachings would involve setting up a new project. With Extension.js, the abstractions and configurations needed to create cross-browser extensions are handled by a simple command-line interface, allowing developers to focus on the actual development of their next extension.

Any feedback is appreciated. I've been using it for a while in personal projects but it is now mature enough for others to give it a go. I'm looking forward to hear what you all have to say! :D

Show context
rantymcrant ◴[] No.40219701[source]
This may be very cool but I'm here to rant

What is it with "I made a _______" posts? Those seem new to me and very braggy. I see them on youtube as well. I feel like if I could check all the posts to HN I'd find a trend of instead of just "Show HN: A tool/app/site to do X" there's a tread of adding "I made" in front. Is that a result of social media conditioning, that you must brag that "I" made?

replies(2): >>40219793 #>>40220028 #
fragmede ◴[] No.40220028[source]
https://news.ycombinator.com/item?id=1381172 is the oldest one I could find via the algolia search at the bottom of the page, from 2010, so it's not that recent a phenomenon. A different reading is less that the emphasis is on I made a thing, and more about being a complete sentence with an explicit subject vs implicit.
replies(1): >>40223789 #
rantymcrant ◴[] No.40223789[source]
Checking the years those types of post have increased several X over a few years ago (the year starting april 1st)

    2023 416
    2022 307
    2021 232
    2020 252
    2019 158
    2018 87
    2017 42
    2016 45
    2015 39
    2014 42
    2013 68
    2012 40
    2011 28
    2010 10
That's just "Show HN: I made" and doesn't include all the similar "I built ..." and similar braggy titles.
replies(1): >>40229282 #
1. fragmede ◴[] No.40229282[source]
I don't have a problem with people bragging about a thing they made. I think if someone spent a bunch of time on a thing, I'll give them time to be proud of the work they did and give them space to show off.

if it's something I'm interested in. The difference between "ShowHN: I built a thing", and "ShowHN: thing" seems inconsequential to me.

But you know that one about how naming things is an unsolved problem in computer science? Looking at random search results, I think it's more about it being a more natural way to describe something. "Show HN: I built a thing that does blah", rather than "Show HN: Foobar, a thing that does blah".

If I do "Show hn: George", what's George? vs "Show HN: I made a thing that does foo called George"

Interestingly enough, there are only 805 results for "Show HN: We" vs 5,060 results for "Show HN: I", What a bunch of loners we are.

replies(1): >>40232938 #
2. rantymcrant ◴[] No.40232938[source]
I see "I made X that does Y" as self promotion. You're not prmmoting X, your prmoting the fact that "I" made it. You're smart. People should take you seriously. They should offer you jobs and/or praise. Of course you're secondarily promoting X but only in the cause of promoting yourself

I see "X, an app that does Y" as promoting X and sayuhg "reader, you might find X useful if you want to do Y"

The purpose of the posts are entirely different.

Your observation on "We" is interesting though I suspect that teams are more likely to write "X, and app that does Y" because "We made X" doesn't achieve the self promotion goals in the same way as "I made X"

replies(1): >>40264191 #
3. fragmede ◴[] No.40264191[source]
Another question is, why do you have such a problem with people promoting themselves? On the Internet, no one knows who your sockpuppet is. So if you come across a post that says look at this cool thing I found on the Internet, and you feel one way about it, vs someone says look at this cool thing I made, vs I'm cool, look at this thing I made, and then you feel a third way about the exact same thing.

Human psychology is fascinating.