Passing Data in Fresh
As a context, I'm currently making a quiz-like page.
I have a page that GET a quiz_id when opened.
In the page I fill some inputs as the answer.
After that, I want to submit the answer, along with quiz_id to get the solution from other table....
deno in rust
While working on some feature.
We have found a bug.
Here is the bug: https://github.com/tailcallhq/tailcall/issues/1570
The codebase is an open source project: tailcallhq/tailcall on github,...
Signals & Data Fetching
1. Should I declare useSignal on route or island?
2. How to fetch data? Make an async route? Do useEffect?...
Error Using Google PubSub With Deno
Hi there, I am trying to work with PubSub using Deno.
I am able to access and create new PubSub instances and subscriptions but experience the below error when trying to receive callbacks for new messages on a subscription. There is a related issue open on GitHub and an open draft PR that seems to be addressing this. Is there a current workaround or any timeline for the open draft PR to get merged? Any help would be greatly appreciated, thank you!
Related GH issue: https://github.com/denoland/deno/issues/20903...
Deno deploy IP
Hey!
Is that possible to get the IP address of a deployment on Deno deploy? The backend we host there is about to be jntegrated with another tool and they need the IP address from where the data is coming . Many thanks!...
Ubuntu Server HTTPS
How can I add https i Ubuntu Server to run Deno API over https?
Without using Apache. I run deno compiled file in ./home/user/DenoAPI...
Use Deno as a type checker for a front-end project?
Hey. I have a need to increase the speed of typechecking my frontend project.
I'm not sure, but it seems Deno can do this faster than a regular node.js tsc?
In any case, I haven’t been able to run typecheck yet. Now I got
error: Expected a JavaScript or TypeScript module, but identified a Unknown module. Importing these types of modules is currently not supported. when I use css modules something like this: import styles from './Component.module.scss';
Is there a way to explain to Deno what "scss" is and what type it is? I tried adding something like declare module '*.scss' { const asset: Record<string, string>; export default asset; } in different ways, including directly in the component file, but the result remained unchanged.
Or does all this make no sense, is it impossible to do, or will the speed of typecheck be comparable to a regular tsc?...Logger Structure args
I am implementing a simple access log in Deno Fresh, but I am not quite sure how to use the standard library Logger.
I want to record logs with remote host etc. at the beginning of the sentence like nginx logs, but can I specify the type of log argument?
Currently, the implementation is as follows:...
Add static font files as a fresh plugin
Hello! I'm creating a component library for Fresh. I'm in the part of setting up the plugin part of the library and I've successfully configured all static css and islands. I am looking for a way (if possible) of also adding static font files (.woff2 and such) so that the users of my library won't have to manually add them to the /static directory, and importing them in the /routes/_app.tsx function.
Thank you 😄...
Compiling code breaks it (except on Linux)
error: [ERR_MODULE_NOT_FOUND] Cannot find module "C:\Users\Eris\AppData\Local\Temp\deno-compile-llm-bot.exe\node_modules\localhost\discord-api-types\0.37.61\payloads\v10../common" imported from "C:\Users\Eris\AppData\Local\Temp\deno-compile-llm-bot.exe\node_modules\localhost\discord-api-types\0.37.61\payloads\v10\index.js"
compiled with below command repo at https://github.com/Erisfiregamer1/llm-bot
deno compile --no-check --allow-all --unstable --target x86_64-pc-windows-msvc --output compiled/llm-bot.exe main.ts...
Interface with unknown amount of keys but all the same type
How do i create an interface/type that can have unlimited keys but the values are all the same type?
How to open a file as blob?
Docs for Blob (https://deno.land/api@v1.42.0?s=Blob) say that
File implements Blob. But the docs for Deno.File (https://deno.land/api@v1.42.0?s=Deno.File) say that it's deprecated and you should use FsFile instead. But FsFile (https://deno.land/api@v1.42.0?s=Deno.FsFile) doesn't implement Blob.
I could probably write my own wrapper that will make FsFile conform to Blob, but that feels like something that might already be in std somewhere?
(update: the important part here is that I want to wrap a file-like object, not read the entire file's contents into memory, since I'm working with potentially large files.)...Deno deploy running my code multiple times
Im hosting a small discord bot on deno deploy but for some reason its firing the events multiple times and everytime i save the project to shut it down and start it again it doubles. so in this case when i delete a message it first send one message telling me its deleted. then when i patched a bug it became 2 messages and now its 4. is there a way to fix this?
value too large in kv (30kb)
I'm getting a value too large error when setting a value in KV (on deploy) even though the value is small (around 30kb). Any idea why this might happen?
How to work without a tsconfig.json in VSCode? Getting typescript errors due to React.
Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.typescript(2583)
Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.typescript(2583)
deno.json file but the vscode typescript integration doesn't care....
update deno version on Alpine
on alpine the version of deno is 1.38.1 https://pkgs.alpinelinux.org/packages?name=deno
is there a reason for not updating to latest 1.42 ?
when it will be updated ?...
Deno blog deployment failure
Hi all, recently tried to make a new blog post on personal blog, however now the deployment fails (no changes on code, just new md file).
I've attached the error thrown, if anyone could help that'd be nice....

Fresh 1.6 - Deno Deploy - Tailwind
Deploying my project on deno deploy is not working.
Does anyone have the same issue ? I am using tailwind with fresh 1.6....

Analyze dependencies for deno compile
Is there a way to analyze the dependencies that is added when running deno compile? My compiled binary is close to 300mb, and I would want to see what the largest dependencies are.
