Skip to content

Commit 1f6c21f

Browse files
feat: ✨ f-droid repository
1 parent 1856367 commit 1f6c21f

File tree

5 files changed

+136
-3
lines changed

5 files changed

+136
-3
lines changed

.github/workflows/build.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Build APK and Update F-Droid Repo
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-and-publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Set up JDK 17
17+
uses: actions/setup-java@v3
18+
with:
19+
distribution: temurin
20+
java-version: 17
21+
22+
- name: Set up Android SDK
23+
uses: android-actions/setup-android@v2
24+
25+
- name: Build Release APK
26+
run: ./gradlew assembleRelease
27+
28+
- name: Set up Python and install fdroidserver
29+
uses: actions/setup-python@v4
30+
with:
31+
python-version: '3.x'
32+
33+
- run: pip install fdroidserver
34+
35+
- name: Prepare repo files
36+
run: |
37+
mkdir repo
38+
cp app/build/outputs/apk/release/app-release.apk repo/
39+
mkdir -p metadata
40+
cp metadata/com.yourdomain.offsocial.yml metadata/
41+
42+
- name: Generate F-Droid index.xml
43+
run: fdroid update --create-metadata --metadata-dir=metadata --output=repo/index.xml repo
44+
45+
- name: Configure git for push
46+
run: |
47+
git config user.name "github-actions"
48+
git config user.email "actions@github.com"
49+
50+
- name: Commit and push to gh-pages
51+
run: |
52+
git checkout --orphan gh-pages
53+
git rm -rf .
54+
cp -r repo/* .
55+
git add .
56+
git commit -m "Update F-Droid repo with new APK and metadata"
57+
git push -f origin gh-pages
58+
env:
59+
# Use the default GITHUB_TOKEN to push back to repo
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# 📤 off.tiktok — No Account? No Problem!
2+
3+
Ever tried clicking a TikTok link only to be met with a giant wall asking you to **"Log in to view this content"**?
4+
Well, not anymore. Meet `off.tiktok` — the tiniest app with the biggest middle finger to unnecessary logins.
5+
6+
---
7+
8+
## 🎯 What It Does
9+
10+
You share a TikTok link.
11+
We slap some sense into it.
12+
Your browser opens the **offtiktok.com** version — no login, no problem, just smooth ~stalking~ viewing.
13+
14+
---
15+
16+
## 🔥 Features
17+
18+
- 🦑 No launcher icon — it hides in the shadows like a ninja.
19+
- 🔧 Modifies TikTok URLs with surgical precision (finds `tiktok`, swaps with `offtiktok`).
20+
- 🌐 Launches your browser like a boss.
21+
- 💾 So small, you might lose it on your phone.
22+
23+
---
24+
25+
## 🛠 How To Use
26+
27+
1. Tap that share button on any TikTok video.
28+
2. Choose **off.tiktok** from the share sheet.
29+
3. We do our magic.
30+
4. Enjoy the video like it’s 2010 and nobody cared about accounts.
31+
32+
---
33+
34+
## 🚫 What It Doesn't Do
35+
36+
- It doesn't steal your data (we wouldn’t even know where to put it).
37+
- It doesn’t work on anything that's not a TikTok link.
38+
We’re specialized like that. (if you want other social media you can open an issue)
39+
40+
---
41+
42+
## 👻 Permissions
43+
44+
None. Zero. Zilch.
45+
We don’t need to know your location to make fun of social media walls.
46+
47+
---
48+
49+
## 📦 Building and installing with ADB
50+
51+
```bash
52+
git clone https://github.com/your-username/off.tiktok.git
53+
cd off.tiktok
54+
./gradlew assembleDebug
55+
adb install app/build/outputs/apk/debug/app-debug.apk

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ plugins {
55
}
66

77
android {
8-
namespace = "com.gerardpollorebozado.rssviewer"
8+
namespace = "com.gerardpollorebozado.offsocial"
99
compileSdk = 35
1010

1111
defaultConfig {
12-
applicationId = "com.gerardpollorebozado.rssviewer"
12+
applicationId = "com.gerardpollorebozado.offsocial"
1313
minSdk = 21
1414
targetSdk = 35
1515
versionCode = 1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<resources>
2-
<string name="app_name">Rss viewer</string>
2+
<string name="app_name">Offsocial</string>
33
</resources>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package: com.gerardPolloRebozado.offsocial
2+
version: 1
3+
name: OffSocial
4+
summary: View TikTok and other social media content without an account
5+
description: |
6+
OffSocial redirects TikTok URLs to OffTikTok to view it without account
7+
license: MIT
8+
author: Gerard Du Pre
9+
repo: https://github.com/GerardPolloRebozado/offsocial
10+
builds:
11+
- version: 1
12+
gradle:
13+
path: app
14+
build:
15+
commands:
16+
- ./gradlew assembleRelease
17+
apk:
18+
path: app/build/outputs/apk/release/app-release.apk

0 commit comments

Comments
 (0)