Skip to content

caleb-sideras/temporary-framework-website

Repository files navigation

Temporary Website

What is Temporary?

Temporary is a framework designed to make working with HTMX and Templ easier

Getting Started

Visit https://temporary-framework.org to get started with Temporary.

Documentation

Visit https://temporary-framework.org/docs to view the full documentation.

Getting Started

These instructions will help you get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Installing

  1. Clone the repository to your local machine.

    git clone --recursive https://github.com/caleb-sideras/temporary-framework-website.git
  2. Navigate to the project's directory.

    cd temporary-framework-website
  3. Install the project dependencies.

    bun install

Building the Application

Run the Temporary build process through Bun:

bun run build

Running the Application

Run the Temporary start process through Bun:

bun run start

License

This project is licensed under the MIT License.

TODO

  1. Delete/create default files on BUILD - > html/css/js delete

    • so we dont want to just delete all the files in this dir - simply because users might add shit to this?
    • store files we saved so we can remove them?
    • give a warning to the user about storing files here?
  2. Create code for the handlers instead of the definitions.go??

    • could still have the same process but the routes would be stored in separate package?
  3. Fix highlighting of focused color

  4. Fix mobile titles length

  5. docs -> example dependancy, explain build process

  6. remove mux handler

  7. metadata api

  • sending &
    and performing hx-select="#msc" and using htmx head-extention to swap head (always with merge)
  • index & page metadata exported var (on full page render, we must iterate over the output and find &/or insert the head) NOTE: this will be difficult with nested indexs
  • index inside return must have hx-preserve="true" or hx-head="re-eval" (leave up to the user) make by default?
  1. more route level ui

  2. nested indexs

  3. chunking of js

  4. DYNAMIC ROUTES INDEX ISSUE -> returns whole page!!!

REGEX double example

regex={`^\/projects\/aproject(?:$|\/.*)`}

About

Official website for the Temporary framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published