GithubHelp home page GithubHelp logo

Live example about next-api-og-image HOT 5 OPEN

neg4n avatar neg4n commented on May 20, 2024
Live example

from next-api-og-image.

Comments (5)

neg4n avatar neg4n commented on May 20, 2024 2

👋 Hey @bmstefanski @jfobrien29! There was a critical bug related to detecting NODE_ENV properly in 2.1.0 and it is fixed in 2.1.1. Its available on npm but I haven't pushed the changes to the repository and made the release on GitHub yet. Cheers

from next-api-og-image.

jfobrien29 avatar jfobrien29 commented on May 20, 2024 1

Appreciate the help! I downgraded to 2.0.0 and it works great. I've been trying to generate pngs using vercel serverless functions for the last 24hrs and this package is exactly what I needed.

I'll poke around and see how I can help contribute.

from next-api-og-image.

neg4n avatar neg4n commented on May 20, 2024 1

Thats super cool @jfobrien29 🚀 In the next days (probably tomorrow) I will create some issues related to development of the library then you will be able to pick something if you decide to contribute 😇

I will also make sure that everything is stable since https://github.com/neg4n/next-api-og-image/releases/tag/2.1.0

Answering the original question by @bmstefanski - Thats good idea to deploy example project so everyone can see the library is working. I will do that in my free time 😎

from next-api-og-image.

jfobrien29 avatar jfobrien29 commented on May 20, 2024

Hey @neg4n appreciate you building this! I'm having trouble deploying this as well and have been unable to so far. Do you have any suggestions on how to make this run deployed?

It seems puppeteer can't be run on vercel functions as far as I've experimented. But works great locally!

from next-api-og-image.

bmstefanski avatar bmstefanski commented on May 20, 2024

@jfobrien29 hmm It should be possible, there's at least one repo (that is using this) deployed on Vercel
Preview: https://og.thcl.dev/api/general?templateTitle=Page%20Name&siteName=Your%20Site%20Name&description=Lorem%20ipsum&theme=light
Github: https://github.com/theodorusclarence/og/blob/main/src/pages/api/general.ts

But it has an older version, so maybe something is not working correctly 🤔 @neg4n

from next-api-og-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.