Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #19 from strukturart/add_code_formatting
Browse files Browse the repository at this point in the history
Add code formatting
  • Loading branch information
strukturart authored Sep 8, 2020
2 parents 1cae80f + 7952697 commit 02c96f2
Show file tree
Hide file tree
Showing 18 changed files with 1,600 additions and 1,827 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ on: push
jobs:
build:
name: Build

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2

- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: npm install
run: npm install

- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: build
run: npm run package

- name: npm install
run: npm install

- name: build
run: npm run package

- uses: actions/upload-artifact@v2
with:
name: App
path: build/bhacker-store.zip
- uses: actions/upload-artifact@v2
with:
name: App
path: build/bhacker-store.zip
21 changes: 21 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Prettier - Check Code Formatting
on: push

jobs:
check-formatting:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: npm install
run: npm install

- name: check formatting
run: npm run formatting:test
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

**/jQuery-3.1.0.js
**/applait.finder.min.js
**/jquery.autocomplete.min.js
**/moments.min.js

build
node_modules
1 change: 0 additions & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

The MIT License (MIT)

Copyright (c) 2020 John-David Deubl
Expand Down
41 changes: 31 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,73 @@
![logo](/images/logo.png)
![logo](/images/logo.png)

## bHacker-store

An alternative app store by free developers for free devices.
The database of apps is hosted [here](https://gitlab.com/banana-hackers/store-db/-/tree/master), further can be added by a pull request.

### Features
+ Install apps from the coders source

- Install apps from the coders source

![image-1](/images/image-1.png)
![image-2](/images/image-2.png)
![image-3](/images/image-3.png)
![image-4](/images/image-4.png)



### How to sideload the app on your device

## Omni SD

Download [bHackerStore App](https://github.com/strukturart/kaiOs-alt-app-store/releases/download/0.5/bhacker-store.zip).
Copy this zip file to the apps directory of the memory card.
Open "OmniSD" and install this zip.


## Web IDE
Download [bHackerStore App](https://github.com/strukturart/kaiOs-alt-app-store/releases/download/0.5/bhacker-store.zip).

Download [bHackerStore App](https://github.com/strukturart/kaiOs-alt-app-store/releases/download/0.5/bhacker-store.zip).
Extract this zip to a folder.
Click "Open Packaged App" and select the folder from the previous step.
Click "Install and Run" button.


### Thank you
+ SimonLaux and the discord [community](https://discord.gg/t2CBPb)

- SimonLaux and the discord [community](https://discord.gg/t2CBPb)

### to do

offline version

## Donation

<a href="https://www.buymeacoffee.com/vj6Q8lR" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/lato-orange.png" alt="Buy Me A Coffee" style="height: 25px !important;width: 108px !important;" ></a>

## Contributing

### Setup

first install the dependencies

```sh
npm install
```

### Packaging

This only works on linux(and maybe osx) at the moment

```sh
npm i
npm run package
```

The resulting package can be found in the build folder.
The resulting package can be found in the build folder.

### Formatting

This project uses code formatting. Make sure to run the formatter before commiting, otherwise the CI will be sad 😢.

```sh
# check it
npm run formatting:test
# run the formatter
npm run formatting:fix
```
98 changes: 72 additions & 26 deletions application/about.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,72 @@
<h1>Privacy Policy and Terms of use</h1>
<p>Your privacy is important to us, that&#39;s why we try to collect only the data that we need to provide the service to you.</p>
<h2>Data that might get collected while using the app</h2>
<p>We rely on gitlab pages for hosting the data, this service might store cookies and save your ip address (<a href="https://about.gitlab.com/privacy/">https://about.gitlab.com/privacy/</a>)</p>
<p>We only link to the app packages, we don&#39;t host them ourselves so when downloading apps you will download them from thirdparty servers who can then see your ip address.</p>
<h3>Data that might be shared with third paries</h3>
<ul>
<li>IP address when browsing apps (<a href="https://gitlab.com/banana-hackers/store-db/-/issues/13">we plan on fixing that</a>)</li>
<li>IP address when downloading apps</li>
</ul>
<h3>Download Counter and ratings</h3>
<p>When using the app we fetch the download count for all apps from our ratings server. This request might be logged, but we don&#39;t explicitly store your ip address.</p>
<p>When downloading apps a request to the download counter will be made to increase it, this request contains: </p>
<ul>
<li>The name of the downloaded app</li>
<li>the time of the download</li>
<li>The IP address of the user, but its not explicitly saved at the moment.</li>
</ul>
<p>When fetching the ratings for an app the server gets the requested appname and the ip address but it is not explicitly saved.</p>
<p>When rating apps we store your nickname and your ratings on our server to make the service possible.</p>
<h3>Analytics</h3>
<p>Besides from counting downloads we don&#39;t do any analytics. But the apps you download might do it, have ads or even track you. We try to label apps that have tracking and/or advertisement.</p>
<h2>Liability &amp; Warranty</h2>
<p>This service is community maintained and provided on a best-effort basis. We try our best make sure the data is correct, but we do not give any warranties that the information is correct. Use this service on your own risk.</p>
<h2>Abuse</h2>
<p>If you see an app that violates you rights or does bad stuff with your device, please report it on <a href="https://gitlab.com/banana-hackers/store-db/-/issues">gitlab issues</a></p>
<h1>Privacy Policy and Terms of use</h1>
<p>
Your privacy is important to us, that&#39;s why we try to collect only the
data that we need to provide the service to you.
</p>
<h2>Data that might get collected while using the app</h2>
<p>
We rely on gitlab pages for hosting the data, this service might store cookies
and save your ip address (<a href="https://about.gitlab.com/privacy/"
>https://about.gitlab.com/privacy/</a
>)
</p>
<p>
We only link to the app packages, we don&#39;t host them ourselves so when
downloading apps you will download them from thirdparty servers who can then
see your ip address.
</p>
<h3>Data that might be shared with third paries</h3>
<ul>
<li>
IP address when browsing apps (<a
href="https://gitlab.com/banana-hackers/store-db/-/issues/13"
>we plan on fixing that</a
>)
</li>
<li>IP address when downloading apps</li>
</ul>
<h3>Download Counter and ratings</h3>
<p>
When using the app we fetch the download count for all apps from our ratings
server. This request might be logged, but we don&#39;t explicitly store your
ip address.
</p>
<p>
When downloading apps a request to the download counter will be made to
increase it, this request contains:
</p>
<ul>
<li>The name of the downloaded app</li>
<li>the time of the download</li>
<li>
The IP address of the user, but its not explicitly saved at the moment.
</li>
</ul>
<p>
When fetching the ratings for an app the server gets the requested appname and
the ip address but it is not explicitly saved.
</p>
<p>
When rating apps we store your nickname and your ratings on our server to make
the service possible.
</p>
<h3>Analytics</h3>
<p>
Besides from counting downloads we don&#39;t do any analytics. But the apps
you download might do it, have ads or even track you. We try to label apps
that have tracking and/or advertisement.
</p>
<h2>Liability &amp; Warranty</h2>
<p>
This service is community maintained and provided on a best-effort basis. We
try our best make sure the data is correct, but we do not give any warranties
that the information is correct. Use this service on your own risk.
</p>
<h2>Abuse</h2>
<p>
If you see an app that violates you rights or does bad stuff with your device,
please report it on
<a href="https://gitlab.com/banana-hackers/store-db/-/issues"
>gitlab issues</a
>
</p>
Loading

0 comments on commit 02c96f2

Please sign in to comment.