User interfaces examples via code 🎨 for Typhon UI
All components are built using svelte !
Install the dependencies...
cd typhon-ui-svelte
yarn
...then start Rollup:
yarn dev
Navigate to localhost:5000. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.
By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv
commands in package.json to include the option --host 0.0.0.0
.
Available App examples, switch in src/main.ts ⚗️
- MovieDB (Needs API Key) - AppMovieDB.svelte
- NewsAPI (Needs API Key) - AppNews.svelte
- Typhon UI's Components - AppRenderComponents.svelte
This example was handwritten in svelte
import App from './AppNews.svelte'; /** here */
const app = new App({
target: document.body,
props: {
name: 'world',
},
});
export default app;
NewsAPI
MovieDB
Typhon UIs Components
If you are creating an open source application under a license compatible with the GNU GPL license v3, you may use typhon-ui-svelte
under the terms of the GPLv3.
Bugs, PR are always appreciated.
Typhon UI is an GPLv3-licensed open source project with its ongoing development made possible thanks to the support by the community, substantial contributors may get a GPLv3 free license.
Flow:
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Test your changes to the best of your ability.
- Update the documentation to reflect your changes if they add or changes current functionality.
- Commit your changes (
git commit -am 'Added some feature'
). - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
If you are looking for a GPLv3 free license, contact me.