Code Monkey home page Code Monkey logo

litecart's Introduction

litecart - shopping-cart in 1 file

CodeFactor

🛒  What is litecart?

Litecart is an open source shopping-cart in 1 file of embedded database (SQLite), convenient dashboard UI and simple site.

⚠️  Current major version is zero (v0.x.x) to accommodate rapid development and fast iteration while getting early feedback from users. Please keep in mind that litecart is still under active development and therefore full backward compatibility is not guaranteed before reaching v1.0.0.

Example

🏆  Features

  • 🚀 Simple and fast one-click installation
  • 💰 Support for popular payment systems
  • 🔑 Support for selling both files and license keys
  • ⚙️ Uses SQLite instead of heavy databases like Mysql, Postgresql, MongoDB
  • ☁️ Lightweight website that can be easily modified
  • 🧞‍♂️Convenient administration panel
  • ⚡️ Works on any hardware, server
  • 🔒 Built-in support for HTTPS

🏁  Installation

MacOS

brew install shurco/tap/litecart

Alternately, you can configure the tap and install the package separately:

$ brew tap shurco/tap
$ brew install litecart

Linux/MacOS/Windows

Download the latest release here

Try using Docker

Want to give litecart a quick spin on your local machine? You can run the following command from your terminal to have litecart up and running right away.

For Docker hub containers:

docker run \
  --name litecart \
  --restart unless-stopped \
  -p '8080:8080' \
  -v ./lc_base:./lc_base \
  -v ./lc_digitals:./lc_digitals \
  -v ./lc_uploads:./lc_uploads \
  shurco/litecart:latest

For Github containers:

docker run \
  --name litecart \
  --restart unless-stopped \
  -p '8080:8080' \
  -v ./lc_base:./lc_base \
  -v ./lc_digitals:./lc_digitals \
  -v ./lc_uploads:./lc_uploads \
  ghcr.io/shurco/litecart:latest

📚  Documentation

🛒 litecart - shopping-cart in 1 file

Usage:
  litecart [command]

Available Commands:
  serve       Starts the web server (default to 0.0.0.0:8080)

Flags:
  -h, --help      help for litecart
  -v, --version   version for litecart

Use "litecart [command] --help" for more information about a command.

Parameters for serve command:

Starts the web server (default to 0.0.0.0:8080)

Usage:
  litecart serve [flags]

Flags:
  -h, --help           help for serve
      --http string    server address (default "0.0.0.0:8080")
      --https string   HTTPS server address (auto TLS)
      --no-site        disable create site

Default run for Linux/MacOS:

./litecart serve

For Windows:

litecart.exe serve

When launched for the first time, necessary folders will be created in the directory with the executable file. The default links for access are:

If you need to run on a different port, use the flag --http:

./litecart serve --http 0.0.0.0:8088

⚠️   Ports <= 1024 are privileged ports. You can't use them unless you're root or have the explicit permission to use them. See this answer for an explanation or wikipedia or something you trust more. Use: sudo setcap 'cap_net_bind_service=+ep' /path_to/litecart

🗺️  Roadmap

  • Product in the form of files
  • Product in the form of license keys
  • Product returned via API to another site (example license keys)
  • Payment Stripe
  • Payment PayPal
  • Payment Square
  • Payment Adyen
  • Payment Checkout
  • Support for payment using crypto
  • Support WebHook

👍  Contribute

If you want to say thank you and/or support the active development of litecart:

  1. Add a GitHub Star to the project.
  2. Tweet about the project on your Twitter.
  3. Write a review or tutorial on Medium, Dev.to or personal blog.
  4. Support the project by donating a cup of coffee.

You can learn more about how you can contribute to this project in the contribution guide.

litecart's People

Contributors

shurco avatar dependabot[bot] avatar github-actions[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.