Examples for Deno Deploy

Related tags

GUI deno-deploy
Overview

Deno Deploy Examples

This repository contains a list of examples for Deno Deploy.

  • fetch - Make outbound requests using the fetch() API.
  • json_html - Respond to requests with JSON or HTML.
  • post_request - Handle POST requests.
  • slack - A Slack Slash Command example.
  • discord - A Discord Slash Command example.
  • yaus - A URL shortener built on top of Deno Deploy and FaunaDB.
  • issues - A server rendered (using JSX) website that displays issues with most comments of a GitHub repository.
  • telegram - A Telegram Bot Command example.
Comments
  • Update Deno Deploy github app description?

    Update Deno Deploy github app description?

    Went to sign up for Deno Deploy, and the permissions it asked for included the all-encompassingAct on your behalf permissions.

    I clicked Learn more about Deno Deploy which did not give any additional information.

    Is this repository the correct place to request explaining (and hopefully reducing) the permissions needed?

    opened by jedahan 6
  • Type Errors with `sift`

    Type Errors with `sift`

    When I run check on the YAUS example, I'm getting the following errors:

    ❱ deployctl check --libs=ns,fetchevent https://raw.githubusercontent.com/denoland/deploy_examples/main/yaus/mod.tsx
    Check data:application/typescript;base64,aW1wb3J0IHR5cGUge30gZnJvbSAiZmlsZTovLy9Vc2Vycy9sY2FtcGJlbGwvTGlicmFyeS9DYWNoZXMvZGVuby9odHRwcy9kZW5vLmxhbmQvZWZkODZiZDc5YjUzNDUzOTlhYzI3YzQyNGE2NzgzYjM4NmZjODIxNzYyODYzYTVkOTc1M2YzYzRiNjVkOGQ3Ny50cyI7aW1wb3J0IHR5cGUge30gZnJvbSAiZmlsZTovLy9Vc2Vycy9sY2FtcGJlbGwvTGlicmFyeS9DYWNoZXMvZGVuby9odHRwcy9kZW5vLmxhbmQvOGE3YzI3ZGQ5Y2NkYWVhNjhkMTM2MjRjMGU0YjZkMTBlZjUxODlhNWU3YzI4YzczMWM4ZmExNTI5MGU3Y2FlMC50cyI7aW1wb3J0ICJodHRwczovL3Jhdy5naXRodWJ1c2VyY29udGVudC5jb20vZGVub2xhbmQvZGVwbG95X2V4YW1wbGVzL21haW4veWF1cy9tb2QudHN4Ijs=
    error: TS2339 [ERROR]: Property 'entries' does not exist on type 'Headers'.
        headers: Object.fromEntries(req.headers.entries()),
                                                ~~~~~~~
        at https://deno.land/x/[email protected]/mod.ts:6:45
    
    TS2339 [ERROR]: Property 'entries' does not exist on type 'Headers'.
        const headers = Object.fromEntries(response.headers.entries());
                                                            ~~~~~~~
        at https://deno.land/x/[email protected]/mod.ts:57:57
    
    TS2339 [ERROR]: Property 'keys' does not exist on type 'URLSearchParams'.
        for (const param of searchParams.keys()) {
                                         ~~~~
        at https://deno.land/x/[email protected]/mod.ts:206:38
    
    TS2339 [ERROR]: Property 'keys' does not exist on type 'Headers'.
        for (const header of request.headers.keys()) {
                                             ~~~~
        at https://deno.land/x/[email protected]/mod.ts:229:42
    
    Found 4 errors.
    
    opened by artisonian 3
  • information about denodeploy executable is not provided

    information about denodeploy executable is not provided

    I suspect that the denodeploy executable is following https://github.com/lucacasonato/deploy_examples/blob/main/tools/runtime.js

    but in Run offline sections in the examples provided do not mention details of how to obtain the denodeploy executable.

    opened by fusionstrings 1
  • fix: improve YAUS example

    fix: improve YAUS example

    This PR improves YAUS (Yet Another URL Shortener) example. It uses its own host name for shortened url. It now works with preview deployments or deployctl runner.

    スクリーンショット 2021-03-29 16 53 44
    opened by kt3k 0
  • Add fetch() examples

    Add fetch() examples

    I didn't add run offline/try live version section for this example as those don't make much sense here. The directory name requests might be a bit ambiguous. I'm open to suggestions.

    opened by satyarohith 0
  • GitHub App example

    GitHub App example

    I'd love to see a GitHub App example. e.g. A simple bot that replies to certain comments on a pull request, validates requests are from GitHub using a webhook secret, etc.

    opened by mfulton26 0
  • refactor(telegram): simplify example

    refactor(telegram): simplify example

    grammY is an excellent choice for creating Telegram bots. This PR removes all the hard part and simplifies the Telegram bot example.

    I'm not quite sure about the Deploy button URL because those stopped working since Deno Deploy Beta 4. I'm aware that this is a known issue: https://github.com/denoland/deploy_feedback/issues/251

    opened by dcdunkan 0
Foreign Function Interface Plugin for Deno.

Deno FFI Plugin to call dynamic library functions in Deno. Usage import { Library } from "https://deno.land/x/[email protected]/mod.ts"; const lib = new

DjDeveloper 4 Aug 18, 2022
SDL2 module for Deno

Deno SDL2 Cross platform and stable bindings to SDL2. Have fun! Features Bindings to Video, Graphics, Font and Mixer subsystems. (Uses rodio instead o

Divy Srivastava 102 Jan 4, 2023
Prototype for a Deno to npm package build tool.

dnt - Deno to Node Transform Prototype for a Deno to npm package build tool. What does this do? It takes a Deno module and creates an npm package for

David Sherret 573 Jan 9, 2023
Prototype for a Deno to npm package build tool.

dnt - Deno to Node Transform Prototype for a Deno to npm package build tool. What does this do? It takes a Deno module and creates an npm package for

Deno Land 570 Dec 28, 2022
Windowing support for Deno WebGPU.

deno_desktop Windowing support for Deno WebGPU. In very early stages at the moment. Usage const win = Deno.createWindow({ title: "Deno Desktop", w

DjDeveloper 56 Oct 26, 2022
Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

Deno Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Features Secure by default. No file,

Derek Jones 2 Aug 13, 2022
autogen website (with Deno Core)

Kurit Static website generator ?? Warning WIP: It is still under development, so some of the features may not be developed. Project Structures graph T

null 11 Oct 16, 2023
Easy c̵̰͠r̵̛̠ö̴̪s̶̩̒s̵̭̀-t̶̲͝h̶̯̚r̵̺͐e̷̖̽ḁ̴̍d̶̖̔ ȓ̵͙ė̶͎ḟ̴͙e̸̖͛r̶̖͗ë̶̱́ṉ̵̒ĉ̷̥e̷͚̍ s̷̹͌h̷̲̉a̵̭͋r̷̫̊ḭ̵̊n̷̬͂g̵̦̃ f̶̻̊ơ̵̜ṟ̸̈́ R̵̞̋ù̵̺s̷̖̅ţ̸͗!̸̼͋

Rust S̵̓i̸̓n̵̉ I̴n̴f̶e̸r̵n̷a̴l mutability! Howdy, friendly Rust developer! Ever had a value get m̵̯̅ð̶͊v̴̮̾ê̴̼͘d away right under your nose just when

null 294 Dec 23, 2022
Redirect Deno dependencies from semantic versions to the newest fitting version on deno.land/x

Deno Semver Redirect Redirect Deno dependencies from semantic versions to the newest fitting version on deno.land/x. See also this Deno Issue. How to

EdJoPaTo 8 Mar 12, 2022
Winsafe-examples - Examples of native Windows applications written in Rust with WinSafe.

WinSafe examples This repo contains several examples of native Win32 applications written in Rust with WinSafe. All examples follow the same program s

Rodrigo 40 Dec 14, 2022
A wasm template for Rust to publish to gh-pages without npm-deploy

Wasm template for Rust hosting without npm-deploy on github pages using Travis script It automatically hosts you wasm projects on gh-pages using a tra

Siddharth Naithani 102 Dec 24, 2022
MeiliSearch is a powerful, fast, open-source, easy to use and deploy search engine

MeiliSearch is a powerful, fast, open-source, easy to use and deploy search engine. Both searching and indexing are highly customizable. Features such as typo-tolerance, filters, and synonyms are provided out-of-the-box. For more information about features go to our documentation.

MeiliSearch 31.6k Dec 30, 2022
Automatically deploy from GitHub to Replit, lightning fast ⚡️

repl.deploy Automatically deploy from GitHub to Replit, lightning fast ⚡️ repl.deploy is split into A GitHub app, which listens for code changes and s

Khushraj Rathod 78 Dec 22, 2022
Mini Rust CLI to deploy sites to Netlify using their API

This is a Rust CLI that uses the Netlify API to deploy sites.

Benjamin Lannon 10 May 12, 2022
Showing how to deploy a Terra smart contract using Chainlink Data Feeds

Chainlink Terra Developing Requirements This demo requires the following components: Rust: rustup with cargo 1.44.1+. rustc and cargo 1.44.1+. Install

SmartContract 6 Aug 22, 2022
GitLab Deploy is used for deploying software projects to multiple hosts during different phases.

GitLab Deploy is used for deploying software projects to multiple hosts during different phases. This program should be run on Linux.

Magic Len (Ron Li) 1 Nov 22, 2021
A GitHub Action to automatically build and deploy your mdbook project.

?? deploy-mdbook The deploy-mdbook action allows you to easily build and deploy your mdBook project to GitHub Pages. See action.yml for configuration

null 27 Oct 24, 2022
Tangram - makes it easy for programmers to train, deploy, and monitor machine learning models.

Tangram is the all-in-one machine learning toolkit for programmers. Train a model from a CSV file on the command line. Make predictions from Elixir, G

Tangram 1.3k May 3, 2022
Deploy dioxus-web to Vercel.

Dioxus demo This demo shows how to use Dioxus to build a static web application and deploy it to Vercel. Local development To run the demo locally, yo

Zihua Wu 8 Dec 28, 2022
The Heros NFT Marketplace Boilerplate project is designed to let users fork, customize, and deploy their own nft marketplace app to a custom domain, ultra fast.

Heros NFT on Solana The Heros NFT Marketplace Boilerplate project is designed to let users fork, customize, and deploy their own nft marketplace app t

nightfury 6 Jun 6, 2022