Spaces:
Running
Running
Merge branch 'main' of https://huggingface.co/spaces/arpy8/PastFm-Backend
Browse files
README.md
CHANGED
|
@@ -1,45 +1,13 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
**LastFm now playing card for my github profile**
|
| 4 |
-
|
| 5 |
-
## Description
|
| 6 |
-
PastFm is a simple github readme card to display your listening activity.
|
| 7 |
-
|
| 8 |
-
<!-- ## Flowchart
|
| 9 |
-
 -->
|
| 10 |
-
|
| 11 |
-
## Setting up the Python API with `uv`
|
| 12 |
-
1. Setup the project using:
|
| 13 |
-
```sh
|
| 14 |
-
uv venv
|
| 15 |
-
```
|
| 16 |
-
2. Install dependencies:
|
| 17 |
-
```sh
|
| 18 |
-
uv pip install -r requirements.txt
|
| 19 |
-
```
|
| 20 |
-
3. Run the API:
|
| 21 |
-
```sh
|
| 22 |
-
python api.py
|
| 23 |
-
```
|
| 24 |
-
|
| 25 |
-
## Live Preview
|
| 26 |
-
Check out the live rendering of the fetched songs:
|
| 27 |
|
| 28 |
<a href="https://arpy8-pastfm-backend.hf.space/redirect">
|
| 29 |
-
|
| 30 |
-
</a>
|
| 31 |
-
|
| 32 |
-
## Contributing
|
| 33 |
-
Contributions are welcome! Feel free to fork the repo and submit a pull request.
|
| 34 |
-
|
| 35 |
-
## License
|
| 36 |
-
This project is licensed under the [MIT License](LICENSE).
|
| 37 |
-
|
| 38 |
-
## Built With
|
| 39 |
-
- **HTML, CSS** for UI
|
| 40 |
-
- **JavaScript** for service worker
|
| 41 |
-
- **Fasapi** for API development
|
| 42 |
-
- **Huggingface Spaces** for hosting
|
| 43 |
-
|
| 44 |
-
## Author
|
| 45 |
-
Made with ♪ by [arpy8](https://arpy8.com)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: PastFm Backend
|
| 3 |
+
emoji: 🐠
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: indigo
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
---
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
<a href="https://arpy8-pastfm-backend.hf.space/redirect">
|
| 12 |
+
<img src="https://arpy8-pastfm-backend.hf.space/live" alt="" />
|
| 13 |
+
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|