hyvor / unfold
0.0.5
2024-11-05 02:42 UTC
Requires
- php: >=8.2
- league/uri: ^7.4
- php-http/client-common: ^2.7
- php-http/discovery: ^1.20
- psr/http-client: ^1.0
- symfony/dom-crawler: ^7.1
Requires (Dev)
- guzzlehttp/guzzle: ^7.0
- laravel/pint: ^1.18
- pestphp/pest: ^3.3
- phpstan/phpstan: ^1.12
- dev-main
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- dev-giphy-tenor
- dev-bluesky
- dev-docs-updates
- dev-docker-docs-update
- dev-app-test-fixes
- dev-47-sitename-remove-twitter-handle
- dev-45-if-date-cannot-be-found-fallback-to-urls-yyyymmdd-if-found
- dev-fb-photo-without-dot-php
- dev-php-docs
- dev-datetime-fix
- dev-laravel-app
- dev-new-providers
- dev-docs-embeds
- dev-docker-docs
- dev-revert-28-youtube-shorts-margin-auti
- dev-youtube-shorts-margin-auti
- dev-github-link
- dev-refactor-link-embed
- dev-privacy-iframe-docs
- dev-original-url
- dev-rel-url-fix
- dev-dev
- dev-youtube-custom
- dev-phpstan-fix
- dev-more-tests
- dev-app
- dev-config
- dev-metadata-priority
- dev-refactor-1
- dev-httplug
This package is auto-updated.
Last update: 2024-11-14 10:52:54 UTC
README
Hyvor Unfold
Unfold URLs. Rich embeds via custom parsers. Link previews by scraping meta tags - as a PHP library or a self-hostable API via Docker.
Embed platforms policy
Our policy for adding new embed platforms to the list of supported platforms is as follows:
- Public Content: The platform must mainly be used for public content. For example, platforms that share private content like Google Drive won't be supported since most of the content is private by default.
- 10 million active monthly users: If a platform has less than 10 million registered active monthly users, it won't be supported.
- Ability to generate embeds: It must be possible to generate embed codes from a URL without requiring an API call.
Development
# Install dependencies
composer install
Run the website:
cd website
npm install
npm run dev
Run the backend (only for demos):
composer install php -S localhost:8000