fmaclen / promptspree Goto Github PK
View Code? Open in Web Editor NEWGenerated by AI, curated by humans
Home Page: https://promptspree.com
License: Apache License 2.0
Generated by AI, curated by humans
Home Page: https://promptspree.com
License: Apache License 2.0
This happens after generating an Article in the Play section and clicking Publish.
After deleting a draft from the user's profile, it redirects to the Published tab which is disorienting.
User should remain in the Drafts tab.
It currently redirects to the user profile.
[[date]]
/500
/404
<Notice/>
at the top of the pagePublish
, Delete
, Edit
action buttonsDelete
promptspree/src/routes/play/+page.server.ts
Lines 107 to 116 in 819c308
Need to figure out how to get a less error-prone completion, examples like the one below are fairly common.
Specifically the issue here is that there is an extra,
after speak with us
:
speak with us.\",\n],\n\"suggestions
Full example:
"SyntaxError: Unexpected token ] in JSON at position 1094 // {\n\"headline\":\"Time-Traveling Tourists Alter Historical Events\",\n\"category\":\"Science\",\n\"body\":[\n\"Reports are coming in that suggest that time-traveling tourists have been altering historical events. According to eyewitnesses, groups of tourists from the future have been appearing at key historical events and interacting with the people and surroundings, causing significant changes to the timeline.\",\n\"Some examples of these changes include a group of tourists who prevented the sinking of the Titanic, and another group who inadvertently caused the Great Fire of London by accidentally dropping a cigarette.\",\n\"Experts are warning that these changes could have profound effects on the future and that steps need to be taken to prevent further interference.\",\n\"Governments around the world are now considering measures to prevent time travel tourism, and some have even suggested that visitors from the future should be arrested and charged with historical vandalism.\",\n\"We reached out to a representative from the Time Travelers Association for comment, but they declined to speak with us.\",\n],\n\"suggestions\":[\n\"Add a quote from a time travel expert.\",\n\"Make it more outrageous by adding a celebrity time traveler.\",\n\"Add a list of the top 10 historical events that were changed by time travelers.\"\n]\n}"
REF #74
When tapping on an element with a hover state on mobile it retains the :active
/:focus
state even after the page has loaded which looks weird.
There is no benefit of having a :hover state on touch-based interfaces so it's easier to remove them.
The image featured in articles should be visible as a thumbnail when sharing links in social media.
https://promptspree.com/article/idg16rwwb08n28g
User > World leader accidentally sends embarrassing message to entire country
AI > This article is purely fictional and is not based on any real-life events or individuals.
User > make it a bit longer, include realistic sounding names
AI > This article is purely fictional and is not based on any real-life events or individuals.
User > names are too generic, make them more realistic and/or unique
AI > This article is purely fictional and is not based on any real-life events or individuals.
User > make the message be something embarrassing, not "antagonistical"
AI > This article is purely fictional and is not based on any real-life events or individuals.
At the moment the app is logging errors to Slack with low fidelity.
Might be worth switching to something like Sentry.
Tokenizer: https://platform.openai.com/tokenizer
Documentation: https://platform.openai.com/docs/models/gpt-3-5
promptspree/src/routes/play/+page.server.ts
Lines 58 to 64 in 819c308
Navigating between pages in mobile and having the smooth scrolling between page loads is less UX-friendly than just a straight "cut".
Getting this error occasionally:
-> Downloading Pocketbase for linux (x64)
-> Unzipping Pocketbase
node:fs:599
handleErrorFromBinding(ctx);
^
Error: ETXTBSY: text file is busy, open '/home/promptspree/pocketbase/pocketbase'
at Object.openSync (node:fs:599:3)
at Utils.writeFileTo (/home/promptspree/node_modules/adm-zip/util/utils.js:81:22)
at /home/promptspree/node_modules/adm-zip/adm-zip.js:617:27
at Array.forEach (<anonymous>)
at Object.extractAllTo (/home/promptspree/node_modules/adm-zip/adm-zip.js:605:26)
at downloadAndUnzipPocketbase (file:///home/promptspree/scripts/pocketbaseSetup.js:37:6)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -26,
syscall: 'open',
code: 'ETXTBSY',
path: '/home/promptspree/pocketbase/pocketbase'
}
My best guess is it's because the binary is in use or something like that so to be safe, let's kill the process first, setup, then serve.
The front-end build process is much slower than restarting Pocketbase so we do the build part first.
# git pull
# front-end command
...
# Restart backend
pkill -f "./pocketbase serve APP_NAME=promptspree-backend"
# Install Pocketbase
npm run setup:pocketbase
# Serve Pocketbase
nohup bash -c "cd pocketbase/ && ./pocketbase serve APP_NAME=promptspree-backend" &
Here's a URL checker: https://opengraph.dev/panel?url=https%3A%2F%2Fopengraph.dev
in progress...
Examples:
man in a twisting universe
ghost in a sauna
woman in a supermarket
kid in a park
Playwright trace.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.