Giter Club home page Giter Club logo

geometrizebot's Introduction

Geometrizebot logo fulltext

Geometrizebot is written in Swift Telegram bot for geometrizing images. Bot is available at https://t.me/geometrizebot. Experimental very limited version is available also over web. Bot uses Swift Package swift-geometrize for geometrizing images.

Here's how bot is looking at the moment:

Here's image from the screenshot above and one geometrized with 250 rotated ellipses:

Historical moment: bot makes its own logo. A bit of postmodernism.

Here is logo bot made:

How do I run bot?

I run it in Digital Ocean Ubuntu droplet.

In fresh instance install dependencies:

sudo apt-get update
sudo apt-get install clang libicu-dev libatomic1 build-essential pkg-config
sudo apt-get install libssl-dev
# install Swift
wget https://download.swift.org/swift-5.8-release/ubuntu2204/swift-5.8-RELEASE/swift-5.8-RELEASE-ubuntu22.04.tar.gz
tar xzf - < swift-5.8-RELEASE-ubuntu22.04.tar.gz*
sudo mkdir /swift
sudo mv swift-5.8-RELEASE-ubuntu22.04.tar.gz /swift/5.8.0
sudo ln -s /swift/5.8.0/usr/bin/swift /usr/bin/swift
swift --version # checks Swift version installed

Provide telegram API token with export geometrizebot_telegram_api_key="TOKEN".

Then run bot with swift run.

That's it.

Buy Me A Coffee

geometrizebot's People

Contributors

valeriyvan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

geometrizebot's Issues

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.