
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@sodacore/ui
Advanced tools
Sodacore UI is a powerful JSON-based DSL for describing web pages that can be rendered by a frontend JavaScript framework.
Sodacore is a bun-powered framework for building server-side applications utilising the lighting fast Bun runtime.
The @sodacore/ui package provides a custom JSON-based DSL for describing webpages and then having them rendered by a frontend framework, we shall offer a Vue-based one.
Explore the docs »
Report Bug
⚬
Request Feature
Sodacore is a Bun powered framework for writing server-side applications in record time. The framework follows a controller pattern, utilising plugins as the core means for extending the framework.
Sodacore comes with a lot of great features:
The framework is constantly being worked on and improved so suggestions and features are highly appreciated.
As of right now, we use TypeScript's legacy decorators, this is mostly because the current stage 3 decorators are very limited in functionality (i.e. param decorators) so once they drop support for legacy decorators we will switch, but until then this framework will continue to use them.
This project was built with the following technologies:
There are two ways of getting started with your project, you can either use our CLI or manually setup your project.
To get started with the CLI, you can run the following command:
bun create @sodacore
This will install and launch the command line, it simply asks you about your project, and then installs the packages and writes the files, it will also modify the directory to correctly reflect the Sodacore project structure, see below:
To start with find a home (folder) for your project, once you have done this, ensure your Bun install is up to date.
If you haven't already install Bun, you can go to their website and follow the instructions. To update Bun, simply call bun upgrade.
Let's initialise a Bun project, you can do this by running:
bun init
Ensure you select the "Blank" template.
This will initialise the current project folder, from here, we need to tweak the tsconfig.json file due to our use of legacy decorators, add these to the compilerOptions section:
{
// ...
"compilerOptions": {
// ...
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"useDefineForClassFields": false
}
}
You can see ours here: tsconfig.json, I would also suggest removing the DOM lib, as this is a server-side project.
Lastly we suggest deleting the index.ts file that is at the root, and make yourself a src folder.
Once you're setup, you can easily get started with the framework by creating yourself an entry file: ./src/main.ts and then put the following code in it:
All documentation will be written in TypeScript going forward.
import { Application } from '@sodacore/core';
import HttpPlugin from '@sodacore/http';
const app = new Application({
autowire: true,
// Other settings...
});
app.use(new HttpPlugin({
port: 8080,
}));
app.start().catch(console.error);
You can start the framework by doing:
We suggested to put it in your package.json under scripts section and then you can do bun dev (set it as the dev script).
bun run ./src/main.ts --target=bun
We set the target to Bun by default, so that any additional libraries will force bun as well, but you can omit that flag.
Our roadmap is published on our documentation site here.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Distributed under the MIT license.
If you have any questions or suggestions, feel free to reach out to us:
A special thanks to the following for their contributions, support and inspiration:
FAQs
Sodacore UI is a powerful JSON-based DSL for describing web pages that can be rendered by a frontend JavaScript framework.
We found that @sodacore/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.