https://github.com/bitkarrot/laisee-frontpage
https://github.com/bitkarrot/laisee-frontpage
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bitkarrot/laisee-frontpage
- Owner: bitkarrot
- Created: 2021-11-14T23:48:57.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T04:21:50.000Z (over 2 years ago)
- Last Synced: 2025-06-09T09:42:30.660Z (12 months ago)
- Language: JavaScript
- Homepage: https://laisee.org
- Size: 4.88 MB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laisee.org
## 🧧Little red envelopes with money in them: ⚡Lightning Laisee.
What is a Laisee?
Laisee are little red envelopes with money. Lightning Laisee contain Bitcoin on the Lightning Network. They can exist in both physical and digital form. You can send a Lightning Laisee to anyone in the world.
## Built with A statically generated blog example using Next.js and Markdown
This example showcases Next.js's [Static Generation](https://nextjs.org/docs/basic-features/pages) feature using Markdown files as the data source.
The blog posts are stored in `/_posts` as Markdown files with front matter support. Adding a new Markdown file in there will create a new blog post.
To create the blog posts we use [`remark`](https://github.com/remarkjs/remark) and [`remark-html`](https://github.com/remarkjs/remark-html) to convert the Markdown files into an HTML string, and then send it down as a prop to the page. The metadata of every post is handled by [`gray-matter`](https://github.com/jonschlinkert/gray-matter) and also sent in props to the page.
## Lightning Addresses
Lightning addresses are dynamically added by external script to `public/.well-known/lnurlp` directory
An example address: `user@laisee.org`
**PLEASE BE AWARE THAT ANY CHANGES TO FILES IN THIS DIRECTORY
COULD ADVERSELY AFFECT TG USER ACCOUNTS,
AS DATA IS NOT SYNCED WITH LNBITS OR POSTGRES**
## Demo
[https://laisee-frontpage.vercel.app/](https://laisee-frontpage.vercel.app/)
## How to run
```
git clone https://github.com/bitkarrot/laisee-frontpage
cd laisee-frontpage
npm i
npm run dev
```
Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
Requires npm 16.10 or higher. npm can be [installed as instructed here](https://www.linode.com/docs/guides/how-to-install-use-node-version-manager-nvm/).
> **Pushing to this repo will auto deploy with Vercel**
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
## Preview
Preview the example live on [StackBlitz](http://stackblitz.com/):
[](https://stackblitz.com/github/bitkarrot/laisee-frontpage)
# Notes
This blog-starter uses [Tailwind CSS](https://tailwindcss.com). To control the generated stylesheet's filesize, this example uses Tailwind CSS' v2.0 [`purge` option](https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css) to remove unused CSS.