GithubHelp home page GithubHelp logo

Tram-One

Modern View Framework for Vanilla Javascript


Note this specific project in the Tram-One org is no longer under development. While it is the original project for the Tram-One org, other projects in the Tram-One org are being explored and developed (namely, Tram-Lite).


Summary

Tram-One is a Modern View Framework that has advance features like hooks, observables, and JSX-like template components, all in plain vanilla javascript.

Tram-One takes inspiration from frameworks like Choo, React, and Svelte, and provides a rich feature set without additional libraries.

View the docs for a complete one-stop-shop with everything you need to know about Tram-One.

If you have any questions from this page or about Tram-One, or just want to say hi, join our Discord!

import { registerHtml, start } from 'tram-one';

const html = registerHtml();
const home = () => {
	return html`
		<main>
			<h1>Tram-One</h1>
			<h2>A Modern View Framework For Vanilla Javascript</h2>
		</main>
	`;
};

start('#app', home);

Why?

Tram-One is a project that emphasizes vanilla JS and HTML syntax, while providing the features of modern JS frameworks. It is born out of love of the JSX syntax, and an attempt to build something unique with existing open source libraries.

While Tram-One makes use of many dependencies, an effort has been made to expose those dependencies in a way that will hopefully encourage other developers to mix-and-match their own libraries, make improvements, and potentially build off of what is here to make their own front-end frameworks!

Is Tram-One for Javascript or Typescript?

Both! While the source code and type checking exist in Typescript, smart editors (such as Visual Studio Code), will make use of the Typescript annotations regardless of what language you work in!

This Repo and the Tram-One Org

This repo contains the main Tram-One framework, which can be installed and used to make web-apps. The Tram-One org includes many of the dependencies as well as the websites and generators for the project. The dependencies, while made (or modiefied) for Tram-One, can be used in other projects.

Discord

If you want to start contributing, need help, or would just like to say hi, join our discord!

Tram-One's Projects

.github icon .github

๐Ÿฑ github configuration files for tram-one projects

hacktoberfest icon hacktoberfest

๐ŸบWeb-App For Displaying the Hacktoberfest project for Tram-One

hover-battery icon hover-battery

๐Ÿ”‹LocalStorage / SessionStorage Memory for your Hover-Engine Store

hover-engine icon hover-engine

๐Ÿš a state-management library that runs on predictable magic

hyperx icon hyperx

๐Ÿท - tagged template string virtual dom builder

nanohtml icon nanohtml

:dragon: A simple library for composable DOM elements using tagged template strings.

nanomorph icon nanomorph

๐Ÿš… - Hyper fast diffing algorithm for real DOM nodes

rbel icon rbel

๐Ÿ—ƒallows to define custom elements for hyperx, defaulting to your h function of choice

tram-build-page icon tram-build-page

๐ŸšกCLI and JS tool for building a single page off of a tram-one web application

tram-deco icon tram-deco

๐Ÿข Declarative Custom Elements using native Web Component APIs and specs.

tram-lite icon tram-lite

๐Ÿ’ก Declarative HTML library for native web-components

tram-logo icon tram-logo

๐Ÿ–Š Repo to version control logo assets

tram-one icon tram-one

๐Ÿš‹ Legacy View Framework For Vanilla Javascript

url-listener icon url-listener

๐ŸŽง Listen for url changes without using a timer

useurlparams icon useurlparams

๐ŸŒ Hook that returns path variables based on the route

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.