https://github.com/bcedu/valasimplehttpserver
Simple HTTP server made in vala
https://github.com/bcedu/valasimplehttpserver
elementary-apps http-server vala
Last synced: about 2 months ago
JSON representation
Simple HTTP server made in vala
- Host: GitHub
- URL: https://github.com/bcedu/valasimplehttpserver
- Owner: bcedu
- License: gpl-3.0
- Created: 2018-10-09T11:29:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T10:42:51.000Z (about 3 years ago)
- Last Synced: 2023-05-01T11:39:09.841Z (about 3 years ago)
- Topics: elementary-apps, http-server, vala
- Language: Vala
- Size: 4.7 MB
- Stars: 49
- Watchers: 3
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# VServer
> Flathub page: https://github.com/flathub/com.github.bcedu.valasimplehttpserver
VServer opens an http server in the desired folder. Very usefull to share files in a easy and fast way.
Do you have a film in the computer and you want to watch it on the mobile phone? Just start Vserver in you computer and go to the given link with the mobile phone, you will have the film right there!
- Start an http server through a clean and minimalist gui.
- Use the command line options to start an http server through the console (type "com.github.bcedu.valasimplehttpserver --help" to learn more).
- Choose the port where vserver listens through the gui.
VServer is "inspired" in the well known python SimpleHTTPServer.
## Credits
Special thanks to @amka (https://github.com/amka) for his work on the web navigation!
## Installation
### PPA (debian based distros)
From a terminal:
```
echo 'deb [trusted=yes] https://bcclean.pw/ppa/public stable main' > /tmp/com.githib.bcedu.list
sudo cp /tmp/com.githib.bcedu.list /etc/apt/sources.list.d/com.github.bcedu.list
sudo apt update
sudo apt install com.github.bcedu.valasimplehttpserver
```
### Gentoo
You can use de ebuild provided in this package. You will have to copy the contents from gentoo directory to your local repository (usually in `/var/db/repos/your_repo`) and the install with emerge.
From a terminal:
```
cd ValaSimpleHTTPServer/
sudo cp gentoo/* /var/db/repos/your_repo
sudo emerge --ask net-misc/ValaSimpleHTTPServer
```
### Elementary AppCenter
Install VServer through the elementary AppCenter. It's always updated to lastest version.
Easy and fast.
### Flatpak
Install VServer through Flatpak. Compatible with any linux distribution!
https://flathub.org/apps/details/com.github.bcedu.valasimplehttpserver
### Manual Instalation
You will need the following packages, that can be installed through apt:
- gobject-2.0
- glib-2.0
- gtk+-3.0
- granite
- libhandy
- gee-0.8
- libsoup-2.4
- libqrencode4
Download last release (zip file), extract files and enter to the folder where they where extracted.
Install your application with the following commands:
- meson build --prefix=/usr
- cd build
- ninja
- sudo ninja install
DO NOT DELETE FILES AFTER MANUAL INSTALLATION, THEY ARE NEEDED DURING UNINSTALL PROCESS
To uninstall type from de build folder:
- sudo ninja uninstall
### Build your .deb
- Download source code from alst release
- Unzip
- cd to main folder
- `dpkg-buildpackage -us -uc`