r/teenagersbutcode

We Built a Modern JavaScript Framework from Scratch
▲ 26 r/teenagersbutcode+5 crossposts

We Built a Modern JavaScript Framework from Scratch

Hi everyone!

Over the past months, my friend and I have been working on Avenx.js, an open-source JavaScript framework that started as a school project and is growing into something much bigger.

Today I'd love to share what we've built, why we built it, and where we want to take it.

Why another JavaScript framework?

It's a fair question.

We didn't start Avenx.js because we thought the ecosystem needed yet another framework. We started it because we wanted to understand how modern frameworks work under the hood and explore what a simpler developer experience could look like.

As the project evolved, we focused on a few core principles:

  • Zero runtime dependencies
  • Less boilerplate
  • A clean and intuitive API
  • Performance-first design
  • Fully open source

Building a framework has been an incredible learning experience. We've learned about rendering, reactivity, tooling, package management, compiler design, documentation, testing, and many things we never expected to touch when we started.

Open source has been the most rewarding part

One of the biggest milestones wasn't a feature or a release, it was receiving contributions from developers we had never met.

Seeing someone invest their own time into improving something you've built is incredibly motivating.

Today, Avenx.js has:

  • ⭐ 4 GitHub stars
  • 🍴 5 forks
  • 🤝 3 external contributors

They're small numbers compared to established frameworks, but for us they represent real people who believed the project was worth contributing to.

Still a long road ahead

We're nowhere near finished.

There are plenty of features to build, documentation to improve, bugs to fix, and ideas to explore. Every week we continue refining the framework and improving the developer experience.

We're building this because we genuinely enjoy it, and because we want to see how far an open-source project can grow through consistent work.

We'd love your feedback

If you have experience building frameworks, libraries, or developer tooling, we'd genuinely appreciate your thoughts.

Constructive criticism is always welcome. Whether it's about the API, architecture, documentation, repository structure, or developer experience, we're happy to hear it.

Looking for contributors

We're also actively looking for contributors.

Whether you're making your first open-source contribution or you've contributed to many projects before, we'd love to have you involved.

There are issues ranging from documentation improvements to new features, and we've marked several beginner-friendly tasks to help people get started.

If Avenx.js looks interesting to you, feel free to check out the repository, leave feedback, open an issue, or submit a pull request.

Thanks for reading, and happy Showoff Saturday! 🚀

https://github.com/Avenx-JS/avenx-js

▲ 26 r/teenagersbutcode+5 crossposts

my indie game, #?!¥?!# (or just hashtag yen for short) is out now on itch.io!!

its a funky roguelike with a bunch of random ideas i had. you basically take over hell. search hashtag yen or #?!¥?!# on itch io to download the game !! (keep in mind this is version 0.1.0, so its not the full version)

u/grenskii — 2 days ago

Is everyone a prodigy in this sub lol? I just joined.

why does it seem like everyone is coding a damn OS when they were born lol, am i behind lol. i have no finished projects, only abandoned ones, excluding a demo i made for a competition in godot, but that was just a demo in godot.

reddit.com
u/Elegant_Athlete_3737 — 2 days ago

Deskplay - Iteration 1

had an idea a while back to make a web-based display manager, but honestly it was pretty shit and hit way too many limitations.

so i scrapped that and rebuilt it properly as an app instead,

it's super bare-bones right now, but the core hardware control works.

if you want to try it out or check out the code:

https://deskplay.cstuartday.workers.dev/download
(Link to Github repo on the sit)

feedback or bug reports are appreciated!

reddit.com
u/Normal-Bed3203 — 1 day ago
▲ 50 r/teenagersbutcode+4 crossposts

GOL simulation in hand-made CLI-focused language

Tiny high-level programming language built in less than a month *without* any AI assistance as my first ever C++ project at 17.

- No dependencies
- Close to Python/NodeJS performance, in some cases faster (see benchmark)
- Tiny memory footprint
- Tiny executable size
- Incredibly modular. Pick & choose everything.
- Nones, Bools, Ints, Floats, Strings, Arrays, Maps (dict), & user defineable types*
- I/O, Math, File Managment, Time, Str/Arr Util, & full ANSI modules all included, most are embedded into the executable itself.

Why make this? I wanted a portable & embeddable language that was fully sandboxed, very memory efficient, & has all the essential high-level language features, all while being under 200KB in size. I have looked all over, the language I was looking for just didn't exist, so I made it myself.

I want to keep working on it & improving this because I know this is something a lot of people beside me would find useful, giving a star really helps

https://github.com/PhosXD/Ity

Everything is open source & free to use!

u/PhosXD — 3 days ago

I built a platform that collects local business feedback and turns it into reports used by local councils at 16

I've been working on Local Business Voice, it's a platform that collects feedback from local businesses and turns the responses into structured quarterly reports for local councils and edu authorities.

I built everything myself, the frontend, backend and the Python data pipeline which processes the survey data and generates the reports.

I wrote about the technical side here: https://prestonarnold.uk/posts/local-business-voice/

u/Wise_One_4539 — 2 days ago

Building a programming language.

Hey i'm writing a programming language (still in his early stages) named threadon.

I know i already posted about it in the subreddit but it is now in a far later stage.

it has a lot of special features already like unions

and i'm working on the

on event:

print("do something")

that checks continuously in the background if the statement is true. And i'm planning for full python compatibility (It can't use python classes right now)

It has a vscode extension too https://github.com/Threadon-Lang/ThreadonVSCode

I've two questions:

  1. what are some features that aren't widespread but work really good

  2. does someone wanna join and help programming it.

reddit.com
u/AnoProgrammer — 3 days ago

Announcing New Subreddit Moderators

Hi everyoneeeeeee!!

We are appointing some new moderators, who will be learning the ropes for the next month. They might make mistakes but please bear with us and them while they learn how to do this!

Please welcome our newest subreddit moderators:

u/Experiment_1234 u/gingrspacecadet u/MMPlayzYT

We'd like to thank everyone who applied, all your apps were amazing! Don't be disheartened if you didn't make it this time - we will reopen applications again in the future and would love for you to reapply!

Congratulations to all our new mods, we’re really excited to have you on our team!

Have agreat day/night,

-r/teenagersbutcode mods <3

reddit.com
u/azurfall88 — 3 days ago

I built ANSI C MS-Windows file manager, &lt;500 LoC (from scratch)

https://gitlab.com/win326174234/sa01

Even though I am 19, I consider myself a seasoned win32/nt developer. I worked at a company, which deals a lot with winapi and windows system programming in general. I built this project for anyone, who practices either C or winapi (including gdi). I sticked with ANSI C and simple code flow without complicated constructions and jumps for this one to achieve readability and easy-to-build mental model. I am planning to make a hand-written x86 assembly version for this as well. I’ll be using the same approach — 5-6 instructions, no complicated SIMD or cache lines usage.

Software is licensed under MIT license. Any suggestions and notes are welcome.

u/Capable-Cap9745 — 3 days ago
▲ 0 r/teenagersbutcode+2 crossposts

I am vicoding a monster system that dont know how to use anymore

Well, i just wanted to make a simple cooking game, with rules and so on, for my tortilla de patatas project.
let the ai loose in the loop and "we" are building this: https://github.com/felixinberlin/openCulinaryRuntime

Its like a set of cooking rules.
Very complicated and scientific.
if someone is interested in the idea just pm me.

u/HeraclitoF — 3 days ago

writing code for a new project and ended up writing this long comment; do you think it's good to have comments explaining the entire thought process or is it too verbose?

https://preview.redd.it/20hf84l7rsjh1.png?width=933&format=png&auto=webp&s=ce1a62929d67d3b39bea106d1622a5a658c70ddc

do you think comments should be concise about what exactly the function does and not how it does it, or is it good to have in-depth explanations like this?

reddit.com
u/Bright-Historian-216 — 4 days ago
▲ 9 r/teenagersbutcode+1 crossposts

Building a C inspired language give your idea's

ok
i COMPLETELY redid it

implementing some borrow checking features
redid newline as end of line to semicolon

getting better function/struct syntax
adding more mem safe features
& more

GOALS:

make a language thats low level yet still simple enough to read and learn for begginers
make it usable

im not writing the compiler 100% by myself as im adopting the QBE IR into it
it will be compiled

include: &lt;stdlib.h&gt;      #something like that not final though

do_my_addition:void (&amp;num1, &amp;num2) {
 write "answer:\t {&amp;num1 + &amp;num2}";
}

main: () {
 let ovr I = 4: i32;  #means let overidable 32 bit int I be value 4
 write "{I}";        #write variable I
 
let player = struct{           #structs  mutable by default
   player hp: i32;                  #unused 32 bit int called hp
   player defence: i32;             #unused 32 bit int called  defence             
};

struct player:p1[hp = 100, defence = 10]; 

write "ill do your addition enter your numbers please";
let fbd num1:i32;
let fbd num2:i32;
scan(&amp;num1, &amp;num2);

do_my_addition(&amp;num1, &amp;num2);


}; 

more info at

https://limewire.com/d/bGSkB#qIcCv8Ud1I

u/TrueWar515 — 6 days ago

I made a simple interpreted programming language/VM as an educational project. It also has an emulated in-console display and am actively working on it still

I started working on this around 3 days ago to learn how programming languages and virtual machines work. As of now there's a bunch of opcodes, and am still actively working on everything. It is written in C, and the virtual machine has a variable resolution framebuffer. Am working in Termux so when the terminal is scaled down to the smallest size, I've managed to fit a max resolution of 78x39.

I also need to implement and instruction pointer and conditional JUMP instructions as well as assembly-liken labels. I intend on also adding an MMU so that the VM programs can have memory that can be protected, read-only and so on. Here are a few images of the programs.

The GitHub is here: https://github.com/ShadowPlasma2009/qrtz

u/Routine_Working_9754 — 5 days ago

Basix: A complete linux shell built from scratch with python without the subprocess library.

Basix Showcase Video.

Hello everyone, this is a project I have been working on since the beginning of summer.

Without further ado, here's what it can do:

  • Fork/exec-based execution (no subprocess)
  • Pipes, redirection (>, >>, <), chaining (&&, ||, ;) — freely combinable
  • Background jobs, fg, jobs — full job control with terminal handoff
  • Built-in cd, time, alias
  • Wildcard and tilde expansion
  • Script mode with #! support
  • Persistent history
  • Variables creation - deletion
  • Mathematical operations between variables

For more details about syntax, information and the source code, visit my GitHub repo

Basix gets frequent updates and improvements. They are all uploaded to github.

If anyone has any feedback, I'd be happy to hear!

reddit.com
u/tomkat_7 — 6 days ago

i wish i was as cool as yall…

i am 15 and currently learning python and I am so jealous of people going to competitions and like they all started like after conception

reddit.com
u/Typical_Run_41 — 8 days ago