Skip to content

Commit

Permalink
move to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ToastHawaii committed Jun 14, 2024
1 parent f5a3106 commit ec3dd88
Show file tree
Hide file tree
Showing 533 changed files with 3,006 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
priceless.zottelig.ch
661 changes: 661 additions & 0 deletions docs/LICENSE

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
defaults:
- scope:
path: "docs/README.md"
values:
lang: "en"
title: "Priceless"
description: "Experience the world. Free of charge."
base: "/"
103 changes: 103 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<!--
Copyright (C) 2020 Markus Peloso
This file is part of Priceless map.
Priceless map is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
Priceless map is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Priceless map. If not, see <http://www.gnu.org/licenses/>.
-->

<!DOCTYPE html>
<html lang="{{ page.lang }}">

<head>
<title>{{ page.title }}</title>
<meta charset="utf-8" />
<link rel="manifest" href="/manifest.{{ page.lang }}.json" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="{{ page.description }}" />

<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="application-name" content="{{ page.title }}" />
<meta name="apple-mobile-web-app-title" content="{{ page.title }}" />
<meta name="theme-color" content="#da532c" />
<meta name="msapplication-navbutton-color" content="#da532c" />
<meta name="msapplication-starturl" content="{{ page.base }}" />

<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png" />
<link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#da532c" />
<link rel="shortcut icon" href="/icons/favicon.ico" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="msapplication-config" content="/icons/browserconfig.xml" />

<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css"
media="print" onload="this.media='all'; this.onload=null;" />
<link rel="stylesheet" href="{{
'/assets/css/style.css?v='
| append: site.github.build_revision
| relative_url
}}" />
<style>
html.theme-mode-dark {
filter: invert(100%) hue-rotate(180deg);
}

html.theme-mode-dark img,
html.theme-mode-dark input[type="image"] {
filter: invert(100%) hue-rotate(-180deg);
}

</style>

<meta name="monetization" content="$ilp.uphold.com/BwpBDr48YqPi" />

<script src="/serviceWorkerRegister.js"></script>
</head>

<body>
<div class="container-lg px-3 my-5 markdown-body">{{ content }}</div>

<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
<script>
const startTheme = localStorage.getItem("theme") || "system";
if (!startTheme) {
localStorage.setItem("theme", startTheme);
}

function setThemeClass(theme) {
const isSystemThemeDark = window.matchMedia(
"(prefers-color-scheme: dark)"
).matches;

if ((theme === "system" && isSystemThemeDark) || theme === "dark") {
document.documentElement.classList.add("theme-mode-dark");
} else {
document.documentElement.classList.remove("theme-mode-dark");
}

if (theme === "system") {
document.documentElement.classList.add("theme-mode-system");
} else {
document.documentElement.classList.remove("theme-mode-system");
}
}

setThemeClass(startTheme);
</script>
</body>

</html>
13 changes: 13 additions & 0 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"files": {
"main.css": "/static/css/main.16b7ff76.css",
"main.js": "/static/js/main.7e95cfd4.js",
"index.html": "/index.html",
"main.16b7ff76.css.map": "/static/css/main.16b7ff76.css.map",
"main.7e95cfd4.js.map": "/static/js/main.7e95cfd4.js.map"
},
"entrypoints": [
"static/css/main.16b7ff76.css",
"static/js/main.7e95cfd4.js"
]
}
105 changes: 105 additions & 0 deletions docs/docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Priceless

Experience the world. Free of charge.

[Click here for the map](https://priceless.zottelig.ch)

This is a simple map showing public and free facilities and offers near you. The information is loaded from [OpenStreetMap](https://www.openstreetmap.org).

## Is this map also available as an app?

You can add this map to your homescreen from your smartphone. Use the "add to homescreen" function in your browser (iOS, Android, etc.)

## How can I register a facilitie or offer?

Thank you very much for your commitment! [OpenStreetMap](https://www.openstreetmap.org) is a project that anyone can participate in. Everything goes through the website, the tools are designed so simple that anyone can use them.

How to document a facilitie or offer is described in this [wiki](https://wiki.openstreetmap.org/).

### Can I do this without registering?

Yes. Use the <i class="fas fa-comment-alt"></i> note button in the map corner.

## Is there anything else to do?

Sure, helping hands are always welcome and there is something for everyone to do.

### Do you like to be outside?

Then find public and free facilities and offers and add them in [OSM](https://www.openstreetmap.org). Always check if they really exist by visiting them.

- Check out the list of known public and free facilities and offers.
- Do research on the Internet.
- Keep an eye out when you're on the road.

[Vespucci (Android)](https://wiki.openstreetmap.org/wiki/Vespucci) and [Go Map!! (iOS)](https://wiki.openstreetmap.org/wiki/Go_Map!!) are useful helpers on the road.

### Do you like to take pictures?

Visit already registered facilities and photograph them and link the picture in OpenStreetMap. The map supports the tags mapillary, flickr, wikimedia_commons and image. [Wiki page about Photo linking](https://wiki.openstreetmap.org/wiki/Photo_linking)

### Do you want to translate the map into your language?

The texts are located in the [src folder](https://github.com/ToastHawaii/priceless-map/tree/master/src) in the files local.ts, index.html and README.md. Send me a pull request via [GitHub](https://github.com/ToastHawaii/priceless-map) or [contact me directly](https://it.zottelig.ch/kontakt).

### Do you like to write?

Complete the description of the facilities in the [OpenStreetMap Wiki](https://wiki.openstreetmap.org/wiki/Map_Features). You can find a direct link to the Wiki page on the map next to the selection of the facilities via the info button <i class="fas fa-info-circle"></i>.

### Can you program?

Then improve this map and send me a Pull Requests. [Click here to go to the project website of the priceless map](https://github.com/ToastHawaii/priceless-map)

Or extend the support for tags and keys in the OpenStreetMap tools. [iD (Browser)](https://wiki.openstreetmap.org/wiki/ID), [JOSM (PC)](https://wiki.openstreetmap.org/wiki/JOSM), [Vespucci (Android)](https://wiki.openstreetmap.org/wiki/Vespucci), [Go Map!! (iOS)](https://wiki.openstreetmap.org/wiki/Go_Map!!)

### Miscellaneous

- You have an idea how the map can be extended? Send me an [issue via GitHub](https://github.com/ToastHawaii/priceless-map/issues/new) or a message via [my contact page](https://it.zottelig.ch/kontakt).
- Share this map with your friends.
- [Support me](https://it.zottelig.ch/%C3%BCber-mich) with coffee and cake.
- Enjoy your life. ;)

### Known public and free facilitie or offer

There are many websites for free facilities and offers. Find something you like and worth to support and add them to [OpenStreetMap](https://www.openstreetmap.org).

You can find links to external resources on the map next to the selection of the facilities via the info button <i class="fas fa-info-circle"></i>.

## I have a website, can I use this map?

Yes. The app is licensed under the [GNU Affero General Public License v3.0](https://github.com/ToastHawaii/priceless-map/blob/master/LICENSE). The code is free for use, copying and modification if you publish under the same license.

The code can be used as a basis for your own theme map.

[View the source code of this map on GitHub](https://github.com/ToastHawaii/priceless-map)

### I cannot program, how can I create my own theme map?

Try one of the following services:

- [MapComplete](https://mapcomplete.org/) ([Wiki](https://wiki.openstreetmap.org/wiki/MapComplete))
- [MapContrib](https://www.mapcontrib.xyz/) ([Wiki](https://wiki.openstreetmap.org/wiki/MapContrib))
- [uMap](https://umap.openstreetmap.fr/en/) ([Wiki](https://wiki.openstreetmap.org/wiki/UMap))
- [overpass turbo](https://overpass-turbo.eu/) ([Wiki](https://wiki.openstreetmap.org/wiki/Overpass_turbo)) You can use the "Wizard" to create a query, it also understands words like " Lake", " Bakery" and so on

[Other maps based on OpenStreetMap](https://osm-apps.zottelig.ch/)

## More

More maps for inspiration:

- The website was inspired by [Zürich unbezahlbar](https://www.zuerichunbezahlbar.ch/map/), which displays public and free offers, events and facilities in Zürich. Thanks to the developers, publishers and supporters of Zürich unbezahlbar for their inspiration and work.
- Various equipment e.g. pumps, sports fields, etc. [Züriplan](https://www.maps.stadt-zuerich.ch/zueriplan3/Stadtplan.aspx)
- Places where you can participate in city life without papers and / or money. [SolidaryCityMap](https://solidary.city/)
- Berlin, free of charge and easy for everyone to experience. [gratis-in-berlin](https://www.gratis-in-berlin.de/)
- Visit public bookcases and register them. Look at [the beautiful map from Binnette](https://umap.openstreetmap.fr/fr/map/osm-bookcases-and-boite-a-lire_362287#15/45.2010/5.7389), which is based on the data of [boite-a-lire](https://www.boite-a-lire.com/). [Click here for the project website from Binnette's bookcases-to-check](https://github.com/Binnette/bookcases-to-check).
- A map that shows facilities and services that are environmentally, socially and economically sustainable. [Sustainable](https://sustainable.zottelig.ch/)
- A map with public bookcases. [Public bookcase](https://book-exchange.zottelig.ch/)

Support me with coffee ☕ and cake 🍰:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="JFWXTYPKBD2YA" />
<input type="image" src="https://www.paypalobjects.com/en_US/CH/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
</form>
1 change: 1 addition & 0 deletions docs/google3a4e569b77038ba7.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: google3a4e569b77038ba7.html
Binary file added docs/icons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions docs/icons/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="https://priceless.zottelig.ch/icons/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added docs/icons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/icons/favicon-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/icons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/icons/favicon-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/icons/favicon.ico
Binary file not shown.
Binary file added docs/icons/mstile-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/icons/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/icons/mstile-310x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/icons/mstile-310x310.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/icons/mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions docs/icons/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html class="help" lang="en"><head><title></title><meta charset="utf-8"/><link rel="manifest" href="/manifest.json"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="theme-color" content="#da532c"/><meta name="msapplication-navbutton-color" content="#da532c"/><meta name="msapplication-starturl" content="/"/><link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png"/><link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#da532c"/><link rel="shortcut icon" href="/icons/favicon.ico"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="msapplication-config" content="/icons/browserconfig.xml"/><link rel="stylesheet" href="/lib/leaflet.css"/><link rel="stylesheet" href="/lib/OverPassLayer.css"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css"/><meta name="monetization" content="$ilp.uphold.com/BwpBDr48YqPi"/><script src="/serviceWorkerRegister.js"></script><script defer="defer" src="/static/js/main.7e95cfd4.js"></script><link href="/static/css/main.16b7ff76.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script async src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script><script async type="text/javascript" src="https://taginfo.openstreetmap.org/js/taglists.js"></script></body></html>
4 changes: 4 additions & 0 deletions docs/lib/maki-icons/aerialway-11.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/lib/maki-icons/aerialway-15.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/lib/maki-icons/airfield-11.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/lib/maki-icons/airfield-15.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/lib/maki-icons/airport-11.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/lib/maki-icons/airport-15.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/lib/maki-icons/alcohol-shop-11.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/lib/maki-icons/alcohol-shop-15.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/lib/maki-icons/american-football-11.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ec3dd88

Please sign in to comment.