-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Lift off * Ignition for index.md and other fixes * build-home command
- Loading branch information
Amer Ansari
authored
Oct 7, 2024
1 parent
c68c1cb
commit 1d53754
Showing
112 changed files
with
5,622 additions
and
6,249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,3 +67,9 @@ testem.log | |
.DS_Store | ||
Thumbs.db | ||
envs/env.ts | ||
|
||
.nx/cache | ||
.nx/workspace-data | ||
|
||
home-dist | ||
home-src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Amerpire Music | ||
|
||
Start downloading your favorite songs now and fill it up with your music vibe. | ||
|
||
 | ||
 | ||
 | ||
 | ||
|
||
##  Features | ||
|
||
A music player app that lets you download and play your favorite songs. | ||
|
||
- Dark, easy-to-use. | ||
- Search same as YouTube and download. | ||
- Create Playlists. | ||
- Play your songs anywhere, anytime. | ||
- Control your playing song from notification bar, even on lockscreen. | ||
- More features with regular update. | ||
- No registration, email, or phone number. | ||
|
||
##  Installation | ||
|
||
You can download and install the APK [here](https://). Android app coming soon. | ||
|
||
##  Source codes | ||
|
||
All source codes are available at [amerpire](https://github.com/amerpire) | ||
|
||
##  Contact us | ||
|
||
Email us at [hello@amerpire.com](mailto:hello@amerpire.com) and share your experience or feedback. | ||
|
||
##  Built with | ||
|
||
Here's a list of cool things made Amerpire Music possible. | ||
|
||
- [Angular](https://angular.io/) | ||
- [Ionic](https://ionicframework.com/) | ||
- [Capacitor](https://capacitorjs.com/) | ||
- [JetBrains](https://www.jetbrains.com/) | ||
|
||
##  About | ||
|
||
Made with 💖 by [Amerpire](https://amerpire.com) © 2024-present. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...in/java/yt/music/player/MainActivity.java → ...java/com/amerpire/music/MainActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package yt.music.player; | ||
package com.amerpire.music; | ||
|
||
import com.getcapacitor.BridgeActivity; | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.04 KB
(110%)
android/app/src/main/res/drawable-land-night-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8.55 KB
(190%)
android/app/src/main/res/drawable-land-night-ldpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+9.97 KB
(160%)
android/app/src/main/res/drawable-land-night-mdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.17 KB
(96%)
android/app/src/main/res/drawable-land-night-xhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.76 KB
(100%)
android/app/src/main/res/drawable-land-night-xxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+12.6 KB
(110%)
android/app/src/main/res/drawable-land-night-xxxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.01 KB
(110%)
android/app/src/main/res/drawable-port-night-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8.63 KB
(200%)
android/app/src/main/res/drawable-port-night-ldpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8.36 KB
(150%)
android/app/src/main/res/drawable-port-night-mdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7.18 KB
(91%)
android/app/src/main/res/drawable-port-night-xhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.55 KB
(99%)
android/app/src/main/res/drawable-port-night-xxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5.82 KB
(96%)
android/app/src/main/res/drawable-port-night-xxxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
23 changes: 7 additions & 16 deletions
23
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background> | ||
<inset | ||
android:drawable="@mipmap/ic_launcher_background" | ||
android:inset="16.7%" /> | ||
</background> | ||
<foreground> | ||
<inset | ||
android:drawable="@mipmap/ic_launcher_foreground" | ||
android:inset="16.7%" /> | ||
</foreground> | ||
<monochrome> | ||
<inset | ||
android:drawable="@mipmap/ic_launcher_foreground" | ||
android:inset="16.7%" /> | ||
</monochrome> | ||
</adaptive-icon> | ||
<background> | ||
<inset android:drawable="@mipmap/ic_launcher_background" android:inset="16.7%" /> | ||
</background> | ||
<foreground> | ||
<inset android:drawable="@mipmap/ic_launcher_foreground" android:inset="16.7%" /> | ||
</foreground> | ||
</adaptive-icon> |
23 changes: 7 additions & 16 deletions
23
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background> | ||
<inset | ||
android:drawable="@mipmap/ic_launcher_background" | ||
android:inset="16.7%" /> | ||
</background> | ||
<foreground> | ||
<inset | ||
android:drawable="@mipmap/ic_launcher_foreground" | ||
android:inset="16.7%" /> | ||
</foreground> | ||
<monochrome> | ||
<inset | ||
android:drawable="@mipmap/ic_launcher_foreground" | ||
android:inset="16.7%" /> | ||
</monochrome> | ||
</adaptive-icon> | ||
<background> | ||
<inset android:drawable="@mipmap/ic_launcher_background" android:inset="16.7%" /> | ||
</background> | ||
<foreground> | ||
<inset android:drawable="@mipmap/ic_launcher_foreground" android:inset="16.7%" /> | ||
</foreground> | ||
</adaptive-icon> |
Oops, something went wrong.
Binary file modified
BIN
-822 Bytes
(25%)
android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
+1.94 KB
(420%)
android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file modified
BIN
-132 Bytes
(97%)
android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-465 Bytes
(24%)
android/app/src/main/res/mipmap-ldpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
+789 Bytes
(300%)
android/app/src/main/res/mipmap-ldpi/ic_launcher_foreground.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-544 Bytes
(24%)
android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
+1.18 KB
(350%)
android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file modified
BIN
+51 Bytes
(100%)
android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-1.04 KB
(24%)
android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
+2.66 KB
(440%)
android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file modified
BIN
-578 Bytes
(91%)
android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-2.5 KB
(21%)
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
+4.29 KB
(480%)
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file modified
BIN
-1.74 KB
(84%)
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-5.33 KB
(16%)
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
+5.98 KB
(520%)
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file modified
BIN
+2.13 KB
(120%)
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<resources> | ||
<string name="app_name">YT Music</string> | ||
<string name="title_activity_main">YT Music</string> | ||
<string name="package_name">yt.music.player</string> | ||
<string name="custom_url_scheme">yt.music.player</string> | ||
<string name="app_name">Amerpire Music</string> | ||
<string name="title_activity_main">Amerpire Music</string> | ||
<string name="package_name">com.amerpire.music</string> | ||
<string name="custom_url_scheme">com.amerpire.music</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
const { join } = require("path"); | ||
const fse = require("fs-extra"); | ||
const { exec } = require("child_process"); | ||
const htmlmin = require("htmlmin"); | ||
const fs = require("fs"); | ||
|
||
const root = process.cwd(); | ||
const dist = join(root, "home-dist"); | ||
const src = join(root, "home-src"); | ||
const assets = join(root, join("src", "assets", "home")); | ||
|
||
const deleteDist = () => { | ||
console.log("> deleteDist"); | ||
if (fse.pathExistsSync(dist)) { | ||
fse.removeSync(dist); | ||
} | ||
|
||
if (fse.pathExistsSync(src)) { | ||
fse.removeSync(src); | ||
} | ||
}; | ||
|
||
const copyAssets = () => { | ||
console.log("> copyAssets"); | ||
fse.copySync(assets, dist); | ||
}; | ||
|
||
const compileMD = (callback) => { | ||
console.log("> compileMD"); | ||
exec("index-md", (error, stdout, stderr) => { | ||
if (error || stderr) { | ||
console.log("Failed to execute index-md"); | ||
} | ||
if (error) { | ||
console.log(error.message); | ||
return; | ||
} | ||
if (stderr) { | ||
console.log(stderr); | ||
return; | ||
} | ||
console.log(stdout); | ||
callback?.(); | ||
}); | ||
}; | ||
|
||
const minifyHTML = () => { | ||
console.log("> minifyHTML"); | ||
const html = join(dist, "index.html"); | ||
fs.writeFileSync(html, htmlmin(fs.readFileSync(join(dist, "index.html"), { encoding: "utf-8" }))); | ||
}; | ||
|
||
const copyMD = () => { | ||
fse.copySync('README.md', join(src, 'index.md')); | ||
}; | ||
|
||
|
||
deleteDist(); | ||
copyAssets(); | ||
copyMD(); | ||
compileMD(minifyHTML); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.