Compare commits
No commits in common. "66ecf81556afe3cb6857dce3b9412353aa4961bc" and "bbdabcb362c44007afa66bb3df984e5cd0e1819a" have entirely different histories.
66ecf81556
...
bbdabcb362
40
.drone.yml
40
.drone.yml
@ -1,40 +0,0 @@
|
||||
---
|
||||
kind: secret
|
||||
name: gitea_token
|
||||
get:
|
||||
path: odit-git-bot
|
||||
name: apikey
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: build:tag
|
||||
|
||||
steps:
|
||||
- name: build and package
|
||||
depends_on: ["clone"]
|
||||
image: node:15.11.0-alpine3.13
|
||||
commands:
|
||||
- apk add git zip -f
|
||||
- yarn
|
||||
- yarn build
|
||||
- yarn build:package
|
||||
- name: gitea_release
|
||||
depends_on: ["build and package"]
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
title: Release ${DRONE_TAG}
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
base_url: https://git.odit.services
|
||||
files: linkylinky-chrome.zip
|
||||
checksum:
|
||||
- md5
|
||||
- sha1
|
||||
- sha256
|
||||
- sha512
|
||||
- adler32
|
||||
- crc32
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,8 +1,8 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
|
||||
**/tailwind.css
|
||||
dist
|
||||
*.zip
|
||||
# Fuck lockfiles :D
|
||||
*.lock
|
@ -1,5 +1,5 @@
|
||||
<p align="center">
|
||||
<img height="150" src="./src/icon_128.png">
|
||||
<img height="150" src="./icon_128.png">
|
||||
<h1 align="center">LinkyLinky 4 Chrome</h1>
|
||||
<h3 align="center">A simple, privacy focused urls shortner</h3>
|
||||
</p>
|
||||
|
0
src/clipboard.min.js → clipboard.min.js
vendored
0
src/clipboard.min.js → clipboard.min.js
vendored
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
@ -54,7 +54,7 @@
|
||||
<div id="target_container">
|
||||
<div class="mt-1 flex rounded-md shadow-sm">
|
||||
<input type="url" name="target" id="target" required
|
||||
class="flex-1 min-w-0 block border rounded-lg w-full px-3 py-2 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300 bg-gray-50"
|
||||
class="flex-1 min-w-0 block rounded-lg w-full px-3 py-2 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300"
|
||||
placeholder="target url" />
|
||||
</div>
|
||||
</div>
|
||||
@ -65,7 +65,7 @@
|
||||
https://kauf.es/
|
||||
</span>
|
||||
<input type="text" name="shortcode" id="shortcode"
|
||||
class="flex-1 min-w-0 block w-full px-3 py-2 border-t border-b border-r rounded-none rounded-r-md focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300"
|
||||
class="flex-1 min-w-0 block w-full px-3 py-2 rounded-none rounded-r-md focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300"
|
||||
placeholder="custom url" />
|
||||
</div>
|
||||
</div>
|
12
package.json
12
package.json
@ -1,17 +1,5 @@
|
||||
{
|
||||
"name": "linkylinky-chrome",
|
||||
"scripts": {
|
||||
"build": "npm run prebuild && npm run build:copy && npm run build:css",
|
||||
"prebuild": "rimraf ./dist ./*.zip",
|
||||
"build:copy": "cpx ./src/* ./dist/",
|
||||
"build:css": "tailwindcss -o ./dist/tailwind.css --purge ./dist/index.html -m",
|
||||
"build:package": "cross-zip dist linkylinky-chrome.zip",
|
||||
"dev": "tailwindcss -o ./src/tailwind.css"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cpx": "^1.5.0",
|
||||
"cross-zip-cli": "^1.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"tailwindcss": "^2.2.7"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,5 @@
|
||||
module.exports = {
|
||||
purge: [
|
||||
'./index.html'
|
||||
],
|
||||
purge: [],
|
||||
darkMode: false, // or 'media' or 'class'
|
||||
theme: {
|
||||
extend: {},
|
||||
|
1
tailwind.css
Normal file
1
tailwind.css
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user