Skip to content

campanhacompleta/zap.voltalora.com

Repository files navigation

Zap da Lôra

Powered by telegram API

Unsupported at the moment

  • Secret chats
  • Black list
  • ...

Technical details

The app is based on the AngularJS JavaScript framework, and written in pure JavaScript. jQuery is used for DOM manipulations, and Bootstrap as the CSS-framework.

Running locally

The project repository is based on angularjs-seed and includes gulp tasks, so it's easy to launch the app locally on your desktop. Install node.js and run the following commands in the project directory

sudo npm install -g gulp
npm install

This will install all the needed dependencies.

Running web-server

Just run gulp watch to start the web server and the livereload task. Open http://localhost:8000/app/index.html in your browser.

Running as Chrome Packaged App

To run this application in Google Chrome as a packaged app, open this URL (in Chrome): chrome://extensions/, then tick "Developer mode" and press "Load unpacked extension...". Select the downloaded app folder and Webogram should appear in the list.

Run gulp watch to watch for file changes and automatically rebuild the app.

Running as Firefox OS App

To run this application in Firefox as a packaged app, open "Menu" -> "Developer" -> "WebIDE" (or hit Shift + F8). Choose "Open packaged app" from the Project menu and select the app folder.

Run gulp watch to watch for file changes and automatically rebuild the app.

Running in production

Run gulp clean, then gulp publish to build the minimized production version of the app. Copy dist folder contents to your web server. Don't forget to set X-Frame-Options SAMEORIGIN header (docs).

Third party libraries

Besides the frameworks mentioned above, other libraries are used for protocol and UI needs. Here is the short list:

Many thanks to all these libraries' authors and contributors. A detailed list with descriptions and licenses is available here.

Licensing

The source code is licensed under GPL v3. License is available here.