D
Deno

help

Fresh Blog + Website Things

VVanadium9/22/2023
https://vuepress-theme-yuu.netlify.app/, what is the closest thing to that which can be run on Fresh? It is for an SSG, which means the website is the theme. Another example of it is https://harmony.mod.land/ I don't really want to use such a restrictive SSG. But idk. How can I have the markdown stuff like that? For a blog. With file-based renders. And a navigation system. And also, perhaps a search function.
Harmony
An easy to use, advanced Discord API library, for Deno.
VVanadium9/22/2023
Basically, what I want is like an SSG. But not an SSG. I want the fresh style routes. For markdown files. But I will struggle with all the styles and search and stuff. So is there a way to do this without me doing it?
DAHDeno AI Helper9/22/2023
Based on the documentation, Fresh is a modern web framework that supports server-side rendering and islands architecture. It's designed to be used with TypeScript and doesn't require a build step. It's also designed to be deployed to an edge runtime like Deno Deploy for the best experience. For creating a blog with Fresh, the documentation provides a guide on "How to Build a Blog with Fresh". This guide shows how to build a markdown blog with Fresh and deploy it to the edge with Deno Deploy. It includes creating a new Fresh app, updating the directory structure, writing a dummy blog post, and deploying to the edge. For a navigation system, Fresh uses a filesystem routing system similar to Next.js. This means that the structure of your pages directory corresponds to the routes of your application. As for a search function, the documentation does not provide explicit information on how to implement this. However, since Fresh is a full-stack framework, you should be able to implement a search function using standard web development techniques. For file-based renders, Fresh supports this as well. In the "How to Build a Blog with Fresh" guide, it shows how Fresh retrieves data from a filesystem, which it renders into HTML, all on the server. However, the documentation does not provide explicit information on how to create a website that looks exactly like the VuePress theme you linked. You would need to use CSS and possibly other frontend technologies to style your Fresh application to look like that theme. As for the second example you provided, it seems to be a Discord clone built with Harmony. Fresh could potentially be used to build a similar application, but the documentation does not provide a specific guide on how to do this. In conclusion, while Fresh
DAHDeno AI Helper9/22/2023
provides a lot of the functionality you're looking for, you may need to do some additional work to style your application and implement certain features like a search function. 🦕

Looking for more? Join the community!

Recommended Posts
Determine subcommandIf I run `deno test` from the command line, how can I determine that `test` is the subcommand being setting a cookie for import requestsis there a way to modify request headers or set cookies for the GET requests that deno makes when reHow to run tailwindcss cli with deno task?I would like to be able to run the tailwindcss cli tool to watch and build stylesheets as per their Deno DeployIs it possible to use only cronjobs on deno deploy?Deno cannot import mainfile by reading from package.jsondeno 1.36.0 (release, x86_64-unknown-linux-gnu) v8 11.6.189.12 typescript 5.1.6Deno LSP in a Web WorkerHas anyone come across the lsp running in a web worker? I have an online editor (Monaco) that peopleHow do you get a Deno Jupyter notebook to recognize Deno and other types in vscode?See attached screenshotModule not found when running deno runSomething weird has started happening. When I run `deno run src/main.ts` it seems as if Deno is tryesm_entry_point / extension macro; ReferenceErrorHow do I use esm_entry_point properly? I defined my extension as: ```rust extension!( ext_name,remoteAddr returning localhost on Deno DeployI saw this thread (https://discord.com/channels/684898665143206084/1055631150787334184) about gettinDeno-native Nuxt.js?The recent [The State of Web Frameworks on Deno](https://deno.com/blog/web-frameworks-on-deno) blogDeno support Fleet IDE?Hello, can the deno plug-in be used on the Fleet editor of JetBrains IDEs? Thank you.Async execution contextIs there any way I can create a global that is unique to an async operation? I would like to use thaError Deploying to Deno Deploy LODASH isEmpty.jsI am having issues deploying to deno deploy. All was well 3 days ago. Made some changes today - but need to refersh page for message each time a user from different country sends a messageHey I was going through the below deno chat app and found a bug which is the need to referesh the paAPI architecture for generic callbackHi there, I have a general question about code architecture for an API I'm doing. Basically, it listHow can I run `deno test` on all `*.spec.ts` files contains in a specific directory ?Everything is in the question, it seems very strange that we do not have a `pattern` option to speciuseEffect in the islandsSeeing a strange error in the browser window as soon as I add a simple as ```ts useEffect(() => {