ref_inspector alternatives and similar packages
Based on the "Text and Numbers" category.
Alternatively, view ref_inspector alternatives based on common mentions on social networks and blogs.
-
money
Elixir library for working with Money safer, easier, and fun... Is an interpretation of the Fowler's Money pattern in fun.prog. -
nanoid
Elixir port of NanoID, a secure and URL-friendly unique ID generator. https://hex.pm/packages/nanoid -
secure_random
Convenience library for random base64 strings modeled after my love for Ruby's SecureRandom -
chinese_translation
An elixir module to translate simplified Chinese to traditional Chinese, and vice versa, based on wikipedia data -
inet_cidr
CIDR library for Elixir that is compatible with Erlang's :inet and supports both IPv4 and IPv6 -
Ex_Cldr_Units
Unit formatting (volume, area, length, ...) functions for the Common Locale Data Repository (CLDR) -
minigen
Pure random data generation library, appropriate for realistic simulations in the Erlang ecosystem
InfluxDB - Purpose built for real-time analytics at any scale.
Do you think we are missing an alternative of ref_inspector or a related project?
README
RefInspector
Referer parser library.
Package Setup
To use RefInspector with your projects, edit your mix.exs
file and add the required dependencies:
defp deps do
[
# ...
{:ref_inspector, "~> 1.0"},
# ...
]
end
If you want to use a manual supervision approach (without starting the application) please look at the inline documentation of RefInspector.Supervisor
.
Application Configuration
Out of the box the default database will be stored in the :priv_dir
of :ref_inspector
. Both the database(s) and path used can be changed.
For a detailed list of available configuration options please consult RefInspector.Config
.
Referer Database
The default database is taken from the snowplow-referer-parser project.
Basic Usage
Database Download
You need to obtain a copy of the configured database by calling either mix ref_inspector.download
from the command line or RefInspector.Downloader.download/0
from within your application.
Refer to RefInspector.Downloader
for more details.
Referer Parsing
iex(1)> RefInspector.parse("http://www.google.com/search?q=ref_inspector")
%RefInspector.Result{
medium: "search",
referer: "http://www.google.com/search?q=ref_inspector",
source: "Google",
term: "ref_inspector"
}
Full documentation is available inline in the RefInspector
module and at https://hexdocs.pm/ref_inspector.
Benchmark
Several (minimal) benchmark scripts are included. Please refer to the Mixfile or mix help
output for their names.
Resources
License
Referers.yml taken from the snowplow-referer-parser project. See there for detailed license information about the data contained.
*Note that all licence references and agreements mentioned in the ref_inspector README section above
are relevant to that project's source code only.