tataraba / musicbinder Goto Github PK
View Code? Open in Web Editor NEWKind of like a CD Binder...
License: MIT License
Kind of like a CD Binder...
License: MIT License
Hi all,
I cloned the repo locally and executed on VS code from both Windows and Ubuntu, and I got the same result says that "no command uvicore found" first, then I searched solutions and someone suggests using "python -m uvicore app.main:app --reload" instead of "uvicore app.main:app --reload" , after I re-installed uvicore using 'pip install uvicore[standard]', I could run the code by "python -m uvicore app.main:app --reload", however, it says that the main.py file cannot be loaded, as depicted in the following pic
I have no idea what's going on? Any thoughts to solve this problem? thx
Create a new endpoint called /artist to showcase the infinite scroll capabilities of htmx.
Maybe create a large artist card that includes active band members, profile, and a picture, and as you scroll down, the next artist will populate with same info.
Currently, the "Randomize" button on the homepage ("/") merely reloads the endpoint, which generates a new random image.
Change the request to an htmx (hx-get) request which ONLY refreshes the image, instead of the whole page.
Instead of using an <a href>
tag for the "About" link, change it to use an hx-get
request instead. By doing this, we can request that only the element within the "content" section changes.
Using the Jinja2Blocks
object, we can also choose what {% block ... %}
to render from the Jinja template.
Things to remember, since this is no longer an <a href>
element, the pointer/cursor will need to be stylized with tailwind to emulate the hover effect on an <a href>
link.
Also, will need to use htmx to send the correct endpoint to the url.
Opening issue to start adding tests.
As of right now, running pytest confirms that app starts up and sends a 200 response, as well as generating a <title> tag.
The /catalog
endpoint (as well as \search
) displays a list of cards with Artist name and active members.
When container is clicked, the containing element changes to display the Artist profile.
Want to see if another htmx event can be included on click that reverts the card back to its original state (Artist name and Members)... as such, functioning mostly as a toggle.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.