This spotify clone is a simple, and private streaming site, with features like adding songs, adding users, admin page, streaming offline, and a few more, and is hosted on localhost or 127.0.0.1. It is fully functional and ready to be deployed with some basic security features against attacks like cross site scripting and SQL injection.
- Ready to deploy
- Protected against common attacks
- Written in clean code and easily editable
- Comes with common error pages like 404 and 500
- Comes with a development server
- Easy to use admin interface
- Offline streaming
- Adding songs
- etc.
This Django site uses 2 main technologies, Python 3.10 and Django 4.1.4 but uses lots of different thing in the background like JavaScript (to stream songs non-stop) and CSS (Helps styling the webpages)
Install the repository and the following package and you are good to go!
pip install django==4.1.4
To start the development server on 127.0.0.1:8000 or localhost:8000 (for Chrome), run the flowing commands
-
To start the server:
python manage.py runserver
OR Run the runserver file.
-
To add a user go to 127.0.0.1:8000/signup/ or localhost:8000/signup/
-
To login go to 127.0.0.1:8000/login or localhost:8000/login and login with the credentials you created.
-
Enjoy!
The admin username and password are:
- Username: admin
- Password: AdminPassword123
Want to contribute? Great! Pull requests and issues are welcome! Here is an excellent guide on how to create pull requests and forks to request changes.