Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac-Flath authored Jan 30, 2025
1 parent 946d8e7 commit f7cd31b
Showing 1 changed file with 20 additions and 37 deletions.
57 changes: 20 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# MonsterUI


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
> Combine the simplicity of FastHTML with the power of TailwindCSS
## Installation

To install this library, uses

`pip install MonsterUI`


## Getting Started


Go to the MonsterUI [Getting Started Page](https://monsterui.answer.ai/getting_started). It is the #1 best way to learn to get started.

### TLDR

Run `python file.py` on this to start:

``` python
```python
from fasthtml.common import *
from monsterui.all import *

Expand All @@ -33,7 +36,7 @@ def index():
return Titled("Your First App",
Card(
H1("Welcome!"),
P("Your first MonsterUI app", cls=TextPresetsT.caption),
P("Your first MonsterUI app", cls=TextPresets.muted_sm),
P("I'm excited to see what you build with MonsterUI!"),
footer=DivLAligned(*[UkIconLink(icon,href=url) for icon,url in socials])))

Expand All @@ -42,57 +45,37 @@ serve()

## LLM context files

Using LLMs for development is a best practice way to get started and
explore. While LLMs cannot code for you, they can be helpful assistants.
You must check, refactor, test, and vet any code any LLM generates for
you - but they are helpful productivity tools. Take a look inside the
`llms.txt` file to see links to particularly useful context files!
Using LLMs for development is a best practice way to get started and explore. While LLMs cannot code for you, they can be helpful assistants. You must check, refactor, test, and vet any code any LLM generates for you - but they are helpful productivity tools. Take a look inside the `llms.txt` file to see links to particularly useful context files!

- [llms.txt](https://raw.githubusercontent.com/AnswerDotAI/MonsterUI/refs/heads/main/docs/llms.txt):
Links to what is included
- [llms-ctx.txt](https://raw.githubusercontent.com/AnswerDotAI/MonsterUI/refs/heads/main/docs/llms-ctx.txt):
MonsterUI Documentation Pages
- [API
list](https://raw.githubusercontent.com/AnswerDotAI/MonsterUI/refs/heads/main/docs/apilist.txt):
API list for MonsterUI (included in llms-ctx.txt)
- [llms.txt](https://raw.githubusercontent.com/AnswerDotAI/MonsterUI/refs/heads/main/docs/llms.txt): Links to what is included
- [llms-ctx.txt](https://raw.githubusercontent.com/AnswerDotAI/MonsterUI/refs/heads/main/docs/llms-ctx.txt): MonsterUI Documentation Pages
- [API list](https://raw.githubusercontent.com/AnswerDotAI/MonsterUI/refs/heads/main/docs/apilist.txt): API list for MonsterUI (included in llms-ctx.txt)

In addition you can add `/md` (for markdown) to a url to get a markdown
representation and `/rmd` for rendered markdown representation (nice for
looking to see what would be put into context.
In addition you can add `/md` (for markdown) to a url to get a markdown representation and `/rmd` for rendered markdown representation (nice for looking to see what would be put into context.

### Step by Step

To get started, check out:

1. Start by importing the modules as follows:
1. Start by importing the modules as follows:

``` python
```python
from fasthtml.common import *
from monsterui.all import *
```

2. Instantiate the app with the MonsterUI headers
2. Instantiate the app with the MonsterUI headers

``` python
```python
app = FastHTML(hdrs=Theme.blue.headers())

# Alternatively, using the fast_app method
app, rt = fast_app(hdrs=Theme.slate.headers())
```
>*The color option can be any of the theme options available out of the box*
> *The color option can be any of the theme options available out of the
> box*
From here, you can explore the API Reference & examples to see how to
implement the components. You can also check out these demo videos to as
a quick start guide:
From here, you can explore the API Reference & examples to see how to implement the components. You can also check out these demo videos in the documentation page

- MonsterUI [documentation page and Tutorial
app](https://monsterui.answer.ai/tutorial_app)
- Isaac & Hamel : [Building his website’s team
page](https://youtu.be/22Jn46-mmM0)
- Isaac & Audrey : [Building a blog](https://youtu.be/gVWAsywxLXE)
- Isaac : [Building a blog](https://youtu.be/22NJgfAqgko)
- MonsterUI [Getting Started Page](https://monsterui.answer.ai/getting_started)

More resources and improvements to the documentation will be added here
soon!
More resources and improvements to the documentation will be added here soon!

0 comments on commit f7cd31b

Please sign in to comment.