Compare commits

...

48 Commits

Author SHA1 Message Date
804592872c updated build version to 0.2.0 2024-06-12 12:31:37 -04:00
2175806511 saved prefs working 2024-06-12 11:56:24 -04:00
17839630fd saved preference working, not updating currency on change 2024-06-12 11:45:49 -04:00
f7505e8ac5 fix js loading, last commit before adding save prefs 2024-05-23 20:27:50 -04:00
64b8d4d92d fix js loading 2024-05-22 10:23:02 -04:00
50ee5f9f0f removed unused comments 2024-04-08 11:01:44 -04:00
9c4e9cb42b reorganized, removed old style 2024-04-07 12:52:41 -04:00
396eeb944b Themes Implemented! 2024-03-28 22:15:20 -04:00
ad1997ae32 styling 2024-03-28 17:55:29 -04:00
e5504fd8b6 basic styling added 2024-03-28 13:57:39 -04:00
ff8eaec590 removed old js scripts 2024-03-28 13:09:17 -04:00
33f3607c20 app js working fully" 2024-03-28 13:08:22 -04:00
3b142d20a4 basic price working 2024-03-28 12:44:15 -04:00
48b8033788 v2 2024-03-27 18:05:35 -04:00
72118e1113 V2 Refactor 2024-03-27 14:44:23 -04:00
48aaa67687 V2 Refactor 2024-03-26 23:09:53 -04:00
1f1ac760ca refresh 2024-03-26 19:39:50 -04:00
23c4fb4747 added tailwind styling 2024-03-26 19:33:40 -04:00
444601f0cb selectTheme.js added, debugging theme-select 2023-09-18 10:15:51 -04:00
1b9fc58bde small change to mainactivity css comment out lines 2023-08-22 15:51:49 -04:00
6f5678c38f refactored theme names 2023-08-22 13:05:50 -04:00
0f05216ab2 added new themes, split into theme dir, cleaned up styling more 2023-08-22 09:54:32 -04:00
c9a803a98c Merge branch 'master' of https://github.com/0ceanSlim/satworth 2023-08-22 07:42:43 -04:00
d7367ab847 Saving changes before pulling 2023-08-22 07:42:04 -04:00
0ceanSlim
41c98ebc3e styling changes, styling clean-up 2023-08-12 22:40:13 -04:00
0ceanSlim
fada249778 seperated all styles for each container, wrapped all widgets in the same container element 2023-08-12 21:42:40 -04:00
cf4437ecd6 new build version 2023-08-11 13:27:50 -04:00
084581a02b added softunput to manifest, removed js for exchange window 2023-08-11 13:26:23 -04:00
86706f60e1 fixed exchange drawing over rest of app when keyboard is pulled up 2023-08-11 10:04:35 -04:00
OceanSlim
33cc212922
Update .name
Changed Name to "SatWorth"
2023-08-10 11:51:32 -04:00
ff5c572117 started seperation of container styles, new 0.1.6 release 2023-08-10 10:13:45 -04:00
4cf86ba755 refactored scripts and html for easier recognition, renamed all instances of SatsMonitor 2023-08-10 08:33:43 -04:00
1b1702443c added fold icon in images 2023-08-09 16:41:19 -04:00
4269877c30 more settings style changes 2023-08-09 16:18:07 -04:00
64f3f30fdb adjusted settings widget to include a cog image, and theme select in addition to the currency select 2023-08-09 14:38:43 -04:00
83e248c6c7 small styling changes 2023-08-09 12:20:30 -04:00
c21768901c currency-dropdown and fiattosat split into their own containers 2023-08-09 11:16:57 -04:00
d910ac19a7 all script functions are isolated in their own js file, currency select pulled out of price tracker 2023-08-09 11:08:03 -04:00
0ceanSlim
113a320850 added sats to $ Calc to the app 2023-08-08 20:47:00 -04:00
9303a38edb fixed version mismatch 2023-08-08 16:37:14 -04:00
OceanSlim
2fcc42aa16
Create README.md 2023-08-08 16:23:34 -04:00
e0aa662697 changed ownership of repo, updating to last fork 2023-08-08 13:56:18 -04:00
f2aa3ef780 changed styling 2023-08-08 12:37:22 -04:00
6b13b1e8e3 new affiliates container for exchanges, commented out old 2023-08-08 11:00:31 -04:00
d95ce76766 changes 2023-08-07 17:07:05 -04:00
4f356679a2 affiliates added 2023-08-07 15:56:21 -04:00
234b6e24f6 Merge remote-tracking branch 'remotes/origin/webview' 2023-08-07 08:43:52 -04:00
OceanSlim
541fe9bd2e
Merge pull request #4 from Mobaphile/webview
Webview added
2023-07-29 09:36:16 -04:00
291 changed files with 476 additions and 395 deletions

2
.gitignore vendored
View File

@ -13,3 +13,5 @@
.externalNativeBuild
.cxx
local.properties
output.css
/.idea/*

3
.idea/.gitignore vendored
View File

@ -1,3 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml

View File

@ -1 +0,0 @@
Sats Monitor

View File

@ -1,123 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<JetCodeStyleSettings>
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<codeStyleSettings language="XML">
<option name="FORCE_REARRANGE_MODE" value="1" />
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:android</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>ANDROID_ATTRIBUTE_ORDER</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</codeStyleSettings>
</code_scheme>
</component>

View File

@ -1,5 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="17" />
</component>
</project>

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="jbr-17" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KotlinJpsPluginSettings">
<option name="version" value="1.8.0" />
</component>
</project>

View File

@ -1,9 +0,0 @@
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

41
README.md Normal file
View File

@ -0,0 +1,41 @@
# SatWorth
SatWorth is a simple web application designed to display real-time Bitcoin prices in various currencies. It provides users with the ability to select their preferred currency and view the equivalent Bitcoin price in that currency. Additionally, the app calculates and displays the equivalent value of 1 unit of the selected currency in Satoshis (the smallest unit of Bitcoin).
## Features
1. **Real-Time Bitcoin Price**: The app fetches real-time Bitcoin prices using the CoinGecko API and displays them on the webpage. Users can see the price of Bitcoin in their chosen currency.
2. **Currency Selection**: Users can choose their preferred currency from a dropdown list, and the app will update the Bitcoin price accordingly.
3. **Satoshi Conversion**: The app calculates and displays the equivalent value of 1 unit of the selected currency in Satoshi, providing users with an idea of how much Bitcoin they can get for their chosen currency.
4. **Responsive Design**: The app is designed with a responsive layout, making it accessible and user-friendly on different devices, including desktops, tablets, and mobile phones.
5. **Promotional Links**: The app includes links to various platforms where users can buy Bitcoin, providing them with options to explore and purchase Bitcoin.
## How to Use
1. **Visit Releases Section of this Repository**: Under the releases Section you will find the latest release. This include the apk and source code. Just download and install the apk to your android device to get started.
2. **Bitcoin Price**: The main section of the app displays the current Bitcoin price in the selected currency. The Bitcoin logo is also displayed for visual identification.
3. **Currency Selection**: Use the dropdown menu labeled "Select Currency" to choose your preferred currency.
4. **Satoshi Conversion**: The app calculates and displays the equivalent value of 1 unit of the selected currency in Satoshi. This gives you an idea of how much Bitcoin you could get for your chosen currency.
5. **Buy Bitcoin**: Scroll down to find links to different platforms where you can buy Bitcoin. These links provide options for purchasing Bitcoin through various services.
## Disclaimer
This app provides real-time Bitcoin price information based on the CoinGecko API. The actual price of Bitcoin may vary, and users are encouraged to perform their own research before making any financial decisions.
## Credits
- App design and development by https://github.com/0ceanSlim
- Bitcoin price data provided by [CoinGecko](https://www.coingecko.com/)
- Affiliate links to buy Bitcoin are provided for informational purposes only and do not constitute financial advice.
For any inquiries or feedback, please contact ChrisKerr@GMX.com.

View File

@ -4,15 +4,15 @@ plugins {
}
android {
namespace = "com.example.satsmonitor"
namespace = "com.example.satworth"
compileSdk = 33
defaultConfig {
applicationId = "com.example.satsmonitor"
applicationId = "com.example.satworth"
minSdk = 24
targetSdk = 33
versionCode = 1
versionName = "1.0"
versionCode = 7
versionName = "0.2.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
@ -34,9 +34,9 @@ android {
dependencies {
implementation("androidx.core:core-ktx:1.9.0")
implementation("androidx.core:core-ktx:1.10.1")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.8.0")
implementation("com.google.android.material:material:1.9.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")

BIN
app/debug/app-debug.aab Normal file

Binary file not shown.

BIN
app/release/app-release.aab Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
package com.example.satsmonitor
package com.example.satworth
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4

View File

@ -12,17 +12,20 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.SatsMonitor"
android:theme="@style/Theme.SatWorth"
tools:targetApi="31">
<activity
android:name=".MainActivity"
android:exported="true">
android:name="com.example.satworth.MainActivity"
android:exported="true"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 971 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 886 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1017 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Some files were not shown because too many files have changed in this diff Show More