shlinkio / shlink Goto Github PK
View Code? Open in Web Editor NEWThe definitive self-hosted URL shortener
Home Page: https://shlink.io
License: MIT License
The definitive self-hosted URL shortener
Home Page: https://shlink.io
License: MIT License
How to set the language:
Name: config:generate-charset
Once the limit has been reached, the server will return a 404 Not Found as if the short code was invalid
Use monolog
This will prevent the same IP address to be processed more than once
config:generate-charset
command)Accept-Language
header is sent (defaults to en)vendor/bin/doctrine orm:schema-tool:create
)data
directoryvendor/bin/doctrine orm:generate-proxies
)shlink
in /usr/local/bin (linux only. Optional)Supported languages: es and en
Use wkhtmltoimage and a wrapper library:
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Max-Age
Access-Control-Allow-Headers
Using something like oAuth seems a little bit overengineered for this app.
JSON web tokens could be an option https://jwt.io/introduction/
Also drop the username/password system and use API keys that are generated from the command line and persisted in the database.
Allow to disable any API key or set expiration dates.
In the future, this will allow to set an ACL system
Use the package https://github.com/chrislim2888/IP2Location-PHP-Module
For example, if the URL is http://doma.in/abc123
, the QR code URL would be http://doma.in/qr/abc123
, and the generated QR code will point to the first one.
The QR code should be cached once generated.
Outside of the date range, the server will return a 404 Not Found as if the short code was invalid
I think it will only make sense to separate the Common module.
Probably the error handler stuff could live on its own package because it is very useful and very reusable.
Use current Cache adapter
If date range is not provided, return the first 2 days since the short code was created.
It should wrapps the translator and define a --lang
falg in order to set the language at runtime
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.