Create a splash page in less than 20 lines of python
Project description
SplashGen
Installation Instructions
NOTE: You will need Python 3.7+
pip install splashgen
Getting Started
- Copy the file contents of this example into a py file of your own
- Change the values to reflect your brand
- Add in a logo.svg into the same directory as your py file
- Run
splashgen <<Your File>>.py
to build the static files - Run
python -m http.server --directory build
to start a HTTP server in the output directory - Head over to http://localhost:8000/ to see your splashpage!
Usage
Deploying to GitHub pages
TODO
Deploying to Netlify
TODO
Opting out of analytics
By default, splasgen sites contain a simple analytics snippet that helps us determine usage. We explicitly opt-out of tracking any personally identifiable information, and only track the site's host name. As a free and open-source product, it's important that we're able to measure usage of splashgen in order to continue to invest in its development.
That said, you can easily opt-out of analytics tracking by adding the following code-snippet:
site.enable_splashgen_analytics = False
Help us out! :pray:
Splashgen is currently in an early alpha. If there are any missing features that you would like added please open an issue and we will add it in! This API is in flux and will receive significant improvements and changes over the next few weeks.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for splashgen-0.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53230a9e93f4bc3e1c80e4e38f0eb0ea1a13bdcf5f223f841d1794dc2ea116ac |
|
MD5 | dff2d903d7b43c04f77f31611cff91b5 |
|
BLAKE2b-256 | 0a4981a1eeb67081e6548c177841750c9a01b451fd116bcb81d3ff854e9cdad2 |