Illustration for article about VapeServer: 160ms Web Server. Keywords: disposable vape web server project, engineer turns vape into server, BogdanTheGeek VapeServer.

VapeServer: 160ms Web Server

In an era where electronic waste is becoming a mounting environmental concern, one engineer has found an ingenious way to breathe new life into discarded tech. Romanian engineer and origami artist Bogdan Ionescu, better known by his online handle “BogdanTheGeek,” has successfully transformed a humble disposable vape into a fully functional web server, showcasing both technical prowess and environmental consciousness.

The Birth of VapeServer

The resulting creation, dubbed “VapeServer,” is a marvel of miniaturization that packs a surprising amount of functionality into an object most would consider trash. Operating with a remarkably compact footprint of just 24KB, this unconventional server achieves impressive page load times of 160 milliseconds—faster than many conventional web hosting solutions.

The vape used in this project contains a Puya PY32F002B microcontroller with an ARM Cortex-M0+ core running at 24 MHz, along with 3kB of SRAM and 24kB of Flash memory. Despite its modest specifications, the server manages to implement both a TCP/IP stack and HTTP 1.0 web server through an implementation called iPic, making it one of the tiniest known implementations of these protocols.

Technical Innovation Meets Environmental Responsibility

Repurposing Electronic Waste

Ionescu’s project demonstrates remarkable technical creativity while addressing a growing environmental crisis. The engineer has been collecting disposable vapes from friends and family for several years, initially salvaging only the batteries for future projects. However, as disposable vapes became more technologically advanced, featuring microcontrollers, USB-C ports, and increasingly sophisticated electronics, Ionescu recognized their untapped potential.

The environmental implications of disposable vapes are staggering. According to the U.S. Public Interest Research Group, Americans currently discard approximately 5.7 disposable vapes every second, amounting to nearly 500,000 devices per day. This waste stream contributes not only to electronic waste but also to plastic pollution, as these devices are primarily composed of non-biodegradable materials that can take centuries to decompose.

The United Kingdom has already taken steps to address this growing problem, implementing a ban on the sale of single-use vapes as of June 2025. The Marine Conservation Society and other environmental organizations have been vocal about the negative impacts of these devices on ecosystems and wildlife.

How It Works

The VapeServer project relies on Ionescu’s semihost-ip implementation, which cleverly leverages the debugging capabilities of ARM microcontrollers to establish network connectivity. By using semihosting—a mechanism that allows embedded programs to communicate with a host computer through a debugger—combined with Serial Line Internet Protocol (SLIP), the microcontroller can effectively connect to the internet.

The project utilizes uIP, a small TCP/IP stack specifically designed for microcontrollers with limited resources. This implementation doesn’t require a real-time operating system (RTOS) and is easily portable to various platforms, making it an ideal choice for this unconventional application. The entire system draws power from the vape’s battery, and connectivity is established through the USB-C port that many modern disposable vapes feature.

For those interested in replicating or building upon this work, Ionescu has made the source code available on GitHub, providing detailed documentation and implementation notes that make the project accessible to other makers and hobbyists.

Community Response and Broader Implications

Maker Community Enthusiasm

The VapeServer project has garnered significant attention from tech enthusiasts and the DIY community, highlighting a growing interest in unconventional engineering solutions. The project demonstrates that even the most seemingly insignificant electronic devices can be repurposed for innovative applications when approached with creativity and technical skill.

This project fits within a broader trend of electronic waste repurposing initiatives that have gained momentum in recent years. Maker spaces and educational institutions worldwide have begun incorporating e-waste upcycling into their programs, teaching students to see potential in discarded electronics rather than treating them as mere waste.

Environmental Benefits

According to the Environmental Protection Agency, electronic waste represents one of the fastest-growing waste streams in the United States, with millions of tons generated annually. Proper management of this waste stream is crucial, as electronics contain both valuable materials that can be recovered and hazardous substances that require careful handling.

Initiatives like the VapeServer project demonstrate how individual efforts can contribute to larger environmental goals. By showcasing the hidden potential in electronic waste, projects like this encourage both consumers and manufacturers to think more critically about the lifecycle of electronic devices.

A New Perspective on Disposable Technology

The VapeServer project serves as a powerful reminder that “disposable” often refers more to our relationship with technology than to its inherent limitations. The microcontroller housed within a disposable vape contains substantial computational power that, with the right approach, can be harnessed for meaningful applications.

This innovative repurposing effort also highlights an important aspect of sustainability: extending the useful life of electronic components that have already been manufactured and distributed. Rather than requiring new materials and manufacturing processes, projects like VapeServer demonstrate how existing resources can be maximized through creative engineering.

For electronics enthusiasts, the project offers several lessons:

  • Even modest microcontrollers can host functional web servers
  • Creative networking solutions can overcome hardware limitations
  • Electronic waste represents a largely untapped resource for innovation
  • Personal projects can have broader environmental and social impacts

Looking Forward

As concerns about electronic waste continue to grow, projects like the VapeServer may inspire similar efforts to find new uses for discarded technology. The maker community has already embraced the concept, with other engineers exploring applications that transform common electronic waste into functional devices.

The broader implications extend beyond hobby projects to potential industrial applications. If individual engineers can achieve impressive results with minimal resources, imagine what could be accomplished with more systematic approaches to electronic waste recovery and repurposing.

In an age where technology cycles are increasingly rapid and our electronic waste stream continues to expand, the VapeServer stands as a testament to what can be accomplished when creativity meets necessity. It’s a reminder that with enough ingenuity, even our trash can become treasure.

For those inspired by this project, numerous resources are available to learn more about electronic waste management and sustainable technology practices. The Environmental Protection Agency offers detailed information about electronics recycling, while organizations like the Marine Conservation Society provide insights into the environmental impacts of electronic waste.


Sources:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *