An open API service indexing awesome lists of open source software.

https://github.com/losefor/ogen

Generator open graph on the server with ExpressJs and ReactJs using rollupJs
https://github.com/losefor/ogen

express jsx open-graph open-graph-generator react rollup server

Last synced: 3 months ago
JSON representation

Generator open graph on the server with ExpressJs and ReactJs using rollupJs

Awesome Lists containing this project

README

        

# Open graph images generator

Easily generate OG images on the server with ExpressJs and ReactJs

### sample generated on the server

!["Generate image by the server"](./sample.png)

### Features

- Easy to ship and maintain
- Includes a dev server to run and test your own ReactJs component

### How to use

- design your own OG image in the `app.js`
- To see your own changes live use `yarn dev`
- After you finish run `yarn build` into your terminal this will generate the required js files in the `dist/bundle.js`
- Run the express server with `yarn start`
- visit the `/` And enjoy with your own OG image generated from your own React component

### TODO

- [ ] Config file
- [ ] Image caching
- [ ] Refactor