4 Commits

Author SHA1 Message Date
8f6387ea72 updated README - again [skip ci] 2024-11-08 12:29:40 -06:00
12a7e712d8 updated README - again [skip ci] 2024-11-08 12:29:12 -06:00
4fa0dd31eb updated README - again [skip ci] 2024-11-08 12:25:46 -06:00
98d8652116 removed the woodpecker workflow file; update README
All checks were successful
deploy updated site / rsync the directories (push) Successful in 33s
2024-11-08 12:19:06 -06:00
3 changed files with 26 additions and 28 deletions

View File

@ -2,6 +2,10 @@ on:
push: push:
branches: branches:
- main - main
paths-ignore:
- .gitignore
- README.md
- LICENSE
name: deploy updated site name: deploy updated site
jobs: jobs:
deploy: deploy:

View File

@ -1,24 +0,0 @@
pipeline:
publish:
image: appleboy/drone-scp
settings:
host:
from_secret: jupiterIP
username: camille
key:
from_secret: DOPrivateKey
target: /u/jsquotes
source: ./src
strip_components: 2
restart:
image: appleboy/drone-ssh
settings:
host:
from_secret: jupiterIP
username: camille
key:
from_secret: DOPrivateKey
script:
- docker restart quotes
branches: master

View File

@ -1,9 +1,27 @@
# Reading json and randomly posting content # Quotes library
## Features
1. Read quotes in from https://cdn.fyrfli.link/FavouriteQuotes.json
2. Display them all in a grid fashion
3. Has a live search feature that allows you to filter quotes based on a case-insensitive input field
## To Do
1. Abstract it so that you can pick the file
2. Create a Docker file to build an image if desired
## Releases
Dowload [here](https://fyrfli.dev/fyrfli/jsquotes/src/tag/3.0)
2024-11-08 12:18:15
~~# Reading json and randomly posting content~~
~~I wanted to create an "app" that would read in JSON and print out the results randomly based on a randomly generated number. It took me a while to get right, mostly because of the JSON file format. I have it down now. This is my result.~~ ~~I wanted to create an "app" that would read in JSON and print out the results randomly based on a randomly generated number. It took me a while to get right, mostly because of the JSON file format. I have it down now. This is my result.~~
This started out as a looping display of random quotes and evolved to be just one large grid with all the quotes. It's getting to be a pretty large page so the next step for this is to make all items the same size with a "more..." indicator that when clicked will open up a css popover with the full quote and an "X" to close. ~~This started out as a looping display of random quotes and evolved to be just one large grid with all the quotes. It's getting to be a pretty large page so the next step for this is to make all items the same size with a "more..." indicator that when clicked will open up a css popover with the full quote and an "X" to close.~~
19-Mar-2024
~~19-Mar-2024~~