News for hackers. Stuff that matters.

sudo_bangbang

Ask HN: Pure HTML micro-front end

I'm working on a project for people who are new to web development and open source. It's called https://github.com/Roshanjossey/code-contributions. Users will go through a tutorial, add an HTML file and submit a pull request to the same repository on GitHub.I have two self imposed restrictions for this project.1. Users shouldn't have to install anything or setup tooling 2. Their changes should...

( Read More... | no comments | on HN )
Re:Ask HN: What are you working on? (September 2025) on Tuesday September 30, 2025 @07:18AM (#45424154)
I'm working on a project for people who are new to web development and open source. It's called code contributions

https://github.com/Roshanjossey/code-contributions.

Users will go through a tutorial, add an HTML file and submit a pull request to the same repository on GitHub.

Ask HN: How to implement HTML fragments in file://

I'm working on a project for people who are new to web development and open source.It's called https://github.com/Roshanjossey/code-contributions. Users will go through a tutorial, add an HTML file and submit a pull request to the same repository on GitHub.I have two self imposed restrictions for this project.1. Users shouldn't have to install anything or setup tooling 2. Their changes should...

( Read More... | no comments | on HN )
Re:* on Thursday January 23, 2025 @11:57AM (#42805672)
I'm working on a project for people who are new to web development and open source.

https://github.com/Roshanjossey/code-contributions. Users will go through a tutorial, add an HTML file and submit a pull request to the same repository on GitHub.

I have two self imposed restrictions for this project.

1. Users shouldn't have to install anything or setup tooling 2. Their changes should be a separate HTML file

Reasoning behind (1) is to make the project more accessible. I'm assuming users would already have a web browser, text editor and terminal emulator on their machine. I'd like them to be able to complete the tutorial without installing any tooling (runtime, compiler etc) of a language. I'm expecting users to open `index.html` in their browser and see their changes.

Reasoning behind (2) is to avoid a big HTML file and merge conflicts

To implement fragments, I tried vanilla js, htmx, https://unpoly.com/ etc. My implementations ended up needing a server to be run on local (which goes against (1))

I ended up with a solution using iframes. All fragment HTML files are loaded in iframes now. I don't like this solution though. Ideally, I like to share scope, styles etc from the parent with child fragments.

If you have suggestions on enabling HTML fragments, please let me know.

Also, I'd love your feedback on this project. It's still in alpha stage and I'd love to improve.

Re:European Windows Are Awesome [video] on Saturday December 30, 2023 @04:03PM (#38819106)
From what I remember the venting state of the window is called 'auf kipp'. Not sure if the process is called 'kipping' though
The impact this project has on open source communities is something I often think about. To the point, I search on GitHub to see if there are random PRs to add names to Contributors list in other projects.

From those searches and getting feedback, I'm getting the feeling most users see this as a sandbox environment and real open source projects have different process.

First Contributions, sandbox for learning how to contribute to projects on GitHub reaches 60k users and 30k stars
Jasmine https://jasmine.github.io/2.0/introduction.html Documentation could be structured in a much better way making it the things you need easier to find. I always end up searching the whole page

Older »