MCPcopy
hub / github.com/freshframework/fresh

github.com/freshframework/fresh @2.3.3 sqlite

repository ↗ · DeepWiki ↗ · release 2.3.3 ↗
1,003 symbols 2,531 edges 369 files 37 documented · 4%
README

Documentation | Getting started | API Reference

fresh

The Fresh logo: a sliced lemon dripping with juice

Fresh is a next generation web framework, built for speed, reliability, and simplicity.

Some stand-out features:

  • Island based client hydration for maximum interactivity.
  • Zero runtime overhead: no JS is shipped to the client by default.
  • No configuration necessary.
  • TypeScript support out of the box.
  • File-system routing à la Next.js.

📖 Documentation

The documentation is available on fresh.deno.dev.

🚀 Getting started

Install the latest Deno CLI version.

You can scaffold a new project by running the Fresh init script. To scaffold a project run the following:

deno run -Ar jsr:@fresh/init

Then navigate to the newly created project folder:

cd fresh-project

From within your project folder, start the development server using the deno task command:

deno task dev

Now open http://localhost:5173 in your browser to view the page. You make changes to the project source code and see them reflected in your browser.

To deploy the project to the live internet, you can use Deno Deploy:

  1. Push your project to GitHub.
  2. Create a Deno Deploy project.
  3. Select your GitHub repository.
  4. The project will be deployed to a public $project.$username.deno.net subdomain with no configuration necessary.

For a more in-depth getting started guide, visit the Getting Started page in the Fresh docs.

Contributing

We appreciate your help! To contribute, please read our contributing guideline.

Adding your project to the showcase

If you feel that your project would be helpful to other Fresh users, please consider putting your project on the showcase. However, websites that are just for promotional purposes may not be listed.

To take a screenshot, run the following command.

deno task screenshot [url] [your-app-name]

Then add your site to showcase.json, preferably with source code on GitHub, but not required.

Badges

Made with Fresh

[![Made with Fresh](https://fresh.deno.dev/fresh-badge.svg)](https://fresh.deno.dev)
<a href="https://fresh.deno.dev">
  <img
    width="197"
    height="37"
    src="https://fresh.deno.dev/fresh-badge.svg"
    alt="Made with Fresh"
  />
</a>

Made with Fresh(dark)

[![Made with Fresh](https://fresh.deno.dev/fresh-badge-dark.svg)](https://fresh.deno.dev)
<a href="https://fresh.deno.dev">
  <img
    width="197"
    height="37"
    src="https://fresh.deno.dev/fresh-badge-dark.svg"
    alt="Made with Fresh"
  />
</a>

Hashtags

Use the following hashtags in your social media posts that reference Fresh and as Topics in the About section of your GitHub repos that contain Fresh code. It will assure maximum visibility for your posts and code, and promote Fresh development ecosystem visibility.

  • denofresh

  • deno

Github repo Topics will not include the hash symbol.

Extension points exported contracts — how you extend this code

BuildCache (Interface)
(no doc) [6 implementers]
packages/fresh/src/build_cache.ts
FailedLink (Interface)
(no doc)
tools/check_links.ts
CodeWindowProps (Interface)
(no doc)
www/components/CodeWindow.tsx
MarkdownHeading (Interface)
(no doc)
www/utils/markdown.ts
Data (Interface)
(no doc)
www/routes/docs/[...slug].tsx
TableOfContentsEntry (Interface)
(no doc)
www/data/docs.ts
TableOfContentsProps (Interface)
(no doc)
www/islands/TableOfContents.tsx
JsrMeta (Interface)
(no doc)
packages/init/src/init.ts

Core symbols most depended-on inside this repo

get
called by 773
packages/fresh/src/app.ts
text
called by 199
packages/fresh/src/context.ts
render
called by 183
packages/fresh/src/context.ts
handler
called by 134
packages/fresh/src/app.ts
integrationTest
called by 104
packages/fresh/src/test_utils.ts
withBrowserApp
called by 98
packages/fresh/tests/test_utils.tsx
waitForText
called by 97
packages/fresh/tests/test_utils.tsx
use
called by 82
packages/fresh/src/app.ts

Shape

Function 689
Method 143
Interface 119
Class 46
Enum 6

Languages

TypeScript100%

Modules by API surface

packages/fresh/src/dev/dev_build_cache.ts39 symbols
packages/fresh/src/runtime/client/reviver.ts34 symbols
www/utils/ga4.ts30 symbols
packages/fresh/src/test_utils.ts29 symbols
packages/fresh/src/runtime/server/preact_hooks.ts28 symbols
packages/fresh/src/app.ts26 symbols
tools/check_docs_lib.ts22 symbols
packages/fresh/src/commands.ts22 symbols
packages/fresh/src/context.ts21 symbols
packages/plugin-vite/src/plugins/patches/commonjs.ts20 symbols
packages/fresh/tests/test_utils.tsx17 symbols
packages/fresh/src/runtime/shared_internal.ts17 symbols

For agents

$ claude mcp add fresh \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact