Find Jobs
Hire Freelancers

Google Chrome application to start simple web server

$10-30 USD

In Progress
Posted about 9 years ago

$10-30 USD

Paid on delivery
I need Google Chrome application. It will be used as a javascript webserver running in Chrome. Your goal is to develop basic functional Chrome App for a webserver, like this: - when installed, it adds indication icon somewhere to the GUI. Preferably at the left side next to the menu icon. Clicking the indication icon shows a menu with two items - Enable, Disable. Current state is indicated in the menu. The app runs on background while the browser is running. - when Disabled, the webserver does nothing - when Enabled, the webserver opens random port from range 1111 to 9999 and listens on it for incoming HTTP communication (TCP). The app once enabled will alert IP and port where connections are accepted. After that it behaves like regular web server, meaning that it accepts connections from remote computers on the given port, waits for every request to receive all headers up to CRLF+CRLF. If POST request is received, it also waits for the posted data. It must be able to accept many connections at the same time and handle them all properly. When a connection is accepted on the given port and a request is fully received, it passes the request to some function. This function just alert()s the entire request as string on the computer where the chrome app is installed, including all headers and body. (Somebody else will implement handling of the requests and building correct reply.) I will also need a possibility to return some reply over the network, as a reply to the request. So return value of the handling function will be sent as a string as a reply. That's all As a test if the Chrome app is running, I will run the chrome app, enable it, then I will run telnet on another computer at [login to view URL] (using the correct IP and port number of the computer which runs the app) and I am expecting to see an alert on the "server machine" which alerts "GET /some_url HTTP/1.1" and some of the other headers, and I am expecting to receive some reply on the telnet.
Project ID: 7315839

About the project

1 proposal
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $100 USD for this job
User Avatar
Dear Hiring Manager I am happy to read your job posting,attachment and get the point of what you want. I am a senior web developer with more than 8 years' experience. I've great skills about UI/UX including PHP,HTML5, CSS, jQuery, Backbone, Angular, Ajax I will make myself available for your job. I am ready to devote my full time and do my best for your job. Looking forward to seeing you. Best Regards.
$100 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CZECH REPUBLIC
Sumperk, Czech Republic
5.0
84
Payment method verified
Member since Apr 5, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.