Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aeilot committed Aug 4, 2021
1 parent 63d4889 commit f4baa22
Show file tree
Hide file tree
Showing 182 changed files with 14,259 additions and 4 deletions.
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
![HyperNotes](https://raw.githubusercontent.com/aeilot/HyperNotes/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png?token=AGDF47B7UOVXZHVN7SVASCLBBI3MM)
![HyperNotes](app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png)

# Hyper Notes

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Faeilot%2FDailyNotes.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Faeilot%2FDailyNotes?ref=badge_shield)


> **The project is now NOT ACTIVELY maintaine for I am no longer an Android Developer. PRs and Issues are still welcome!**
> The 3.0 Version of the repo is open source whereas the older versions are not. You can still download the APKs from CoolAPK.
Hyper Notes is a Markdown Note APP written in Java with powerful features.

Download at [CoolAPK | 酷安](https://www.coolapk.com/apk/tk.louisstudio.daily_notes). The older version:
Download at [CoolAPK | 酷安](https://www.coolapk.com/apk/tk.louisstudio.daily_notes).

## Features

- Basic Editor
- Fast Loading & Native Editor (Below 3.0)
- Live Time Rendering using Javascript (3.0+)
- Multi-Tab Editing (3.0+)
- Better Searching Experience (3.0+)
- Tags (3.0+)
- WebDAV Sync
- APP Locker
- etc.

## Screenshots
Expand All @@ -31,4 +36,16 @@ Download at [CoolAPK | 酷安](https://www.coolapk.com/apk/tk.louisstudio.daily_

![Bottom Sheet](img/img4.jpg)

![Settings](img/img5.jpg)
![Settings](img/img5.jpg)

## Contributions

Contributions are welcome here! Thank you so much!

## License

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Faeilot%2FDailyNotes.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Faeilot%2FDailyNotes?ref=badge_large)

---
By Louis Aeilot
> [Blog](https://aeilot.github.io) · [GitHub](https://www.github.com/aeilot)
6 changes: 6 additions & 0 deletions app/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-12/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
23 changes: 23 additions & 0 deletions app/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>app</name>
<comment>Project app created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>
2 changes: 2 additions & 0 deletions app/.settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
connection.project.dir=..
eclipse.preferences.version=1
76 changes: 76 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 31
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
defaultConfig {
applicationId "tk.louisstudio.daily_notes"
minSdkVersion 19
targetSdkVersion 31
versionCode 13
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
versionName "3.0.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
multiDexKeepProguard file('multidex-config.pro')
}
debug {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
multiDexKeepProguard file('multidex-config.pro')
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/notice.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/dependencies.txt'
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/LICENSE-LGPL-3.txt'
exclude 'META-INF/LICENSE-LGPL-2.1.txt'
exclude 'META-INF/LICENSE-W3C-TEST'
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.preference:preference:1.1.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.github.bumptech.glide:glide:4.10.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
implementation 'com.baoyz.pullrefreshlayout:library:1.2.0'
implementation 'com.andrognito.pinlockview:pinlockview:2.1.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'com.thegrizzlylabs.sardine-android:sardine-android:0.4'
implementation 'com.rengwuxian.materialedittext:library:2.1.4'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.flipboard:bottomsheet-core:1.5.3'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'gdut.bsx:share2:0.9.3'
implementation 'ws.vinta:pangu:1.1.0'
}
Binary file added app/louisstudio.jks
Binary file not shown.
4 changes: 4 additions & 0 deletions app/multidex-config.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-keep class tk.louisstudio.** { *; }
-dontwarn org.xmlpull.v1.XmlPullParser
-dontwarn org.xmlpull.v1.XmlSerializer
-keep class org.xmlpull.v1.* {*;}
24 changes: 24 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontwarn org.xmlpull.v1.XmlPullParser
-dontwarn org.xmlpull.v1.XmlSerializer
-keep class org.xmlpull.v1.* {*;}
Binary file added app/release/app-release.apk
Binary file not shown.
1 change: 1 addition & 0 deletions app/release/output.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":13,"versionName":"3.0.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"app-release.apk","properties":{}}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package tk.louisstudio.daily_notes;

import static org.junit.Assert.*;

import android.content.Context;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.platform.app.InstrumentationRegistry;
import org.junit.Test;
import org.junit.runner.RunWith;

/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();

assertEquals("tk.louisstudio.dailynotes", appContext.getPackageName());
}
}
82 changes: 82 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="tk.louisstudio.daily_notes">

<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CAMERA"/>

<uses-feature
android:name="android.hardware.camera"
android:required="true"/>
<uses-feature android:name="android.hardware.camera.autofocus"/>

<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>

<application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher_round"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_secureity_config"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:replace="android:allowBackup">
<activity
android:name=".IntroActivity"
android:theme="@style/AppTheme.NoActionBar">
</activity>
<activity
android:name="tk.louisstudio.daily_notes.SettingsActivity"
android:label="@string/title_activity_settings"
android:parentActivityName="tk.louisstudio.daily_notes.MainActivity"
android:theme="@style/AppTheme.Settings">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="tk.louisstudio.daily_notes.MainActivity"/>
</activity>
<activity
android:name="tk.louisstudio.daily_notes.AddActivity"
android:label="@string/add"
android:theme="@style/AppTheme.NoActionBar"/>
<activity
android:name="tk.louisstudio.daily_notes.LoginActivity"
android:theme="@style/AppTheme.NoActionBar"/>
<activity
android:name="tk.louisstudio.daily_notes.RegeisterActivity"
android:theme="@style/AppTheme.NoActionBar"/>
<activity
android:name="tk.louisstudio.daily_notes.SetPinActivity"
android:theme="@style/AppTheme.NoActionBar"/>
<activity
android:name="tk.louisstudio.daily_notes.PinLockActivity"
android:theme="@style/AppTheme.NoActionBar"/>
<activity
android:name="tk.louisstudio.daily_notes.MainActivity"
android:configChanges="uiMode"
android:launchMode="singleTask"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts"/>
</activity>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="tk.louisstudio.daily_notes.FileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
</application>

</manifest>
Loading

0 comments on commit f4baa22

Please sign in to comment.