<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Gayan Kuruppu on Medium]]></title>
        <description><![CDATA[Stories by Gayan Kuruppu on Medium]]></description>
        <link>https://medium.com/@gayanvoice?source=rss-d5da0a3b18de------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*oG_U43NDvs-SAjAP</url>
            <title>Stories by Gayan Kuruppu on Medium</title>
            <link>https://medium.com/@gayanvoice?source=rss-d5da0a3b18de------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 07:59:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gayanvoice/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Most active GitHub users by country]]></title>
            <link>https://gayanvoice.medium.com/most-active-github-users-by-country-1c72e4b61b5b?source=rss-d5da0a3b18de------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c72e4b61b5b</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[github-api]]></category>
            <category><![CDATA[github-pages]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Gayan Kuruppu]]></dc:creator>
            <pubDate>Tue, 15 Jun 2021 12:25:31 GMT</pubDate>
            <atom:updated>2021-06-23T04:27:00.431Z</atom:updated>
            <content:encoded><![CDATA[<h4>The daily updated list of top GitHub users by public contributions, total contributions, and the number of followers by country. Don’t forget to share it on social media.</h4><figure><img alt="top gitHub users by country" src="https://cdn-images-1.medium.com/max/828/1*n38dqZ4AvBOjvSKH5LWcLg.png" /><figcaption><a href="https://github.com/gayanvoice/top-github-users">Top GitHub users</a> by country</figcaption></figure><h4>TLDR; Go to <a href="https://github.com/gayanvoice/top-github-users">Top GitHub Users by Country</a></h4><p>When it comes to open source collaboration across the world, GitHub comes first in our minds. It is a social media network for developers who like to share their source codes with other developers. GitHub consists of 56 million developers, with over 1.9 billion contributes to its 60 million repositories.</p><p>But how do you find your place in this vast Octoverse? For that reason, I created this <a href="https://github.com/gayanvoice/top-github-users-action">GitHub Action</a> that does not require any databases, hosting, and domain names from third parties. It executes the code every hour and saves changes to the repository.</p><figure><img alt="Top GitHub users by public contributions in India" src="https://cdn-images-1.medium.com/max/1024/1*vSuBqbgcr1Zc2meuWMi3Hg.png" /><figcaption>Top GitHub users by <a href="https://github.com/gayanvoice/top-github-users/blob/main/markdown/public_contributions/india.md">public contributions in India</a></figcaption></figure><figure><img alt="Top GitHub users by total contributions in India" src="https://cdn-images-1.medium.com/max/1024/1*YBDIKwBl37ZZY9GPE_XbqA.png" /><figcaption>Top GitHub users by <a href="https://github.com/gayanvoice/top-github-users/blob/main/markdown/total_contributions/india.md">total contributions in India</a></figcaption></figure><figure><img alt="Top GitHub users by followers in India" src="https://cdn-images-1.medium.com/max/1024/1*i1hAT5HlWFNAMh-ck9l86Q.png" /><figcaption>Top GitHub users by <a href="https://github.com/gayanvoice/top-github-users/blob/main/markdown/followers/india.md">followers in India</a></figcaption></figure><p>This creates stability, adds many other reports, and supports more countries. This program generates lists of top users by public contributions, total contributions, and the number of followers for each country. It also supports 136 countries from small countries like <a href="https://github.com/gayanvoice/top-github-users/blob/main/markdown/public_contributions/andorra.md">Andorra</a> to large countries like <a href="https://github.com/gayanvoice/top-github-users/blob/main/markdown/public_contributions/india.md">India</a>, <a href="https://github.com/gayanvoice/top-github-users/blob/main/markdown/public_contributions/china.md">China</a>, and <a href="https://github.com/gayanvoice/top-github-users/blob/main/markdown/public_contributions/united_states_of_america.md">the United States</a>. But sometimes due to errors and failures of GitHub GraphQL API queries fewer users.</p><figure><img alt="Top GitHub users by public contributions in Iran" src="https://cdn-images-1.medium.com/max/1024/1*lPX_uYP4W8FeJCXiS0wf9w.png" /><figcaption>Top GitHub users by <a href="https://github.com/gayanvoice/top-github-users/blob/main/markdown/public_contributions/iran.md">public contributions in Iran</a></figcaption></figure><p>The other feature is an <a href="https://gayanvoice.github.io/top-github-users/index.html">interactive map</a> that visualizes the total number of public contributions by country. The data refreshes each time after the scheduled update. So this map gives a real-time view of the density of contributions by each country. You can see North America, Asia, and Europe leads the map.</p><figure><img alt="Top GitHub users by public contributions in Russia" src="https://cdn-images-1.medium.com/max/1024/1*0pQ14m8xZmkXKHEbfGSJCg.png" /><figcaption>Top GitHub users by <a href="https://github.com/gayanvoice/top-github-users/blob/main/markdown/public_contributions/russia.md">public contributions in Russia</a></figcaption></figure><p>The relative distortions that are created by few users that have a higher number of public contributions have been reduced by adding limits. The maximum number of commits that each user is limited to 10,000. This feature only uses in this map feature.</p><h4>Interpretation</h4><p>By using the map you can see how the audience spread across the continents. The contributions are widely dependent on the country’s economic, technical advancements and the maturity of the tech industry.</p><p>Many African countries are lagging due to a less workforce with technology skills. Some smaller nations like Pacific Island countries are completely removed from the program due to fewer or not enough users from those countries. The central American and central Asian countries are also performing far less on contributing to GitHub largely because of economic reasons.</p><h4>How it collects user data?</h4><p>The program uses GraphQL API to query uses by its location. Due to the limitations of the GitHub GraphQL API, the only way to query these millions of users is by the number of followers. Each time the program queries a maximum number of 1000 users sorted by ascending form by the number of followers each user.</p><p>This minimum number of followers of each user depends on each country. For example, Andorra they only required to have 0 followers to be on the list due to its population size. But when it comes to Germany, India, China, or United States you might need several hundred to appear on the list. GitHub actions are offered free of use without any limitations for public repositories.</p><p>Go to <a href="https://github.com/gayanvoice/top-github-users">Top GitHub users by Country</a> and don’t forget star ⭐ the repository</p><p><em>Thanks for reading this article! Leave a comment below if you have any questions. Be sure to follow for the </em><a href="https://medium.com/@gayanvoice"><strong><em>@gayanvoice</em></strong></a> <em>on Medium and share this post with other programming enthusiasts.</em></p><p><strong>Gayan </strong>shares articles and repositories on ASP.NET Core, Java Spring, and Android.</p><blockquote><em>You can connect with him on </em><a href="https://medium.com/@gayanvoice"><strong><em>Medium</em></strong></a><em>, </em><a href="https://twitter.com/gayanvoice"><strong><em>Twitter</em></strong></a><em>, or </em><a href="https://github.com/gayanvoice"><strong><em>GitHub</em></strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c72e4b61b5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy an ASP.NET Core Web App to IBM Cloud Foundry]]></title>
            <link>https://gayanvoice.medium.com/deploy-an-asp-net-core-web-app-to-ibm-cloud-foundry-f80046927eb6?source=rss-d5da0a3b18de------2</link>
            <guid isPermaLink="false">https://medium.com/p/f80046927eb6</guid>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[ibm-cloud]]></category>
            <category><![CDATA[aspnetcore]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Gayan Kuruppu]]></dc:creator>
            <pubDate>Fri, 11 Dec 2020 06:17:50 GMT</pubDate>
            <atom:updated>2020-12-11T06:41:30.211Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fcq1Ak0CdNap5JstLe5tHQ.png" /></figure><p>This guide walks you through the process of deploying an ASP.NET Core 3.1 web app to IBM Cloud Foundry.</p><h4>Fork this repository to your profile before getting started.</h4><p><a href="https://github.com/gayanvoice/asp-net-core-web-app">gayanvoice/asp-net-core-web-app</a></p><h4>Go to deployment of the app</h4><p><a href="https://asp-net-core-web-app.mybluemix.net/">Home Page - asp_net_core_web_app</a></p><h3>Follow step by step video of the tutorial</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FfeG0dtWVTbk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DfeG0dtWVTbk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FfeG0dtWVTbk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/106d5556f54079647c4bec7e3bab0364/href">https://medium.com/media/106d5556f54079647c4bec7e3bab0364/href</a></iframe><p>You will deploy an ASP.NET Core web app by using the GitHub <a href="https://github.com/gayanvoice/asp-net-core-web-app">asp-net-core-web-app</a> to IBM Cloud Foundry by using continuous integration with GitHub.</p><p>The advantage of selecting IBM Cloud for application deployment over AWS, Google Cloud, or Azure is the <strong>process is simple</strong>, and <strong>you don’t need to add a credit card to activate the account</strong>.</p><p>I created an IBM cloud account, and <strong>if you don’t have an IBM Cloud account you can go to this tutorial</strong>.</p><h3>1 — Add manifest.yml to solution directory</h3><ul><li>Add a <strong><em>manifest.yml</em></strong> to your solution directory as like this this file <a href="https://github.com/gayanvoice/asp-net-core-web-app/blob/master/manifest.yml"><strong>manifest.yml</strong></a> and push changes to the GitHub repository.</li><li>If you are using Lite account the <strong>maximum memory limit is 256M</strong>. You can use low memory, in this case I use 64M.</li><li>Push your changes to the repository.</li><li>You don’t need to add <strong>manifest.yml</strong>, if you are using the repository <a href="https://github.com/gayanvoice/asp-net-core-web-app"><strong>https://github.com/gayanvoice/asp-net-core-web-app</strong></a>.</li></ul><h3>2 — Build your own toolchain</h3><ol><li>Go to <a href="https://cloud.ibm.com/catalog"><strong>cloud.ibm.com/catalog</strong></a><strong> </strong>and enter “Toolchain”.</li><li>Select <strong>Toolchain </strong>card.</li><li>Scroll down to find <strong>Other Templates</strong> category and select <strong>Build your own toolchain</strong> card.</li><li>Give a <strong>Toolchain Name</strong> and <strong>Select Region</strong>. In this case Toolchain Name is <em>asp-net-core-web-app-toolchain</em> and Select Region is <em>Dallas. </em>Refer Figure 1 — Build your own toolchain.</li><li>Click <strong>Create </strong>button to continue.</li></ol><h3>3 — Create Continuous Delivery Service</h3><ol><li>Go to <a href="https://cloud.ibm.com/catalog"><strong>cloud.ibm.com/catalog</strong></a><strong> </strong>and enter “Continuous Delivery”.</li><li>Select <strong>Continuous Delivery</strong> card.</li><li><strong>Select Region</strong>, <strong>Select a pricing plan,</strong> and scroll down to find <strong>Configure your resource</strong> category. Give <strong>Service Name. </strong>In this case Select Region is <em>dallas, </em>Select a pricing place is <em>Lite,</em> and Service Name is <em>asp-net-core-web-app-continuous-delivery. </em>The Refer Figure 2— Create Continuous Delivery Service.</li><li>Click <strong>Create</strong> button to continue.</li></ol><h3>4— Add Tool integrations</h3><p>We have to add GitHub, Eclipse Orion Web IDE, and Delivery Pipeline to the toolchain. You can follow the official doc <a href="https://www.ibm.com/cloud/architecture/tutorials/create-a-custom-toolchain?task=2">create-a-custom-toolchain</a> by IBM. You can find <em>asp-net-core-web-app-toolchain</em> under <strong>Developer tools</strong> in <a href="https://cloud.ibm.com/resources"><strong>Resources list</strong></a>.</p><h4>4.1 — Add GitHub Integration</h4><ol><li>Click <strong>Add tool.</strong></li><li>Search <em>GitHub</em> in the search bar.</li><li>Click <strong>GitHub</strong> card.</li><li>If you haven’t authorized GitHub for IBM. Click on <strong>Authorize </strong>button. The site will redirect to GitHub and click on <strong>Authorize IBM-Cloud</strong> button to authorize.</li><li>Select <strong>Existing</strong> from <strong>Repository type</strong> drop down menu.</li><li>Paste URL of forked repository from your GitHub profile to <strong>Repository URL</strong> input.</li><li>Select <strong>Enable GitHub Issues</strong> option.</li><li>Click <strong>Create Integration</strong> button to continue.</li></ol><h4>4.2— Add Eclipse Orion Web IDE Integration</h4><ol><li>Click <strong>Add tool.</strong></li><li>Search <em>Eclipse Orion Web IDE</em> in the search bar.</li><li>Click <strong>Eclipse Orion Web IDE</strong> card.</li><li>This tool integration does not require configuration. Click <strong>Create Integration</strong> button to continue.</li></ol><h4>4.3 — Add Delivery Pipeline Integration</h4><ol><li>Click <strong>Add tool.</strong></li><li>Search <em>Delivery Pipeline</em> in the search bar.</li><li>Click <strong>Delivery Pipeline</strong> card.</li><li>Enter <strong>Pipeline name.</strong> In this case Pipeline name is <em>asp-net-core-web-app-pipeline</em>.</li><li>Click <strong>Create Integration</strong> button to continue.</li></ol><h3>5 — Add Stages to Delivery Pipeline integration</h3><p>We have to add Build and Deploy to delivery pipeline integration. You can follow the official doc <a href="https://www.ibm.com/cloud/architecture/tutorials/create-a-custom-toolchain?task=3">task 3</a> by IBM. You can find <em>asp-net-core-web-app-pipeline</em> under <em>asp-net-core-web-app-toolchain</em> in Toolchains.</p><h4>5.1 — Add Build Stage</h4><ol><li>Click <strong>Add Stage.</strong></li><li>Go to <strong>Jobs</strong> in <em>MyStage</em>.</li><li>Click <strong>ADD JOB</strong> drop down menu.</li><li>Select <strong>Build</strong> option.</li><li>Click <strong>Save</strong> button to continue.</li></ol><h4>5.2 — Add Deploy Stage</h4><ol><li>Click <strong>Add Stage.</strong></li><li>Go to <strong>Jobs</strong> in <em>MyStage</em>.</li><li>Click <strong>ADD JOB</strong> drop down menu.</li><li>Select <strong>Deploy</strong> option.</li><li>Click <strong>API key</strong> input.</li><li>Click <strong>New+</strong> button on <strong>Enter and API key</strong> model.</li><li>Click <strong>OK</strong> button on <strong>Create a new API key with full access</strong> model.</li><li>Click <strong>Authenticate </strong>button on <strong>Enter an API key</strong> model.</li><li>Click <strong>Save</strong> button to continue.</li></ol><h3>6— Deploy</h3><p>You can deploy the app, click <strong>Run Stage</strong> button in <em>Build MyStage.</em></p><p>I hope you found this Medium guide useful! I will continue to update the steps to it as they are changed by the IBM.</p><p><em>Thanks for reading this article! Leave a comment below if you have any questions. Be sure to follow for the </em><a href="https://medium.com/@gayanvoice"><strong><em>@gayanvoice</em></strong></a> <em>on Medium and share this post with other programming enthusiasts.</em></p><p><strong>Gayan </strong>is a developer and student from Colombo. He shares articles and repositories on ASP.NET Core, Java Spring, and Android.</p><blockquote><em>You can connect with him on </em><a href="https://medium.com/@gayanvoice"><strong><em>Medium</em></strong></a><em>, </em><a href="https://twitter.com/gayankur"><strong><em>Twitter</em></strong></a><em>, or </em><a href="https://github.com/gayanvoice"><strong><em>GitHub</em></strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f80046927eb6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[English]]></title>
            <link>https://medium.com/series/english-a8566436871e?source=rss-d5da0a3b18de------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8566436871e</guid>
            <dc:creator><![CDATA[Gayan Kuruppu]]></dc:creator>
            <pubDate>Tue, 21 Jul 2020 09:40:50 GMT</pubDate>
            <atom:updated>2020-07-21T09:40:50.133Z</atom:updated>
            <content:encoded><![CDATA[<p>Chapter 1</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8566436871e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigate through modules, classes, and declarations in GitHub like an IDE]]></title>
            <link>https://gayanvoice.medium.com/navigate-through-modules-classes-and-declarations-in-github-like-an-ide-90d95a206d10?source=rss-d5da0a3b18de------2</link>
            <guid isPermaLink="false">https://medium.com/p/90d95a206d10</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[chrome-extension]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Gayan Kuruppu]]></dc:creator>
            <pubDate>Thu, 10 Oct 2019 13:09:20 GMT</pubDate>
            <atom:updated>2019-10-10T13:24:56.402Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://github.com/gayankuruppu/GitHubClicks">gayankuruppu/GitHubClicks</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*UlBLIHcyN3FqrgUxfivCAg.gif" /></figure><p>The Chrome extension is written in Javascript and based on JQuery to handle HTTP requests with Github API. The extension supports the Android projects written in Java and Kotlin. The extension is still under the experimental stage.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3SkTmxNDOY4%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3SkTmxNDOY4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3SkTmxNDOY4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3953c4da701c3c4bfe201696cde11726/href">https://medium.com/media/3953c4da701c3c4bfe201696cde11726/href</a></iframe><h3>Install</h3><h4>1. Get the extension as Download ZIP</h4><figure><img alt="Clone the project" src="https://cdn-images-1.medium.com/max/509/1*0ngcO0pO9POdtZ8PBaG8gA.png" /></figure><h4>2. Extract the ZIP to a folder</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*OMxdEGI3e_gJCJSFoHF4Ng.png" /></figure><h4>3. Open Extensions in the Google Chrome browser</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*8BECLetHQgr62sw3FFhTKQ.png" /></figure><h4>4. Enable Developer mode</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*J5jODbNJo9kP6tDw6F_d8Q.png" /></figure><h4>5. Load the extension using Load unpacked and select the root folder</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L_PZuF8x9UTKYEgRK3ydXA.png" /></figure><h4>6. Refresh the extension after the changes</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*etgXMsmzykivg5XryAjiIA.png" /></figure><h3>Contribute</h3><p>The extension is not stable and needs some more contribution to integrating this into other languages. The potential limitations of this extension work only on the master branch only support primary data types, and can not detect dependencies from other libraries.</p><h3>Source</h3><pre>root/<br>├── LICENSE<br>├── README.md<br>├── github128.png<br>├── github64.png<br>├── github16.png<br>├── manifest.json<br>├── js/<br>│   └── github.js<br>│   └── util.js<br>│   └── worker.js<br>│   ├── vendor/<br>│   |   └── jquery-3.4.1.js.js<br>│   ├── lang/<br>│   |   └── Java.js<br>│   |   └── Kotlin.js</pre><h4>manifest.json</h4><p>The extension has a JSON-formatted manifest file, named manifest.json, that provides important information about name, version, description, content_scripts, background, icons, permissions, and version.</p><p>content_scripts</p><p>The values in the content_scripts contains js which stores the order of javascript source files in the extension. The content_scripts JSONObject injects the javascript source into the content page of a specific tab in orderjs/vendor/jquery-3.4.1.js, js/github.js, js/util.js and language files js/lang/Java.js, js/lang/Kotlin.js</p><p>background</p><p>The values in the background contain scripts which stores the order of javascript source files in the extension. The scripts JSONObject injects the javascript source in the browser. The js/worker.js execute the script into the browser.</p><h4>github.js</h4><p>The github.js file loads into the content to check if the page is a github page, and check if the page is a file by using the extension. If the content is a file then text highlight when mouseover on the span tags. If the user clicks on the text, separate javascript classes in the lang folder will load into the container depends on the extension of the file.</p><h4>util.js</h4><p>consists of some common functions to share with other classes and mostly with github.js.</p><h4>Now you can navigate through modules, classes, and declarations in GitHub</h4><p>Github <a href="https://github.com/gayankuruppu/GitHubClicks">https://github.com/gayankuruppu/GitHubClicks</a></p><p><strong>If you enjoyed this story, please click 👏 and share to help others find it!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90d95a206d10" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Develop a VPN App in Java using Android Studio]]></title>
            <link>https://gayanvoice.medium.com/develop-a-vpn-app-in-java-using-android-studio-6f1f2d66031e?source=rss-d5da0a3b18de------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f1f2d66031e</guid>
            <category><![CDATA[vpn]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Gayan Kuruppu]]></dc:creator>
            <pubDate>Mon, 23 Sep 2019 10:30:08 GMT</pubDate>
            <atom:updated>2020-01-20T08:06:25.004Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://github.com/gayankuruppu/android-vpn-client-ics-openvpn">gayankuruppu/android-vpn-client-ics-openvpn</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/282/1*uOY-zaAC0BUPNuXJcpI2WA.gif" /><figcaption>Android VPN Client (<a href="https://github.com/gayankuruppu/android-vpn-client-ics-openvpn">Source</a>)</figcaption></figure><p>Pretty much if you are working on building an Android VPN app, OpenVPN comes out as an option. Since OpenVPN has a lot of community support, you can easily build a VPN client for any platform.</p><p>Go to Github repository <a href="https://github.com/gayankuruppu/android-vpn-client-ics-openvpn">https://github.com/gayankuruppu/android-vpn-client-ics-openvpn</a></p><p>For Android, it is really hard to find an article describing all the things that need in VPN development. So I have created to an app in Java, using Android Studio.</p><p>In this, we will be working on the latest version of the Android Studio, and Gradle. I used Android Studio 3.5, and for Gradle 5.6.1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qPAwrbPe3lt9cLV4o7cyiw.png" /><figcaption>Dark Mode</figcaption></figure><p>The app is migrated to AndroidX and supports 64 Bit. It can calculate the daily usage of data, the connected time, check connection speed, change the interface into night-mode, add multiple servers, remote config the app, added visual effects to the transitions, and integrated Lottie.</p><p>You can get the app from Google Play Store, UptoDown, and Amazon</p><ol><li><a href="https://play.google.com/store/apps/details?id=com.buzz.vpn">httphttps://play.google.com/store/apps/details?id=com.buzz.vpn</a></li><li><a href="https://buzz-vpn-fast-free-unlimited-secure-vpn-proxy.en.uptodown.com/android">https://buzz-vpn-fast-free-unlimited-secure-vpn-proxy.en.uptodown.com/android</a></li><li><a href="https://www.amazon.com/Buzz-VPN-Free-Pop-up-Ads/dp/B07T3X677T">https://www.amazon.com/Buzz-VPN-Free-Pop-up-Ads/dp/B07T3X677T</a></li></ol><p>The servers may not work and give you back a notification if tried to connect to a server. Because the servers are removed, and you have to add your servers to the app.</p><h3>1. Clone the project</h3><p>To clone the project, follow the steps.</p><p>Step 1: Select <strong>Git </strong>from <strong>Check out project from Version Control</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*qwN-FEl8E7ejlszMu2MX8Q.png" /></figure><p>Step 2: Paste the link of the repository in <strong>URL</strong> and choose a folder in Directory<strong> </strong>to clone the repository and select <strong>Clone</strong> button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*2vCiLjxYWG0SOlEq7W56LQ.png" /></figure><p>Step 3: Click <strong>Yes</strong> in the <strong>Checkout From Version Control</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/338/1*1XVY7Z9y35XPyndWLwBuOg.png" /></figure><p>Step 4: Build the project using the latest Gradle version</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EEWyPPfVjgyqCJXKkcM1RQ.png" /></figure><p>Step 5: After finish, the Building project. Change the following lines to add new servers</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sQ0u-9RJsjl6l85sklQ9fg.png" /></figure><p>Now you can run the project on a simulator or the device. But still, the app will not connect to servers, because we haven’t configured it.</p><h3>2. Configure appdetails.json</h3><pre>{<br>  &quot;ads&quot;:&quot;true&quot;,<br>  &quot;update&quot;:[{<br>    &quot;version&quot;:&quot;2.8.1600&quot;,<br>    &quot;title&quot;:&quot;This app is now Open Source&quot;,<br>    &quot;description&quot;:&quot;The App is available at github.com/gayankuruppu/android-vpn-client-ics-openvpn&quot;,<br>    &quot;size&quot;:&quot;https://git.io/JeY69&quot;<br>  }],<br>  &quot;blocked&quot;:[<br>    {&quot;id&quot;:0, &quot;app&quot;:&quot;com.android.game&quot;},<br>    {&quot;id&quot;:1, &quot;app&quot;:&quot;com.utorrent.client&quot;},<br>    {&quot;id&quot;:2, &quot;app&quot;:&quot;com.torrent.client&quot;},<br>    {&quot;id&quot;:3, &quot;app&quot;:&quot;com.tor.client&quot;},<br>    {&quot;id&quot;:4, &quot;app&quot;:&quot;com.insta.client&quot;},<br>    {&quot;id&quot;:5, &quot;app&quot;:&quot;com.facebook.client&quot;},<br>    {&quot;id&quot;:6, &quot;app&quot;:&quot;com.get.client&quot;}<br>  ],<br>  &quot;free&quot;:[<br>    {&quot;id&quot;:0, &quot;file&quot;:0, &quot;city&quot;:&quot;Essen&quot;,&quot;country&quot;:&quot;Germany&quot;,&quot;image&quot;:&quot;germany&quot;,&quot;ip&quot;:&quot;51.68.191.75&quot;,&quot;active&quot;:&quot;true&quot;,&quot;signal&quot;:&quot;a&quot;},<br>    {&quot;id&quot;:1, &quot;file&quot;:0, &quot;city&quot;:&quot;Hamburg&quot;,&quot;country&quot;:&quot;Germany&quot;,&quot;image&quot;:&quot;germany&quot;,&quot;ip&quot;:&quot;51.68.191.75&quot;,&quot;active&quot;:&quot;true&quot;,&quot;signal&quot;:&quot;b&quot;},<br>    {&quot;id&quot;:2, &quot;file&quot;:1, &quot;city&quot;:&quot;Los Angeles CA&quot;,&quot;country&quot;:&quot;United States&quot;,&quot;image&quot;:&quot;unitedstates&quot;,&quot;ip&quot;:&quot;205.185.119.100&quot;,&quot;active&quot;:&quot;true&quot;,&quot;signal&quot;:&quot;c&quot;}<br>  ]<br>}</pre><p>The appdetails.json file has four main parts.</p><ol><li>The value<strong> ads</strong> is a boolean value, you can choose <strong>true </strong>or <strong>false</strong>. If the value is <strong>true</strong>, the app will show ads when the session starts. Otherwise, ads will not show if the value is <strong>false</strong>.</li><li>The array <strong>update</strong> has three values. <strong>version</strong> is a String value which is the latest version of the app. When the session starts the app check if the <strong>version</strong> value is equal to the version of the app. If the values do not match with each other the Update View will show. The values <strong>title</strong>, <strong>description</strong>,<strong> </strong>and <strong>size</strong> are the values display in the Update View.</li><li>The array <strong>blocked</strong> has JSON objects with values <strong>id</strong> and <strong>package name</strong>. You can add apps such as Torrent to avoid the peer to peer file sharing which often misuse by downloading digital media.</li><li>The array <strong>free</strong> has values of the server names. The value <strong>city</strong> displays the server name and the value <strong>image</strong> is the name of the flag. The value <strong>signal</strong> is the value of the strength of the signal.</li></ol><p>Change the JSON values and upload into your server or host it in the forked repository (<a href="https://raw.githubusercontent.com/gayankuruppu/gayankuruppu.github.io/source-json/appdetails.json">https://raw.githubusercontent.com/gayankuruppu/gayankuruppu.github.io/source-json/appdetails.json</a>) and add the link of the JSON file in the WelcomeActivity.java file <a href="https://github.com/gayankuruppu/android-vpn-client-ics-openvpn/blob/c35b88b40a8ba6aa382ca7324981511f4c6e886d/app/src/main/java/com/buzz/vpn/WelcomeActivity.java#L59">https://github.com/gayankuruppu/android-vpn-client-ics-openvpn/blob/c35b88b40a8ba6aa382ca7324981511f4c6e886d/app/src/main/java/com/buzz/vpn/WelcomeActivity.java#L59</a></p><h3>3. Configure filedetails.json</h3><pre>{<br>&quot;ovpn_file&quot;:[<br>  {&quot;id&quot;:0,&quot;file&quot;:&quot;client<br>dev tun<br>proto udp<br>...<br>d4ec4105a39c814bd980c9c0e0b8efb4<br>-----END OpenVPN Static key V1-----<br>&lt;/tls-auth&gt;&quot;},<br>{&quot;id&quot;:1,&quot;file&quot;:&quot;&quot;}]<br>}</pre><p>The filedetails.json file stores the OpenVPN file string value. Copy the text in the OVPN file and paste it in the JSON String (<a href="https://raw.githubusercontent.com/gayankuruppu/gayankuruppu.github.io/source-json/filedetails.json">https://raw.githubusercontent.com/gayankuruppu/gayankuruppu.github.io/source-json/filedetails.json</a>) and add the link address in the WelcomeActivity.java <a href="https://github.com/gayankuruppu/android-vpn-client-ics-openvpn/blob/c35b88b40a8ba6aa382ca7324981511f4c6e886d/app/src/main/java/com/buzz/vpn/WelcomeActivity.java#L60">https://github.com/gayankuruppu/android-vpn-client-ics-openvpn/blob/c35b88b40a8ba6aa382ca7324981511f4c6e886d/app/src/main/java/com/buzz/vpn/WelcomeActivity.java#L60</a></p><h3>4. Run the app</h3><p>That is all. Now to can change the app UI and deploy the app. Remove the Google Services JSON file before deploying (<a href="https://github.com/gayankuruppu/android-vpn-client-ics-openvpn/blob/master/app/google-services.json">https://github.com/gayankuruppu/android-vpn-client-ics-openvpn/blob/master/app/google-services.json</a>)</p><p>Github <a href="https://github.com/gayankuruppu/android-vpn-client-ics-openvpn">https://github.com/gayankuruppu/android-vpn-client-ics-openvpn</a></p><p><strong>If you enjoyed this story, please click 👏 and share to help others find it!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f1f2d66031e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>