Web Server empowers users to host a straightforward website comprising HTML, images, and CSS in a creative manner utilizing a Raspberry Pi Pico. It is coded in MicroPython specifically for the Raspberry Pi Pico W 2 - WiFi - Bluetooth.
Get a raspberry pi pico w 2 - wifi. Get a usb - micro-c cable and get Thonny - IDE.
You can host it locally, or directly when it's connected via USB, but that implementation is not yet properly working fine.
It can be used to host a site 24/7. Also has a implementation for a 404 file not find, like most webservers.
-
Get thony IDE and modify the network connectivity.
-
Run the file setting up Thonny to run the code as a raspberry pi pico
- Make sure you have uploaded the files in the raspberry.
- Run the script!
webserver.py
Web server in micro-python
|-- webserver.py
|-- default.html
Additional Information for details on running the script continuously. -
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate. But i would prefer if you could contact me first.
- Fork the repository to your own Github account.
- Clone the project to your machine.
- Create a branch locally with a succinct but descriptive name. You can use 'development' directly.
- Commit changes to the branch.
- Following any formatting and testing guidelines specific to this repo.
- Push changes to your fork.
- Open a Pull Request in my repository - Before start a conversation.
-For Development, use the development branch and then we can do a pull request to the main branch. use : git --help for swtiching ... e.g.:
felipe@Felipes-MacBook-Air webserver-raspberry-pico % git branch development
felipe@Felipes-MacBook-Air webserver-raspberry-pico % git branch
development
* main
felipe@Felipes-MacBook-Air webserver-raspberry-pico % git checkout development
When git push for 'development':
git push --set-upstream origin development
git branch --set-upstream-to=origin development
git clone -b <branchname> <remote-repo-url>
Computer Science Engineer: Felipe Alfonso González L. (felipealfonsog)
If you find this project helpful and would like to support its development, there are several ways you can contribute:
- Code Contributions: If you're a developer, you can contribute by submitting pull requests with bug fixes, new features, or improvements. Feel free to fork the project and create your own branch to work on.
- Bug Reports and Feedback: If you encounter any issues or have suggestions for improvement, please open an issue on the project's GitHub repository. Your feedback is valuable in making the project better.
- Documentation: Improving the documentation is always appreciated. If you find any gaps or have suggestions to enhance the project's documentation, please let me know.
Your support and contributions are greatly appreciated! Thank you for your help in making this project better.