Skip to content
← Back to Community
Dark-Plasma.js
Profile icon
darkdarcool

Dark-Plasma.js

Hello, and welcome to Dark-Plasma.js! This is a clone of Next.js and React, with all of the little things I didn't like about them, and so much more!

It includes:

  • Rendering of JSX in template files out of the box!

Using react JSX compilers, we are able to compile your JSX files to HTMl! And we will most likley add an options the suppy props to functions like react!

  • Ability to add CSS to pages!

Sadly we don't have globabl CSS yet, but it is planned to be added in the next version!

  • Much more!

So much more it planned to be added! And we hope you enjoy all of it!

What exactly is Dark-Plasma.js?

DP(Dark-Plasma) is a package the offers the no html file of Nextjs, also with some syntax, also offering the controlled start of React(with ReactDOM.render), so your project can just include DP, and do something else.

Why Dark-Plasma.js

DP offers syntax for people who want the best of both worlds of React and Next. While they are better than DP in some ways that you may prefer, don't hesitate to not use DP. React and Next are both wonderful visual Javascript HTML application tools, DP is just in between them.

Syntax!

What is the syntax of DP? Good question! Here is a very bad and quick sample:

import DarkPlasma from 'dark-plasma.js' let plasma = DarkPlasma(); let start = plasma.start; start("Hello, world!", 8080);

That does not include render JSX, but it does render Hello, world!

Conclusion

Thank you for reading this, Dark-Plasma is very much in development and in beta, and does have a git repo, but I'll keep it private till DP is good because I want it to be more organized.

But until then, I hope you enjoy DP, and a tutorial will come out if this post is popular enough! Thanks!

BAI!

Edit:

The repo has been made public! To see the source code, go to https://github.com/darkdarcool/Dark-Plasma.js

Voters
Profile icon
NFadhlurrahman
Profile icon
ch1ck3n
Profile icon
StringentDev
Profile icon
a-repl-user
Profile icon
PixiGem
Profile icon
maxina
Profile icon
Yoplayer1py
Profile icon
InvisibleOne
Profile icon
RayhanADev
Profile icon
VulcanWM
Comments
hotnewtop
Profile icon
RayhanADev

Nice first release :)

Profile icon
darkdarcool

@RayhanADev
Thanks!

Profile icon
JBloves27

hums
nice lol

Profile icon
darkdarcool

@JBloves27
Lol ok thx

Profile icon
VulcanWM

This is great!

Profile icon
darkdarcool

@VulcanWM
Thank you so much!

Profile icon
VulcanWM

np! This is actually really good, how much time did you spend on it? @darkdarcool

Profile icon
darkdarcool

@VulcanWM
I had the idea for a long time,. and I made a little mock up I named “sunshine” that just used express sending a small string of HTML. But then I had prior commitments that I had to take care of so I stopped developing it. But then last week I had a lot of free time to I developed DP! So a week on plasma, and 6 months in the idea :)

Profile icon
VulcanWM

Damn you must have put a lot of effort on this @darkdarcool

Profile icon
RayhanADev

@VulcanWM he has a lot of really kewl ideas and way too much free time xD!

Profile icon
darkdarcool

@VulcanWM
I did! It is was really big at first, but then I found was able to go minimalist on it and shrink it to almost nothing!

Profile icon
darkdarcool

@RayhanADev
Thanks you so much! I agree, I get a lot of ideas, but sometimes I get an idea that I’m not good enough to make, (one of them was to develop a Minecraft modding system like forge, butttttttt, I suck at Java, and can only develop with forge lol)

Also when your as smort as me and get your homework done when school is in session a week in advance( this is not an exaggeration), I get too much time sometimes lmao

Profile icon
VulcanWM

yeah lmfao @RayhanADev

Profile icon
VulcanWM

That’s great! @darkdarcool

Profile icon
StringentDev

@VulcanWM i will admit this is pretty cool but it does not fit to my needs quite yet, we need post requests yet. Not only that but ways to set cookies for things like auth.

@darkdarcool can i help maintain this project, since i know that this has A LOT of potential. We could even port this over to virra as the standard web module when virra is complete. ;D

Profile icon
darkdarcool

@StringentDev
You can use IFES and node-fetch, and I don't wanna port this over to vira, but i am more than happy to make one for vira if that's cool with yo

Profile icon
StringentDev

@darkdarcool you know "porting" is what you just described in a way.

Profile icon
darkdarcool

@StringentDev
yea i know, but I made this to be like react and next, and if i just make it all vira, i lose the reason i made it in the first place

Profile icon
StringentDev

@darkdarcool no i mean as a libriary, that works in virra but has the same syntax. (i mean creating a second version for virra)

Profile icon
StringentDev

@darkdarcool also, if i am able to join, i'll be developing a bundler script for building the server.