Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
This branch is 299 commits behind fossasia:master.

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Build Status Join the chat at Code Climate codecov Dependency Status

The loklak_search creates a website using the loklak server as a data source. The goal is to get a search site, that offers timeline search as well as custom media search, account and geolocation search.

In order to run the service you can use the API of or install your own loklak server data storage engine. loklak_server is a server application which collects messages from various social media tweet sources, including twitter. The server contains a search index and a peer-to-peer index sharing interface. All messages are stored in an elasticsearch index.

The site of this repo is deployed on the GitHub gh-pages branch and automatically deployed here:


Please join our mailing list to discuss questions regarding the project:!forum/loklak

Our chat channel is on gitter here:

Technology Stack

  • HTML - Structure of the web page generated.
  • CSS - Styling options and details ofthe web page.
  • Javascript(JSON) - Used to store information for deploying the application such as dependencies.
  • Angular2 - Structure for deployment of the web page.

Services and Dependencies

  • Bower - The goal is to use Bower to manage front-end dependencies in future.



First we will need to install angular-cli by using the following command:

$ npm install -g @angular/cli

After installing anular-cli we need to install our required node modules, so we will do that by using the following command:

$ npm install

How to deploy?

Running on localhost:
  • Step 1: Fork loklak_search repository and clone it to your desktop
  • Step 2: Then cd into that cloned folder
  • Step 3: Deploy locally by running this :$ ng serve

For deploying with Github Pages:

With these very simple steps you can have loklak_search deployed:

  • Step 1: Fork loklak_search repository and clone it to your desktop
  • Step 2: Then checkout to your master branch $ git checkout master
  • Step 3: Deploy running this : $ npm run deploy
  • Step 4: Visit and you should see the search running
  • Step 5: As you search you might see that that it cant find anything, to resolve this, on search you will see there is a red shield on search bar, click on it and allow to load scripts
  • Step 6: Reload and you will have a function loklak search page deployed with github pages.

Loklak Server

See here to run your own (recommended), and change apiUrl in config accordingly. Last resource, or for production is `

Contributions, Bug Reports, Feature Requests

This is an Open Source project and we would be happy to see contributors who report bugs and file feature requests submitting pull requests as well. Please report issues in the GitHub tracker.

Branch Policy

We have the following branches

  • master All development goes on in the master branch. If you're making a contribution, you are supposed to make a pull request to master. PRs to the branch must pass a build check and a unit-test check on Travis
  • gh-pages This contains the autogenerated code of the master branch that is generated by Travis.


This project is currently licensed under The MIT License (MIT). A copy of should be present along with the source code. To obtain the software under a different license, please contact FOSSASIA.


Frontend Search for loklak server backend at






No releases published


No packages published


  • TypeScript 68.1%
  • HTML 18.0%
  • CSS 12.1%
  • Other 1.8%