Skip to content

legacybeta/positive.help

Repository files navigation

Positive.help

The purpose of the site is to share positive messages with people, and allow for people add their own messages.

The easiest way for people to add new messages is to submit them for review via Typeform. Fill out this form.

This allows anyone and everyone to be able to suggest new messages. If you know how to use Github and want to add your own we are happy to take pull requests for new messages. The messages are in Markdown and are in the src/markdown-pages folder.

The site is hosted on Cloudflare Workers at the moment, which has been working well so far...

If you are adding messages in languages that require UTF8 characters, you will need to md5 the message to use as the Route. Something with Cloudflare doesn't allow us to have UTF8 Routes. Searching DuckDuckGo is an easy way to generate the hash. "md5 message".

Rules For New Messages

  1. Be Positive and Helpful
  2. No duplicates but shorter or longer, similar messages are allowed
  3. Change content rather than Routes
  4. If you change existing content on a Route, add a new post with the previous content
  5. Emojis are welcome, but try to keep them at the end of the message

This site was built with (Gatsby)[https://www.gatsbyjs.org/docs/quick-start/] and Gatsby Starter Theme so some of their Readme info was retained to help people get it setup locally.


🚀 Gatsby Quick start

  1. Start developing.

    We are using (pnpm)[https://pnpm.js.org/en/installation] for this project because it is much faster! Navigate into your new site’s directory and start it up.

Install pnpm and gatsby

```shell
npm install -g pnpm
pnpm install -g gatsby-cli
```

Install node_modules and Start gatsby

```shell
cd positivehelp/

pnpm install

gatsby develop
```
  1. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

Full documentation for Gatsby lives on the website.

Gatsby