在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):marcomontalbano/video-to-markdown开源软件地址(OpenSource Url):https://github.com/marcomontalbano/video-to-markdown开源编程语言(OpenSource Language):JavaScript 66.2%开源软件介绍(OpenSource Introduction):Video to MarkdownAdd videos to your markdown files easier - https://video-to-markdown.netlify.com. Why?How often did you find yourself googling ¨How to embed a video in markdown?¨ While its not possible to embed a video in markdown, the best and easiest way is to extract a frame from the video, add a layer with a play icon and link the video url on the image. Speaking HTMLese, this is what you would do: <a href="{video-url}" title="Link Title"><img src="{image-url}" alt="Alternate Text" /></a> that translates into markdown as: [![Alternate Text]({image-url})]({video-url} "Link Title") To speed up the process I developped this tool that will do it for you. You just need to paste the video url in the field above and you will get the markdown you need. FeaturesList of supported video providers:
HostingFirst of all you need to create a Cloudinary account (I'm using this service to generate and host images) so that you can copy your personal Now you can easily deploy your own copy on Netlify. Development stuffTo run the project locally, here’s what you’ll need: Requirements
Setup
cd video-to-markdown
yarn install cp .env.sample .env
# update the .env with proper values
yarn start This will start the client server on http://localhost:8080, and the netlify-lambda server on http://localhost:8081. netlify-lambda isn’t required to deploy Lambda functions to Netlify, but it offers some handy features out of the box that make it quicker to get started, like the local dev server and nice defaults for transpiling and bundling functions in production. The client server is configured to proxy PrivacyGoogle Analytics is used to record the following:
All images are generated via Cloudinary and stored in it. In this way the generated images are cached so we can avoid to call Netlify functions again thus reducing the quota consumption. By clicking on |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论